# @jjwtay/leaflet.ellipse

> Leaflet Rotatable Ellipse

Latest version **2.0.1** (published 2019-11-11) · ISC license · 0 weekly downloads

## Install

```sh
npm install @jjwtay/leaflet.ellipse
pnpm add @jjwtay/leaflet.ellipse
yarn add @jjwtay/leaflet.ellipse
bun add @jjwtay/leaflet.ellipse
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2019-11-11 |
| First published | 2018-12-11 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 160.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Kevin Taylor |
| Maintainers | jjwtay |

## Links

- npm: https://www.npmjs.com/package/@jjwtay/leaflet.ellipse
- Repository: https://github.com/jjwtay/leaflet.ellipse
- Homepage: https://github.com/jjwtay/leaflet.ellipse#readme
- Issues: https://github.com/jjwtay/leaflet.ellipse/issues
- npm.io page: https://npm.io/package/@jjwtay/leaflet.ellipse

## Dependencies (1)

- [the-answer](https://npm.io/package/the-answer.md) ^1.0.0

## Recent versions

- 2.0.1 (latest) — 2019-11-11
- 2.0.0 — 2019-11-11
- 1.0.3 — 2019-06-07
- 1.0.2 — 2018-12-11

## README

# leaflet-ellipse
Leaflet plugin for drawing ellipse. [Demo](https://moebiussolutions.github.io/leaflet-ellipse/)
# Important
Leaflet.draw-ellipse requires 

+ [Leaflet 0.7](https://github.com/Leaflet/Leaflet/releases/tag/v0.7) or higher
+ [Leaflet.draw 0.2.4](https://github.com/Leaflet/Leaflet.draw/releases/tag/v0.2.4) or higher

## How to

*Traditional*

    Include Leaflet.ellipse.js in your html

    <script src='/path/to/leaflet.ellipse></script>

*Webpack as non es6 module*

    import './path/to/leaflet.ellipse'


*ES6 module*

    TODO

## API

*Factory method*

    L.ellipse(
              <LatLng> center,
              [<Number>, <Number>] radii,
              <Number> tilt,
            {  
              <...Leaflet Polyline Options>
            }
    )

    * center - Leaflet latlng (optional - [0,0])
    * radii  - Array [semiMajor,semiMinor] meters (optional - 100)
    * tilt - bearing in degrees (optional - 0)
    * any leaflet polygon options 

## Also Checkout


[leaflet.arc](https://github.com/jjwtay/leaflet.arc) - Leaflet Arc drawing.

[leaflet.draw-arc](https://github.com/jjwtay/leaflet.draw-arc) - Leaflet Draw support for leaflet.arc.

[leaflet.box](https://github.com/jjwtay/leaflet.box) - Leaflet Box(rotatable rectangle) drawing.

[leaflet.draw-box](https://github.com/jjwtay/leaflet.draw-box) - Leaflet Draw support for leaflet.box.

## License

This code is provided under the Apache 2.0 license.

---
_Source: https://npm.io/package/@jjwtay/leaflet.ellipse · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
