I am creating a web application on maps, using open source maps. I have to create a polygon overlay which can be dragged anywhere on the map. I checked Leaflet API for this but I couldn't find any. Any help is appreciated. thanks.

有帮助吗?

解决方案

I'm doing the same thing. But having some problems while draging. Look into the wrapper L.Draggable in the source, this is used for dragging any element in leaflet

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top