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
I was wondering, would it be possible to add an extra option to an image transform to ignore the urldecode? I'm using imager to get some static images from Mapbox with a png marker on.
Mapbox requires the url for those images in the following format:
I was wondering, would it be possible to add an extra option to an image transform to ignore the urldecode? I'm using imager to get some static images from Mapbox with a png marker on.
Mapbox requires the url for those images in the following format:
curl "https://api.mapbox.com/styles/v1/mapbox/streets-v10/static/url-https%3A%2F%2Fmapbox.com%2Fimg%2Frocket.png(-76.9,38.9)/-76.9,38.9,15/1000x1000?access_token=your-access-token"
However, the urldecode in _downloadFile cleans this up and makes it into:
curl "https://api.mapbox.com/styles/v1/mapbox/streets-v10/static/url-https://mapbox.com/img/rocket.png(-76.9,38.9)/-76.9,38.9,15/1000x1000?access_token=your-access-token"
making it unable to find the image. Image caching of those mapbox images would be a big deal.
The text was updated successfully, but these errors were encountered: