Need private packages and team management tools?Check out npm Teams »

leaflet-div-style-icon

0.1.0 • Public • Published

Styleable Leaflet DivIcons

Divicons for rectangles and circles that can be passed svg-like style rules

Ideally it will be something like:

var icon = L.circleDivIcon({
  color: 'red'
});

where the object passed to the constructor is just like any style hash you give to the leaflet svg layers.

Keywords

Install

npm i leaflet-div-style-icon

DownloadsWeekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • avatar
  • avatar