jseppi / Leaflet.MakiMarkers

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

Mapbox Maki API only works with old icons, not the new ones #16

Open jseppi opened 7 years ago

jseppi commented 7 years ago

As discovered by @CouchFrancois in https://github.com/mapbox/maki/issues/370, the new Maki icons are not available via the static marker API.

Will need to update documentation/examples/comments in Leaflet.MakiMarkers to let users know about this, and refer them to https://github.com/mapbox/maki/blob/mb-pages/www/maki.json to find which icon names are valid.

tonydspaniard commented 7 years ago

Do you have time for a pr?

jseppi commented 7 years ago

Sure!

tonydspaniard commented 7 years ago

Thanks!

vladim1 commented 7 years ago

I don't see any options to handle this issue before mapbox static API begins support Maki icons > v0.5.0 Do you have any options? Is there a way to use icons without the mapbox API?

jseppi commented 7 years ago

The only option I have is to update this plugin's documentation as I noted in the original post for this issue.

You could setup your own icon server using Makizushi or roll your own system for serving the icons.

ThomasG77 commented 6 years ago

I've made a server based on Makizushi at https://github.com/webgeodatavore/express-simplestyle-spec/