Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why do you allow users to draw circles when they aren't actually a proper GeoJSON geometry. It's just a Point geometry with a custom (unit-less) radius property.


The basis for the editor is my open source drawing plugin for leaflet - Leaflet-Geoman. It supports circles because Leaflet supports circles. GeoJSON is just a format to export Leaflet-Layers - so we made Circles work even though it's custom.

You're definitely right about the unit-less part. Something I should be fixing.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: