Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inserting existing geoJSON Data #3

Open
ghost opened this issue Jun 20, 2017 · 4 comments
Open

Inserting existing geoJSON Data #3

ghost opened this issue Jun 20, 2017 · 4 comments

Comments

@ghost
Copy link

ghost commented Jun 20, 2017

I would love to use the ember-leaflet-draw addon to edit existing geoJSON-Data.
However, I have no Idea how to insert the existing Data. Any chance to get an example?

@StevenHeinrich
Copy link
Owner

This is not currently supported, though I would love to see this feature added. I am hoping to have some time in the next week or two to look into it. At this point, I am not sure what it would involve. I would welcome any assistance with this and will track my findings/progress here.

@sholsapp
Copy link

+1 this is pretty rad, and the demo makes me want to visit Chesapeake Bay area now. In the same vein as this request, can we export shapes drawn on the leaflet map as goejson? I scanned through the README and didn't see any notes.

@brlodi
Copy link
Contributor

brlodi commented Jun 27, 2017

@sholsapp not really related, but you can call toGeoJSON() on any Leaflet Layer or LayerGroup, including the drawing layer, as long as you have a reference to it (just cache it, e.g. from the draw event or on creation).

@Techn1x
Copy link

Techn1x commented Jan 15, 2018

Made a PR for this #9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants