-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to get custom TMS map background (Strava heatmap) to work #7070
Comments
@kylebarron Hmm this is a weird problem that appears to have something to do with offsets. This is the heatmap at Strava's site: And as a custom layer in iD at the same zoom level and approximately the same position: It's fetching and displaying the tiles at the wrong zoom level. I think #6198 could address this. I'm not sure how tools like JOSM account for this automatically. |
Some tiled sources use 512px tiles - maybe it just needs a workaround this? (This update-imagery script checks the things we get from editor-layer-index and makes a few adjustments). Lines 96 to 102 in 7a55769
(Though I guess the 512px tile size doesn't work in custom imagery, which is what this issue is about..) |
Oh okay it's definitely this. I tried hardcoding the tile size to 512 and the layer displayed correctly. Seems like we might need some UI to set the size. |
Awesome, thanks! How long does it usually take for updates to make it to production? |
@kylebarron We usually do a release per month or so. We're due for one, so maybe this week or next! |
After seeing that OSM is allowed to trace from Strava Heatmap data, I've been trying to set up those tiles as a custom layer in iD. The URL works when setting
{z}/{x}/{y}
, but nothing is displayed with{z}/{x}/{-y}
or{z}/{x}/{ty}
.Example:
Set to
{z}/{x}/{y}
:Bing map:
Set to
{z}/{x}/{-y}
or{z}/{x}/{ty}
:To reproduce:
To use the high-res authenticated heatmap tiles, I'm following these instructions.
with OAuth values of mine pasted in that I found from my logged-in Strava cookies.
The same URL works in JOSM set to TMS style.
The text was updated successfully, but these errors were encountered: