Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Vector Tile Styles, #943

Closed
cmndrbensisko opened this issue Mar 28, 2017 · 2 comments
Closed

Support for Vector Tile Styles, #943

cmndrbensisko opened this issue Mar 28, 2017 · 2 comments

Comments

@cmndrbensisko
Copy link

cmndrbensisko commented Mar 28, 2017

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.

@jgravois
Copy link
Contributor

thanks for the report!

can you log this issue in the esri-leaflet-vector repo and include a link to a public ArcGIS Online item which references an alternate style please?

@jgravois
Copy link
Contributor

nm, i ported it myself.
if you can provide more info in Esri/esri-leaflet-vector#29, that would be super helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants