@tjfantell3113/leaflet.draw-ellipse-edited
v2.1.1
Published
A plugin for leaflet that allows creating editable ellipses as well as other shapes. This package is almost entirely the work of Moebius Solutions and jjwtay.
Downloads
28
Readme
leaflet-draw-ellipse
Leaflet plugin for drawing ellipse
Parts of leaflet-draw-ellipse support for leaflet.ellipse inspired by Leaflet.draw-ellipse. Checkout the Demo
Important
Leaflet.draw-ellipse requires
- Leaflet 0.7 or higher
- Leaflet.draw 0.2.4 or higher
- leaflet.ellipse
How to
Traditional
Include Leaflet.draw.ellipse.js in your html
<script src='/path/to/leaflet.ellipse></script>
<script src='/path/to/Leaflet.draw-ellipse.js'></script>
Webpack as non es6 module
import './path/to/leaflet.ellipse'
import './path/to/Leaflet.draw-ellipse'
ES6 module
TODO
Usage
See Leaflet.draw and leaflet.ellipse.
Checkout
leaflet.arc - Leaflet Arc drawing.
leaflet.draw-arc - Leaflet Draw support for leaflet.arc.
leaflet.box - Leaflet Box(rotatable rectangle) drawing.
leaflet.draw-box - Leaflet Draw support for leaflet.box.
License
This code is provided under the Apache 2.0 license.