Skip to content
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

Strava overlay has trouble rendering #21427

Open
Guylby opened this issue Nov 24, 2024 · 4 comments
Open

Strava overlay has trouble rendering #21427

Guylby opened this issue Nov 24, 2024 · 4 comments

Comments

@Guylby
Copy link

Guylby commented Nov 24, 2024

Description

Hi,

I've been trying to use a Strava heatmap overlay inside Osmand but the rendering is not smooth at all. Sometimes tiles don't render, sometimes they flicker in and out, some tiles are missing even though they are all downloaded for offline use

What is strange is that another transparent overlay I use for google traffic does not exhibit this behaviour, neither utilising a microsoft earth satellite image overlay.

Steps to reproduce

Add a strava heatmap overlay
The map source settings I used are as follow:

Link:
https://heatmap-external-a.strava.com/tiles-auth/run/bluered/{0}/{1}/{2}.png?Key-Pair-Id={REDACTED}&Policy={REDACTED}&Signature={REDACTED}
You have to have your own KeypairID, Policy and Signature for it to work

Zoom: Min 8 - Max 19
Expiry: 43829mn (1month)
Mercator projection: pseudo-mercator
File format: 1 image file per tile

For the last settings, using sqlite db results in the same behaviour

Actual result

Two examples of tiles not loading, are flickering in and out. All tiles were downloaded offline and stored on the device, so it's not a problem of missing data (especially as you can see them flickering in and out, showing they are indeed present)

Example 1 Example 2
screen-20241120-225102_cut1_comp.mp4
screen-20241120-225102_cut2_comp.mp4

Expected result

Tiles are loaded correctly and don't flicker

Your Environment (required)

WARNING Crash-Logs MAY contain information you deem sensitive.
Review this CAREFULLY before posting your issue!

OsmAnd Version: 4.9.7
Android/iOS version: 13
Device model: Sony Xperia 10 III
Crash-Logs: ?
@pebogufi
Copy link

Could you please be so kind to post the link for google traffic overlay ?
Thanks a lot.

@Guylby
Copy link
Author

Guylby commented Nov 24, 2024

This is the link for the google traffic overlay:
https://mts0.googleapis.com/vt/lyrs=m,traffic&x={1}&y={2}&z={0}&style=15
You still get a little bit of superfluous information like some location and POIs but it's the one that is the cleanest that I found

@pebogufi
Copy link

Thanks a lot !

@yuriiurshuliak
Copy link

I was able to reproduce the issue with the Strava heatmap overlay. Here's what I did:

  1. Set the Overlay map to a custom Strava heatmap using the link: https://t.me/ruosmand/167446.
  2. Kept the map source as an offline vector map.
  3. Set the Overlay visibility slider to maximum.
  4. Scrolled the map and zoomed in and out.

Observed Behavior:

  • Some tiles do not load immediately but appear after a short delay.
  • I did not observe flickering or tiles temporarily disappearing during my testing.

This behavior seems consistent with how online maps load tiles, even when pre-downloaded.

OsmAnd~ 5.0.0#3807m, released: 2024-11-26

video_2024-11-26_16-17-53.mp4
video_2024-11-26_16-18-07.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants