Closed jag-eagle-technology closed 3 years ago
@jag-eagle-technology, to be clear, you are reporting the following cases, correct?
Breaks: L.esri.Vector.vectorTileLayer("51ca3ce6a16d4080ad955dacd6dd2fe2").addTo(map);
Works: L.esri.Vector.vectorTileLayer("https://basemaps.arcgis.com/arcgis/rest/services/World_Contours_v2/VectorTileServer").addTo(map);
Yup, now that #71 is resolved
This should be resolved in #91 - after the next release this should be fixed.
The code within the utils.js function loadStyleFromItem, line 59 looks for the source named 'esri', but does not look for any other services (unless error is true). The World Contours service, id 51ca3ce6a16d4080ad955dacd6dd2fe2, only has the source name 'contours', and thus cannot be added as a vector tile layer by id.