Leaflet.Editable.Drag
Feature dragging functionality for Leaflet.Ediatble
Usage
- Include:
;;;
or
<!-- packed together with L.Path.Drag -->
Beware of the versions: Rectangle editing and drawing support is only on gh-pages
branch of Leaflet.Editable
- Ensure your features are draggable:
// this will be passed to the constructormapeditTools;
Contributing
leaflet-0.7
branch is for the older version of leaflet
and leaflet-editable
git clone https://github.com/w8r/Leaflet.Editable.Drag.gitcd Leaflet.Editable.Dragnpm inpm start...npm run build
Thanks
Thanks to @yohanboniface for the wonderful and configurable Leaflet.Editable
.
License
Leaflet.Editable.Drag
is released under the WTFPL licence.