/Leaflet.draw-sector

Leaflet Draw support for leaflet.sector

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Leaflet.draw-sector

Leaflet Draw support for leaflet.sector inspired by Leaflet.ellipse. Checkout the Demo

Important

Leaflet.draw-sector requires

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.