You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.
It's probably possible to avoid endpoint I/O entirely and use @mapbox/makiwich to generate these endpoints on the fly client-side. I think this would be preferable to removing the marker API from Mapbox.js.
Investigating today - it looks like incorporating @mapbox/makiwich as a dependency would break some of our browser backward compatibility because of it's use of template literals.
Another solution might be to migrate the current use of the /marker/ endpoint to a similar request to the modern Static Images.
By default,
L.mapbox.style.marker
points to a deprecated Mapbox API (v4/marker
):mapbox.js/src/marker.js
Lines 23 to 26 in 3ac9871
This integration needs to either be updated to retrieve some other default marker or be removed entirely.
The text was updated successfully, but these errors were encountered: