Leaflet / Leaflet.Editable

Make geometries editable in Leaflet.
http://leaflet.github.io/Leaflet.Editable/doc/api.html
559 stars 197 forks source link

Easy to embed GeoJson editor #173

Open JeroenDeDauw opened 6 years ago

JeroenDeDauw commented 6 years ago

I'd like to have a GeoJson editor in my software that I can give some GeoJson, then allows the user to do whatever and gives me back the GeoJson when a save button is clicked.

I've been looking through the various Leaflet plugins and tried out this one a bit. Sadly I've not been able to find any easy to embed examples of a good editor, and I rather avoid creating my own from low level stuff. Is there no such solution?

The criteria for the editor are that it can add/edit the usual stuff: markers, lines, polygons, etc, and that it can add/edit name and description for display in popups. Layer capabilities and whatnot are nice but not required.

Any pointers would be much appreciated.

JeroenDeDauw commented 6 years ago

No pointers? :(

apaleja commented 6 years ago

@JeroenDeDauw this and many other plugins fulfills basic requirement for editor like:

The criteria for the editor are that it can add/edit the usual stuff: markers, lines, polygons, etc,

for other criteria, you will need to extend plugin add develop based on requirement.

and that it can add/edit name and description for display in popups. Layer capabilities and whatnot are nice but not required.

JeroenDeDauw commented 6 years ago

@apaleja thanks for your reply.

Name and description of GeoJSON elements seem pretty basic-ish to me. I can understand that they are out of scope for a given plugin, though would find it strange if there is no out of the box solution for something so basic.