Adding a vector tile layer
- Open the GIS configuration for your Rest Services site in the Configuration Editor.
- Under the node, browse to the maplet to which you're adding the layer.
- Add a child node under the node.
- Add these attributes to the new node:
-
basemap
-
Specify True.
-
id
-
Specify the ID for the layer.
-
text
-
Specify the display text for the layer.
-
type
-
Specify app/layer-factory/ags-vector-tiles.
-
url
-
Specify the URL of the map service that provides the layer. Examples:
https://basemaps.arcgis.com/arcgis/rest/services/World_Basemap_v2/VectorTileServer
https://basemaps.arcgis.com/arcgis/rest/services/OpenStreetMap_v2/VectorTileServer
- Add these options to the node:
-
layerType
-
Specify vectortiles.
- Save your changes.