Esri / esri-leaflet-vector

Display ArcGIS Online vector basemaps w/ Esri Leaflet
Apache License 2.0
56 stars 57 forks source link

ESRI Vector tile not found #53

Closed pluservice closed 3 years ago

pluservice commented 5 years ago

At zoom level >12

get https://basemaps.arcgis.com/arcgis/rest/services/World_Basemap_v2/VectorTileServer/tile/12/1495/2202.pbf {"error":{"code":404,"message":"The requested URL was not found.","details":[]}}

https://codepen.io/anpasq/pen/WWBQYP

image

jgravois commented 5 years ago

this is a particularly bad example of the third disclaimer in the README.

404s will be encountered when zooming in past zoom level 15 in areas without much feature density.

one option you might consider is reverting to v1.x, where we still bundled mapbox-gl-js internally, and we used a stale fork that included Esri's indexed implementation that resamples missing tiles.

pluservice commented 5 years ago

By the way in this case the problem occurs with a zoom level of 13. With this limitations, unfortunately the plugin is unusable.

jwasilgeo commented 3 years ago

Hi @pluservice, we just refreshed the docs pages and changelogs to reflect what's new at esri-leaflet and esri-leaflet-vector v3. I'll close this with the hope that it won't be an issue anymore with the latest library versions, but do let us know if there are still problems for you.

Live examples and API docs:

Related repo changelogs:

And check out the ArcGIS for Developers pages focusing on esri-leaflet: