@@ -253,7 +253,7 @@ def _handle_leaflet_event(self, _, content, buffers):
253
253
def on_load (self , callback , remove = False ):
254
254
self ._load_callbacks .register_callback (callback , remove = remove )
255
255
256
- def redraw (self ):
256
+ def redraw (self ):
257
257
self .send ({'msg' :'redraw' })
258
258
259
259
class LocalTileLayer (TileLayer ):
@@ -514,7 +514,7 @@ class GeoData(GeoJSON):
514
514
geo_dataframe = Instance ('geopandas.GeoDataFrame' )
515
515
516
516
def __init__ (self , ** kwargs ):
517
- super (GeoJSON , self ).__init__ (** kwargs )
517
+ super (GeoData , self ).__init__ (** kwargs )
518
518
self .data = self ._get_data ()
519
519
520
520
@observe ('geo_dataframe' )
@@ -860,7 +860,7 @@ class Map(DOMWidget, InteractMixin):
860
860
style = InstanceDict (MapStyle ).tag (sync = True , ** widget_serialization )
861
861
default_style = InstanceDict (MapStyle ).tag (sync = True , ** widget_serialization )
862
862
dragging_style = InstanceDict (MapStyle ).tag (sync = True , ** widget_serialization )
863
-
863
+
864
864
zoom_control = Bool (True )
865
865
zoom_control_instance = ZoomControl ()
866
866
@@ -905,10 +905,10 @@ def __init__(self, **kwargs):
905
905
906
906
if self .zoom_control :
907
907
self .add_control (self .zoom_control_instance )
908
-
908
+
909
909
if self .attribution_control :
910
910
self .add_control (self .attribution_control_instance )
911
-
911
+
912
912
@observe ('zoom_control' )
913
913
def observe_zoom_control (self , change ):
914
914
if change ['new' ]:
0 commit comments