0.0.1 • Published 8 years ago
gmap-polygon v0.0.1
gmap-polygon
A lightweight Javascript polygon drawing library for Google Maps V3
Installation
You can install ESLint using npm:
npm install gmap-polygon
Features
- supports drag & drop
- doesn't support IE8
- No dependencies
Configuration
var gMapPolygon = new GMapPolygon({
map: {}, // google map instance
polygonCallback: (),
markerPlacedCallback: (),
styles: {
line: {},
point: {},
polygonHighlight: {},
polygonMask: {},
handle: {},
handleLine: {}
}
});
gMapPolygon.init(path);
Options
line: PolyLine Options
point: MarkerShape Options
polygonHighlight: Polygon Options
polygonMask: Polygon Options
handle: PolyLine Options
handleLine: PolyLine Options
License
Freely distributable under the terms of the MIT license.
0.0.1
8 years ago