jseppi / Leaflet.MakiMarkers

Leaflet plugin to create map icons using Maki Icons from Mapbox.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Any chance of an update?

humblecoder opened this issue · comments

Any chance of an update? As of this post, Leaflet is on 1.4.0 and doesn't seem to properly load/initialize with this plugin.

Hey @humblecoder - are you seeing an error of some sort?

I've updated the example index.html (see 0e7e043) to use Leaflet 1.4.0 and changed the example basemap to one offered by carto.com since the previous MapQuest service is now gone.

Everything looks like it still works to me, and I didn't have to make any changes to Leaflet.MakiMarkers.js.

@jseppi Thanks. I'm using VueJS and including the plugin via imports which should have been just fine. I was getting errors of L being undefined. I shuffled the code a bit and all is well. Now, however, I'm having an issue with some of the icons. Apparently not all in the list are valid. Any links to updated icon names?

I think the marker names given by https://github.com/mapbox/maki/blob/v0.5.0/_includes/maki.json should all be valid.

Thanks, those seem to work!