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.

/leaflet-div-style-icon/

    Package Sidebar

    Install

    npm i leaflet-div-style-icon

    Weekly Downloads

    4

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • sdimunzio
    • devgateway-admin
    • uniphil