https://github.com/alisonmonteiro/maps-polyline
Easy way to create polylines on your maps :round_pushpin:
https://github.com/alisonmonteiro/maps-polyline
javascript maps polyline
Last synced: over 1 year ago
JSON representation
Easy way to create polylines on your maps :round_pushpin:
- Host: GitHub
- URL: https://github.com/alisonmonteiro/maps-polyline
- Owner: alisonmonteiro
- License: mit
- Created: 2016-08-13T03:56:28.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-06-14T02:31:34.000Z (about 9 years ago)
- Last Synced: 2025-01-29T13:26:11.146Z (over 1 year ago)
- Topics: javascript, maps, polyline
- Language: JavaScript
- Homepage: https://maps-polyline.now.sh/
- Size: 182 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Maps Polyline
> Create polylines on your map easily.

### Usage
```javascript
const polyline = require('maps-polyline');
const element = document.getElementById('map');
const map = new google.maps.Map(element, options); // your map with it's config
const data = {}; // you can use a JSON or an Object
polyline(map, data);
```
See a [JSON Example](https://github.com/alisonmonteiro/maps-polyline/blob/master/maps-example.json)