AnsweredAssumed Answered

ESRI JS API 4.2 : Vector tiles on latest Chrome for Android do not display

Question asked by NicolasGIS on Feb 13, 2017
Latest reply on Feb 16, 2017 by NicolasGIS



I just tested publishing vector tiles to AGOL and when testing it on various browsers I found out that my tiles were not displaying on an up to date Chrome for Android 55.0.2883.91.

I thought at the beginning that it could come from my package so I switched to a very basic map with js api 4.2 using ESRI Vector tiles:


map = new Map({
basemap: 'streets-navigation-vector'


It turns out that they do not display as well.

The debugger is full of the following warnings:

"Data type is uint however extension OES_Element_index_unit is not supported therefore this draw call cannot be made."


The browser is up to date and for example Mapbox vector tiles display properly either v8 or v9:


var map = new mapboxgl.Map({
container: 'map',
style: 'mapbox://styles/mapbox/streets-v8'


So finally, I decided to switch to 4.1 ESRI JS API and it worked ! ESRI vector tiles displayed properly. Problem is that my vector tiles are not projected in WGS84 Web Mercator (auxiliary sphere) and it seems that it was not supported at 4.1.


Hopefully it will be fixed in 4.3.


This brings me to a second point : is it planned in ESRI JS API to detect if client support vector tiles ?