@@ -89,7 +89,7 @@ class Layer(Widget, InteractMixin):
89
89
popup_max_width = Int (300 ).tag (sync = True )
90
90
popup_max_height = Int (default_value = None , allow_none = True ).tag (sync = True )
91
91
92
- options = List (trait = Unicode ).tag (sync = True )
92
+ options = List (trait = Unicode () ).tag (sync = True )
93
93
94
94
def __init__ (self , ** kwargs ):
95
95
super (Layer , self ).__init__ (** kwargs )
@@ -312,7 +312,7 @@ class Velocity(Layer):
312
312
longitude_dimension = Unicode ('longitude' , help = 'Name of the longitude dimension in the dataset' )
313
313
units = Unicode (None , allow_none = True )
314
314
315
- data = Dataset ().tag (sync = True , to_json = ds_x_to_json )
315
+ data = Dataset ().tag (dtype = None , sync = True , to_json = ds_x_to_json )
316
316
317
317
# Options
318
318
display_values = Bool (True ).tag (sync = True , o = True )
@@ -431,7 +431,7 @@ class MarkerCluster(Layer):
431
431
_view_name = Unicode ('LeafletMarkerClusterView' ).tag (sync = True )
432
432
_model_name = Unicode ('LeafletMarkerClusterModel' ).tag (sync = True )
433
433
434
- markers = Tuple (trait = Instance (Marker )). tag ( sync = True , ** widget_serialization )
434
+ markers = Tuple (). tag ( trait = Instance (Marker ), sync = True , ** widget_serialization )
435
435
436
436
437
437
class LayerGroup (Layer ):
@@ -584,7 +584,7 @@ class Control(Widget):
584
584
_view_module_version = Unicode (EXTENSION_VERSION ).tag (sync = True )
585
585
_model_module_version = Unicode (EXTENSION_VERSION ).tag (sync = True )
586
586
587
- options = List (trait = Unicode ).tag (sync = True )
587
+ options = List (trait = Unicode () ).tag (sync = True )
588
588
589
589
position = Enum (
590
590
['topright' , 'topleft' , 'bottomright' , 'bottomleft' ],
@@ -855,7 +855,7 @@ class Map(DOMWidget, InteractMixin):
855
855
# marker_zoom_animation = Bool(?).tag(sync=True, o=True)
856
856
fullscreen = Bool (False ).tag (sync = True , o = True )
857
857
858
- options = List (trait = Unicode ).tag (sync = True )
858
+ options = List (trait = Unicode () ).tag (sync = True )
859
859
860
860
style = InstanceDict (MapStyle ).tag (sync = True , ** widget_serialization )
861
861
default_style = InstanceDict (MapStyle ).tag (sync = True , ** widget_serialization )
0 commit comments