Select to view content in your preferred language

ArcGIS Javascript API 2.5D View with VectorTiles

1035
1
Jump to solution
12-18-2018 05:59 PM
by Anonymous User
Not applicable

Greetings everyone, 

I'd really love to use vector tiles in a 2.5D map view. It looks like you are not able to use vector tiles in SceneView. Is there a way to view vector tiles in SceneView or is there another way to load vector tiles into a view to give a sense of perspective? Are vector tiles only for 2D viewing?
Thanks, Tyler 

0 Kudos
1 Solution

Accepted Solutions
UndralBatsukh
Esri Regular Contributor

Hi there, 

Yes you can add and use VectorTileLayer in SceneView as long as the layer meets the following requirements:

1. VectorTileLayer's spatialReference must match the SceneView's spatialReference.

2. VectorTileLayer's tiling scheme has to match ArcGIS online tiling scheme.

3. VectorTileLayer's tile size has to be 512x512.

Here is a simple app that uses VectorTileLayer that meets all requirements mentioned above. 

Hope this helps,

-Undral

View solution in original post

1 Reply
UndralBatsukh
Esri Regular Contributor

Hi there, 

Yes you can add and use VectorTileLayer in SceneView as long as the layer meets the following requirements:

1. VectorTileLayer's spatialReference must match the SceneView's spatialReference.

2. VectorTileLayer's tiling scheme has to match ArcGIS online tiling scheme.

3. VectorTileLayer's tile size has to be 512x512.

Here is a simple app that uses VectorTileLayer that meets all requirements mentioned above. 

Hope this helps,

-Undral