leaflet-extras / leaflet-providers

An extension to Leaflet that contains configurations for various free tile providers.
https://leaflet-extras.github.io/leaflet-providers/preview/
BSD 2-Clause "Simplified" License
2.16k stars 673 forks source link

USGS basemaps seem to have max zoom of 16, not 20 as defined #570

Open zerocrates opened 4 months ago

zerocrates commented 4 months ago

The USGS National Map basemaps added by #366 work fine, but at least in my experience, they always 404 when going below zoom level 16. Maybe this is a change on their end since they were first added?

brunob commented 4 months ago

Strange, ti confirm it's broken on preview page. But he tileset description from here https://basemap.nationalmap.gov/arcgis/rest/services/USGSTopo/MapServer mention " Levels of Detail: 24 " and it works well here https://www.arcgis.com/home/webmap/viewer.html?featurecollection=https%3A%2F%2Fbasemap.nationalmap.gov%2Farcgis%2Frest%2Fservices%2FUSGSTopo%2FMapServer%3Ff%3Djson%26option%3Dfootprints&supportsProjection=true&supportsJSONP=true

Maybe @sdbowman have clues on this ?

sdbowman commented 4 months ago

I have noticed the same behavior withe the U.S. Geological The National Map layers in Leaflet as well. Not sure what is causing the issue. Steve

[image: Photo]

Steve D. Bowman, Ph.D., P.E., P.G. Geologic Hazards Program Manager O: (801) 537-3304 E: @.***

Utah Department of Natural Resources Utah Geological Survey

geology.utah.gov

The content of this email is confidential and intended for the recipient specified in the message only. It is strictly forbidden to share any part of this message with any third party without the written consent of the sender. If you received this message by mistake, please reply to this message and follow with its deletion so that we can ensure such a mistake does not occur in the future.

On Fri, Jun 28, 2024 at 2:08 AM b_b @.***> wrote:

Strange, ti confirm it's broken on preview page. But he tileset description from here https://basemap.nationalmap.gov/arcgis/rest/services/USGSTopo/MapServer mention " Levels of Detail: 24 " and it works well here https://www.arcgis.com/home/webmap/viewer.html?featurecollection=https%3A%2F%2Fbasemap.nationalmap.gov%2Farcgis%2Frest%2Fservices%2FUSGSTopo%2FMapServer%3Ff%3Djson%26option%3Dfootprints&supportsProjection=true&supportsJSONP=true

Maybe @sdbowman https://github.com/sdbowman have clues on this ?

— Reply to this email directly, view it on GitHub https://github.com/leaflet-extras/leaflet-providers/issues/570#issuecomment-2196370788, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHXU6PLE3QZV2PGPRSANETDZJUKYNAVCNFSM6AAAAABKAITOTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJWGM3TANZYHA . You are receiving this because you were mentioned.Message ID: @.***>