/maps-polyline

Easy way to create polylines on your maps :round_pushpin:

Primary LanguageJavaScriptMIT LicenseMIT

Maps Polyline

Create polylines on your map easily.

My map

Usage

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