Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Update to new Maki icons #1334

Closed
AnniG opened this issue Sep 10, 2020 · 1 comment
Closed

Update to new Maki icons #1334

AnniG opened this issue Sep 10, 2020 · 1 comment

Comments

@AnniG
Copy link

AnniG commented Sep 10, 2020

I would like to use some maki icons that should be available according to https://labs.mapbox.com/maki-icons. But the answer to my request to https://api.mapbox.com/v4/marker/pin-l-aquarium-park.png?access_token=[myToken] gives me a 'Marker "pin-l-aquarium-park" is invalid.' Same for amusement-park, bowling-alley, castle, fence and probably more.
Is there a chance you could update your API? Thanks for your great work!

@riastrad
Copy link
Contributor

👋 @AnniG, the API you're referring to is a deprecated one that will not be receiving any updates in the future. I would highly advise against relying on it. Over #1315, I briefly explored a few alternative ways to retrieve or generate markers without relying on the old API.

I didn't find a clean solution for Mapbox.js, but depending on your implementation there may be some good starting points there.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants