# leaflet-ellipse

> A basic ellipse type for Leaflet, a JS library for interactive maps.

Latest version **0.9.1** (published 2018-01-03) · Apache 2.0 license · 0 weekly downloads

## Install

```sh
npm install leaflet-ellipse
pnpm add leaflet-ellipse
yarn add leaflet-ellipse
bun add leaflet-ellipse
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.9.1 |
| Published | 2018-01-03 |
| First published | 2018-01-03 |
| Weekly downloads | 0 |
| License | Apache 2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 45 |
| Maintainers | nivanka |
| Keywords | gis, map |

## Links

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

## Recent versions

- 0.9.1 (latest) — 2018-01-03

## README

Leaflet.ellipse
===============

A basic ellipse type for [Leaflet](http://leafletjs.com), a JS 
library for interactive maps.  Allows specification of semi-major and
semi-minor axis as well as a tilt degrees from west.

*Supports Leaflet 1.0.0 or newer.*

## Supported browsers

* Internet Explorer 10+
* Google Chrome
* Safari
* Firefox 17+

## Demo

A demo is available on the Github Pages webpage for Leaflet.ellipse [here](http://jdfergason.github.io/Leaflet.Ellipse/).

## Usage

Include the ellipse javasript file:

    <script src="l.ellipse.js"></script>

After instantiating the map create a new ellipse.

    var ellipse = L.ellipse([51.5, -0.09], [500, 100], 90).addTo(map);

## API

*Factory method*

    L.ellipse( <LatLng> latlng, <Radii> radii, <Number> tilt, 
               <Path options> options? )

 * latlng  - The position of the center of the ellipse.
 * radii   - The semi-major and semi-minor axis in meters
 * tilt    - The rotation of the ellipse in degrees from west
 * options - Options dictionary to pass to L.Path

## License

This code is provided under the Apache 2.0 license.

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