Esri / esri-leaflet-vector

Display ArcGIS Online vector basemaps w/ Esri Leaflet
51 stars 53 forks source link

New Vector Basemaps show all USGS benchmarks at Zoom level 12 #129

Open peanutman0 opened 2 years ago

peanutman0 commented 2 years ago

Describe the bug

The new vector basemaps when used with esri leaflet appear to show all of the USGS Benchmarks at Zoom level 12. This doesn't appear to happen at the other zoom levels.

Reproduction

Replace the map constructor in the example on this page:

https://esri.github.io/esri-leaflet/examples/

with the following line:

var map = L.map('map').setView([29.703, -103.543], 12);

You will see a basemap that looks like this:

image

This doesn't seem to happen when viewing these basemaps through the arcgis.com map viewer:

https://www.arcgis.com/apps/mapviewer/index.html?layers=7dc6cea0b1764a1f9af2e679f642f0f5

Logs

No response

System Info

Leaflet Version 1.7.1
ESRI Leaflet Version 3.0.7
ESRI Leaflet Vector 3.1.1

Additional Information

No response

gavinr commented 2 years ago

Thank you for the report.

Here is the replication case in JSBin: https://jsbin.com/vohojipuki/2/edit?html,output