@@ -89,7 +89,7 @@ class Layer(Widget, InteractMixin):
8989 popup_max_width = Int (300 ).tag (sync = True )
9090 popup_max_height = Int (default_value = None , allow_none = True ).tag (sync = True )
9191
92- options = List (trait = Unicode ).tag (sync = True )
92+ options = List (trait = Unicode () ).tag (sync = True )
9393
9494 def __init__ (self , ** kwargs ):
9595 super (Layer , self ).__init__ (** kwargs )
@@ -312,7 +312,7 @@ class Velocity(Layer):
312312 longitude_dimension = Unicode ('longitude' , help = 'Name of the longitude dimension in the dataset' )
313313 units = Unicode (None , allow_none = True )
314314
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 )
316316
317317 # Options
318318 display_values = Bool (True ).tag (sync = True , o = True )
@@ -431,7 +431,7 @@ class MarkerCluster(Layer):
431431 _view_name = Unicode ('LeafletMarkerClusterView' ).tag (sync = True )
432432 _model_name = Unicode ('LeafletMarkerClusterModel' ).tag (sync = True )
433433
434- markers = Tuple (trait = Instance (Marker )). tag ( sync = True , ** widget_serialization )
434+ markers = Tuple (). tag ( trait = Instance (Marker ), sync = True , ** widget_serialization )
435435
436436
437437class LayerGroup (Layer ):
@@ -584,7 +584,7 @@ class Control(Widget):
584584 _view_module_version = Unicode (EXTENSION_VERSION ).tag (sync = True )
585585 _model_module_version = Unicode (EXTENSION_VERSION ).tag (sync = True )
586586
587- options = List (trait = Unicode ).tag (sync = True )
587+ options = List (trait = Unicode () ).tag (sync = True )
588588
589589 position = Enum (
590590 ['topright' , 'topleft' , 'bottomright' , 'bottomleft' ],
@@ -855,7 +855,7 @@ class Map(DOMWidget, InteractMixin):
855855 # marker_zoom_animation = Bool(?).tag(sync=True, o=True)
856856 fullscreen = Bool (False ).tag (sync = True , o = True )
857857
858- options = List (trait = Unicode ).tag (sync = True )
858+ options = List (trait = Unicode () ).tag (sync = True )
859859
860860 style = InstanceDict (MapStyle ).tag (sync = True , ** widget_serialization )
861861 default_style = InstanceDict (MapStyle ).tag (sync = True , ** widget_serialization )
0 commit comments