This repository was archived by the owner on Nov 20, 2024. It is now read-only.
Fix Mapbox rester image api url. Add support for hightDPI.#1873
Merged
spyhunter99 merged 2 commits intoosmdroid:masterfrom Mar 31, 2023
Merged
Fix Mapbox rester image api url. Add support for hightDPI.#1873spyhunter99 merged 2 commits intoosmdroid:masterfrom
spyhunter99 merged 2 commits intoosmdroid:masterfrom
Conversation
added 2 commits
December 3, 2022 08:25
According to the MapBox raster images API docs here: https://docs.mapbox.com/api/maps/raster-tiles/ The url for this api has changed to https://api.mapbox.com/v4/{tileset_id}/{zoom}/{x}/{y}{@2x}.{format}
Collaborator
|
no idea why this failed ci. it's probably some testing oddity |
|
Hi, Since this commit, the static tiles won't work. for example "streets-v11", "navigation-day-v1" that used to work. I think there should be 2 APIs: As the current one for Raster: new MapBoxFixRasterAPi("MapBoxStreetsLabelled", MAPBOX_MIN_ZOOM_LEVEL, MAPBOX_MAX_ZOOM_LEVEL, Constants.MAPBOX_TILE_SIZE, ".png"); And for static, same as the previous version. new MapBoxFixRasterStaticAPi("MapBoxStreetsLabelled", MAPBOX_MIN_ZOOM_LEVEL, MAPBOX_MAX_ZOOM_LEVEL, Constants.MAPBOX_TILE_SIZE, ".png"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
According to the MapBox raster images API docs here: https://docs.mapbox.com/api/maps/raster-tiles/
The url for this api has changed to
https://api.mapbox.com/v4/{tileset_id}/{zoom}/{x}/{y}{@2x}.{format}