You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding an ArcGIS Online Item for an alternate style created for an ArcGIS Vector Tile layer to the map, the root.json file of the basic style attached to the tile service is used, instead of alternate styles attached to the ArcGIS Online/Portal item.
Leaflet v.1.0.3
esri Leaflet v.2.0.8 (master)
Steps to reproduce the error:
When adding an ArcGIS Online Item for an alternate style created for an ArcGIS Vector Tile layer to the map, the root.json file of the basic style attached to the tile service is used, instead of alternate styles attached to the ArcGIS Online/Portal item.
The built-in basemap Vector Tiles added using L.esri.Vector.basemap properly fetch their alternate root.json files from "https://www.arcgis.com/sharing/rest/content/items/" + AGOL ID + "/resources/styles/root.json", while layers added using L.esri.Vector.layer will default to the default style of the cache referenced by the alternate style (Typically something like http://tiles.arcgis.com/tiles/XXX/arcgis/rest/services/XXX/VectorTileServer/resources/styles/root.json
Hopefully this is enough info; I can structure a working example if required.
The text was updated successfully, but these errors were encountered: