Skip to content

Conversation

mangecoeur
Copy link
Contributor

Add "continuous_update" option to GeomanDrawControl which controls whether data is synced to the .data property on every change, coupled with a "sync_data" function that triggers syncing the Geoman edited data back to the traitlet. This allows for explicit data flow control e.g. when syncing edits with database commits.

…ptions to GeoJson constructor to fetch all synced values.
…safely removed without triggering an exception.
# Conflicts:
#	python/ipyleaflet/ipyleaflet/leaflet.py
#	python/jupyter_leaflet/src/controls/GeomanDrawControl.ts
#	python/jupyter_leaflet/src/layers/GeoJSON.ts
#	python/jupyter_leaflet/src/layers/Layer.ts
#	python/jupyter_leaflet/src/layers/Polygon.ts
#	python/jupyter_leaflet/src/layers/Polyline.ts
…ols whether data is synced to the .data property on every change, coupled with a "sync_data" function that triggers syncing the Geoman edited data back to the traitlet. This allows for explicit data flow control e.g. when syncing edits with database commits.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant