Skip to content

Commit 58a5018

Browse files
committed
changes Geodata Class
1 parent 4c9d021 commit 58a5018

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ipyleaflet/leaflet.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def _handle_leaflet_event(self, _, content, buffers):
253253
def on_load(self, callback, remove=False):
254254
self._load_callbacks.register_callback(callback, remove=remove)
255255

256-
def redraw(self):
256+
def redraw(self):
257257
self.send({'msg':'redraw'})
258258

259259
class LocalTileLayer(TileLayer):
@@ -514,7 +514,7 @@ class GeoData(GeoJSON):
514514
geo_dataframe = Instance('geopandas.GeoDataFrame')
515515

516516
def __init__(self, **kwargs):
517-
super(GeoJSON, self).__init__(**kwargs)
517+
super(GeoData, self).__init__(**kwargs)
518518
self.data = self._get_data()
519519

520520
@observe('geo_dataframe')
@@ -860,7 +860,7 @@ class Map(DOMWidget, InteractMixin):
860860
style = InstanceDict(MapStyle).tag(sync=True, **widget_serialization)
861861
default_style = InstanceDict(MapStyle).tag(sync=True, **widget_serialization)
862862
dragging_style = InstanceDict(MapStyle).tag(sync=True, **widget_serialization)
863-
863+
864864
zoom_control = Bool(True)
865865
zoom_control_instance = ZoomControl()
866866

@@ -905,10 +905,10 @@ def __init__(self, **kwargs):
905905

906906
if self.zoom_control:
907907
self.add_control(self.zoom_control_instance)
908-
908+
909909
if self.attribution_control:
910910
self.add_control(self.attribution_control_instance)
911-
911+
912912
@observe('zoom_control')
913913
def observe_zoom_control(self, change):
914914
if change['new']:

0 commit comments

Comments
 (0)