0.1.0 • Published 7 years ago

vm-leaflet-icons v0.1.0

Weekly downloads
3
License
GPL-3.0
Repository
github
Last release
7 years ago

VM icons for leaflet

NPM version

Usage

import L                  from "leaflet";
import create, { icons }  from "vm-leaflet-icons";

// ...

// create a gray icon
var default = create();

// create a icon for the 'company' category
var company = create({category:'company'});

// create a icon with shadow
var shadowed = create({category: 'event', shadow:true});

// use deafult icons
L.marker([51.5, -0.09], { icon: icons.company }).addTo(map);

// ...
0.1.0

7 years ago

0.0.5

8 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago