You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just trying to understand how the relationship works between the Map and DrawControl. Our use case allows for users to create/edit/delete polygons by using the DrawControl tool. Each polygon gets a new ipywidgets.Tab (for adding attribute data) in an ipywidgets.VBox below the map.
What I'd like to do is also allow for creating/editing/deleting those polygons from the VBox (each Tab gets a "Delete" button, for example). Or I would like to programmatically add a polygon to the DrawControl when the user adds clicks something like a "Add Polygon" button.
Where I'm running into problems is that I can create/edit/delete the GeoJSON in the DrawControl.data list, but the map never changes. Am I missing a refresh option for either the Map or the DrawControl widget?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hi there!
Just trying to understand how the relationship works between the
Map
andDrawControl
. Our use case allows for users to create/edit/delete polygons by using theDrawControl
tool. Each polygon gets a newipywidgets.Tab
(for adding attribute data) in anipywidgets.VBox
below the map.What I'd like to do is also allow for creating/editing/deleting those polygons from the
VBox
(eachTab
gets a "Delete" button, for example). Or I would like to programmatically add a polygon to theDrawControl
when the user adds clicks something like a "Add Polygon" button.Where I'm running into problems is that I can create/edit/delete the GeoJSON in the
DrawControl.data
list, but the map never changes. Am I missing arefresh
option for either theMap
or theDrawControl
widget?Thanks in advance!
The text was updated successfully, but these errors were encountered: