Skip to content
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
xyz-relativity:master
Mar 31, 2023
Merged

Fix Mapbox rester image api url. Add support for hightDPI.#1873
spyhunter99 merged 2 commits intoosmdroid:masterfrom
xyz-relativity:master

Conversation

@xyz32
Copy link
Copy Markdown
Contributor

@xyz32 xyz32 commented Dec 3, 2022

@spyhunter99
Copy link
Copy Markdown
Collaborator

no idea why this failed ci. it's probably some testing oddity

@spyhunter99 spyhunter99 merged commit 5cdc4e2 into osmdroid:master Mar 31, 2023
@spyhunter99 spyhunter99 added this to the 6.1.16 milestone Mar 31, 2023
@tvaknin
Copy link
Copy Markdown

tvaknin commented Jul 22, 2023

Hi,

Since this commit, the static tiles won't work. for example "streets-v11", "navigation-day-v1" that used to work.
What is the alternative method for static tiles? currently, I'm using the version before this commit and it works.

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");

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants