Select to view content in your preferred language

ArcGISVectorTiledLayer and maptiler(tileserver-gl)

695
0
07-16-2021 07:27 AM
sanch0s
Emerging Contributor

Hello,

JS VectorTileLayer 
https://developers.arcgis.com/javascript/latest/add-a-vector-tile-layer/

works with tileserver-gl server with default style /styles/basic-preview/style.json

But ArcGISVectorTiledLayer (WPF, .NetCore) works only with ArcGIS services.
https://jsapi.maps.arcgis.com/sharing/rest/content/items/75f4dfdff19e445395653121a95a85db/resources/...
When I use ArcGISVectorTiledLayer with tileserver-gl I see blank map in my app and 404 errors in tileserver-gl logs:
GET /data/v3/9/5932/3423.pbf 404 13 - 0.262 ms
GET /data/v3/9/5930/3423.pbf 404 13 - 0.159 ms
GET /data/v3/9/5933/3422.pbf 404 13 - 0.139 ms
....

What do I need to use to work with tileserver-gl vector tiles?

0 Kudos
0 Replies