dimfeld / svelte-maplibre

Svelte bindings for the MapLibre mapping library
https://svelte-maplibre.vercel.app
MIT License
284 stars 34 forks source link

Draggable markers should support bind:feature #47

Closed dimfeld closed 10 months ago

dimfeld commented 10 months ago

When a marker is draggable, it should be able to update the feature using 2-way binding. This should figure out if it has a Location, a Point, or a Feature<Point>, and create an object of the same type that it was given.