Closed LondonJammo closed 3 years ago
👋 thanks for flagging this @LondonJammo! Sounds like https://github.com/mapbox/makiwich which those endpoints depend on need updating to the latest version of Maki.
... and that v4
endpoint happens to be legacy (see https://docs.mapbox.com/api/legacy/maps/#retrieve-a-standalone-marker) closing as not actionable.
I can load any icons with a single word as its name, however no icons with hyphens seem to load at all. I am using the following list of icons, however it may be out of date?
https://raw.githubusercontent.com/mapbox/maki/master/layouts/all.json https://labs.mapbox.com/maki-icons/
These examples work:
These are a couple that do not work, however all hyphenated ones I cannot seem to load correctly:
The error I get is "Invalid Icon" from the API:
{"message":"Marker \"pin-m-blood-bank+f0f\" is invalid."}
Thanks