New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

gmap-polygon

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gmap-polygon

A lightweight Javascript polygon drawing library for Google Maps V3

latest
npmnpm
Version
0.0.1
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

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.

FAQs

Package last updated on 29 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts