leaflet.draw-sector
v1.0.2
Published
Leaflet Draw inspired handlers for leaflet.sector
Downloads
5
Readme
Leaflet.draw-sector
Leaflet Draw support for leaflet.sector inspired by Leaflet.ellipse. Checkout the Demo
Important
Leaflet.draw-sector requires
- Leaflet 0.7 or higher
- Leaflet.draw 0.2.4 or higher
- leaflet.sector
How to
Traditional
Include Leaflet.draw.sector.js in your html
<script src='/path/to/leaflet.sector></script>
<script src='/path/to/Leaflet.draw-sector.js'></script>
Webpack as non es6 module
import './path/to/leaflet.sector'
import './path/to/Leaflet.draw-sector'
ES6 module
TODO
Usage
See Leaflet.draw and leaflet.sector.
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.