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

draw-maps

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

draw-maps

Drawable maps using svgs instead of image maps

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

draw-maps

Drawable maps using svgs instead of image maps

Installation

Bower: bower install draw-maps --save

npm: npm install draw-maps

Example

The drawMaps() constructor accepts two arguments: the item selector and an options object.

drawMaps('.drawMap', {
    // options
});

Options

OptionTypeDefault ValueDescription
wrapImagesbooltrueWhether target should be wrapped
svgClassstring"drawMaps-map"Class attached to created svgs
regretKeystring"metaKey"Extended click functionality
closeKeystring"shiftKey"Extended click functionality
resetKeystring"altKey"Extended click functionality
fillColorstring"rgba(255, 0, 0, 0.3)"Path fill color
strokeColorstring"rgba(255, 0, 0, 0.5)"Path stroke color
strokeWidthnumber1Path stroke width

Keywords

draw

FAQs

Package last updated on 10 Mar 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