VectorTileLayer, changing the visibility of my style layers (classes)

1536
1
03-25-2016 10:24 AM
GaëtanLAVENU
Esri Contributor

Hi,

I add a VectorTileLayer to my map and I would like to implement simple behavior where user should be able to display only one class (layer) of this VectorTileLayer style. Is there a way to filter/change the visibility of some layers by code without having to reload some preconfigured json style files. I'm using ArcGIS for JS 4.0 beta 3.

Gaëtan Lavenu

Esri France

Tags (3)
0 Kudos
1 Reply
UndralBatsukh
Esri Regular Contributor

Hi Gaëtan Lavenu,

Currently, this cannot be done via code.

-Undral

0 Kudos