Answer the question
In order to leave comments, you need to log in
How can I get GeoJSON data while drawing geometry in Leaflet Draw?
Good afternoon, there is a task when displaying a map using Leaflet - to allow the user to create a certain geometry on it, for example, a polygon or a line.
But therefore, this geometry must be obtained in the form of GeoJSON data in order to save it to the database, for subsequent display on another map.
The question is how to get the resulting GeoJSON as we add features to the map?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question