vector tile service style

480
2
05-20-2020 12:56 PM
MajidHojati
New Contributor

Hi,

I am working with ArcGIS js API to add a vector tile layer to the map. I am using this style code 

{
"version": 8,
"sources": {
"dgg": {
"type": "vector",
"url": "metadata/AVG_MELT_DAYS1"
}
},
"layers": [{
id: "DGGS",
type: "fill",
source: "dgg",
"source-layer": "DGGS",
'paint': {
'fill-color': [
'interpolate',
['linear'],
['get', 'VALUE'],
1,
['to-color', '#fbb03b'],
12,
['to-color', '#3bb2d0']
]
}
}]
}

I am using the same style in Mapbox gl and it renders my data with no problem but in ArcGIS js API it does not render fill-color and only renders a black color. Is there any incomplete support for vector tile styles in Arcgis js API version 4?

0 Kudos
2 Replies
UndralBatsukh
Esri Regular Contributor

Hi there, 

Currently, the expressions (Expressions | Mapbox GL JS | Mapbox ) are not in ArcGIS platform. It will be added but I do not have timeline information. 

-Undral

0 Kudos
MajidHojati
New Contributor

Thanks for the reply. Do all the Arcgis products do not support it? for example does ArcGIS pro supports it? 

0 Kudos