Select to view content in your preferred language

how to add sample vector tile layer to web map

2004
2
12-01-2016 04:10 PM
ShannonDeArmond
Regular Contributor

Can anybody point me to some instructions on how to add one of the ESRI sample vector tile layers into a web map I've already built in Portal for ArcGIS?

Tags (1)
0 Kudos
2 Replies
ThomasEdghill
Esri Community Moderator

Using the "Add layers from web" workflow, you should be able to enter the URL for the corresponding Vector Tile Layer into your web map in Portal for ArcGIS, and load the layer.

To find which URL to use for the vector tile layer:

  1. View the "details" page for the vector tile layer you wish to display
  2. Scroll near the bottom-right corner of the page and locate the "URL" section which contains the URL to the vector tile layer
  3. Click the copy button to save the URL to your clipboard, alternatively, highlight the entirety of the URL and use the copy command to save the URL to your clipboard
  4. Use this URL as an "ArcGIS Server Web Service" when completing the "Add layers from web" workflow in the link provided. 

I hope this helps!

0 Kudos
ShannonDeArmond
Regular Contributor

Thank you for the reply Thomas, and yes, that does seem to be the right way to do it, but the urls provided for the sample vector tile layers are pretty generic. For example, the modern antique sample url is listed as:

https://basemaps.arcgis.com/v1/arcgis/rest/services/World_Basemap/VectorTileServer 

(I think that's the base data and doesn't include the styling laid on top of it?)

If you attempt to add that url to a Portal web map as you described above you get the following error message:

The layer is not a supported type and can not be added to the map.

After to talking to some folks at ESRI, I was told that this functionality is not yet supported for Portal for ArcGIS yet.

0 Kudos