https://github.com/ekylibre/leaflet.geographicutil
Leaflet helpers to provide calculations
https://github.com/ekylibre/leaflet.geographicutil
Last synced: about 2 months ago
JSON representation
Leaflet helpers to provide calculations
- Host: GitHub
- URL: https://github.com/ekylibre/leaflet.geographicutil
- Owner: ekylibre
- Created: 2018-06-18T09:26:41.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-03T09:01:40.000Z (almost 7 years ago)
- Last Synced: 2025-01-28T01:46:39.812Z (4 months ago)
- Language: JavaScript
- Size: 87.9 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Leaflet.GeographicUtil
This plugin provides a Leaflet helper to implement GeographicLib calculations
## Usage
```
L.GeographicUtil,Polygon(points, polyline = false)
```## Installation
Via NPM: ```npm install leaflet-geographicutil```Include ```dist/leaflet.geographicutil.js``` on your page.
Or, if using via CommonJS (Browerify, Webpack, etc.):
```
var L = require('leaflet')
require('leaflet-geographicutil')
```
## Development
This plugin is powered by webpack:* Use ```npm run watch``` to automatically rebuild while developing.
* Use ```npm test``` to run unit tests.
* Use ```npm run build``` to minify for production use, in the ```dist/```