tmcw / geojson.net

https://www.placemark.io/
ISC License
150 stars 32 forks source link

Get Leaflet.draw to always add GeoJSON features #23

Closed tmcw closed 6 years ago

tmcw commented 6 years ago

I'm mostly just fixing whatever I stumble upon without making issues because of this stage of development, but anyway, this one's taking a little while:

leaflet-editable, which is lovely in that it lets us support multipolygons, nonetheless has some faults: specifically that it communicates in Leaflet's L.Polygon and L.Marker and so on, rather than L.GeoJSON features. So... latlng (seriously...) and we can't add properties to them. Need to figure out how to make it emit GeoJSON always.

tmcw commented 6 years ago

Honestly, might be better to just use OpenLayers.

tmcw commented 6 years ago

Done, I think, in de1ccf0c3420e46478e157dc41b3ecaa22e745f0