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

Overzoom for satellite images #180

Open
deevroman opened this issue Feb 16, 2025 · 2 comments
Open

Overzoom for satellite images #180

deevroman opened this issue Feb 16, 2025 · 2 comments

Comments

@deevroman
Copy link
Owner

No description provided.

@mnalis
Copy link

mnalis commented Feb 17, 2025

I think this is the issue I'm having with satellite view; when I zoom too much (in Croatia) in I get fake tiles with "Map data not yet available" instead.

e.g. tiles like this:
https://server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/19/192042/286914

The solution might be as easy as adding ?blankTile=false to the end of that arcgisonline URL (See e.g. Helium314/SCEE#724)

e.g.
https://server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/19/192042/286914?blankTile=false
(that will return 404 error instead of fake tile, which is usually detected and used to support overzoom)

@deevroman
Copy link
Owner Author

deevroman commented Feb 17, 2025

Unfortunately, everything is more complicated due to Leaflet and script features. Simple addition ?blankTile=false doesn't work, because Leaflet will just show an empty tile. I can't just limit the maxZoom, because it's different in different places on the planet. + ESRI is not a new layer, but a dirty hack with replacing the src of OSMF tiles.

I'm still experimenting with maxNativeZoom and disabling 404 tile handlers, but so far it's all very unstable. In the good news, in the new version of script, the satellite layer will work in Chrome.

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

2 participants