Skip to content

Commit

Permalink
Removed unused control (#523)
Browse files Browse the repository at this point in the history
* Remove unused control

* Remove unused draw output control
  • Loading branch information
giswqs committed Aug 27, 2023
1 parent 8091fd2 commit d241792
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions leafmap/leafmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,6 @@ def __init__(self, **kwargs):
self.add(draw_control)
self.draw_control = draw_control

draw_output = widgets.Output()
control = ipyleaflet.WidgetControl(
widget=draw_output, position="bottomright"
)
self.add(control)

def handle_draw(target, action, geo_json):
if "style" in geo_json["properties"]:
del geo_json["properties"]["style"]
Expand Down

0 comments on commit d241792

Please sign in to comment.