jseppi / Leaflet.MakiMarkers

Leaflet plugin to create map icons using Maki Icons from Mapbox.
MIT License
141 stars 39 forks source link

Looking for data dictionary for Icon Names/styles #10

Closed Tmodurr closed 8 years ago

Tmodurr commented 8 years ago

I must be looking in the wrong place but can someone pass along the centralized location where I can view the actual icon names?

Just looking for the icon options which I can use. var officeIcon = L.MakiMarkers.icon({icon: "rocket", color: "#b0b", size: "m"});

jseppi commented 8 years ago

You can find an array of names in L.MakiMarkers.icons: https://github.com/jseppi/Leaflet.MakiMarkers/blob/master/Leaflet.MakiMarkers.js#L20

This can get out of date, however, so you can also check the official Maki repo: https://github.com/mapbox/maki/tree/master/icons If you notice any that I'm missing in this plugin, please submit an issue (or even better, a PR)!