Sprite Based Retina Icons for Leaflet
Switch branches/tags
Nothing to show
Clone or download
almereyda and jieter minor update : README.md (#4)
closes code block markdown markup
Latest commit 750b1f0 Jun 21, 2018
Permalink
Failed to load latest commit information.
dist major update Sep 16, 2014
example major update Sep 16, 2014
src major update Sep 16, 2014
.gitignore gitignore Jan 19, 2013
LICENCE.md licence Mar 13, 2013
README.md minor update : README.md (#4) Jun 20, 2018
index.html major update Sep 16, 2014
package.json major update Sep 16, 2014

README.md

leaflet sprites

use css style sprites, available colors are

  • blue (default)
  • green
  • orange
  • yellow
  • red
  • purple
  • violet

create using L.spriteIcon and use with L.marker e.g.

L.marker([42, -71], {
  icon: L.spriteIcon() //default blue
});

L.marker([42, -71.5], {
  icon: L.spriteIcon('red')
});

to build your own:

npm install
npm run build

should work with browserify