You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are multiple ways to change a theme. The easiest might be to update the basemap using [toggleBaseMap].
However, if you are not using Basemaps you are forced to update the style of your VectorTileLayer.
Based on the Platform we might have to do different things:
There are multiple ways to change a theme. The easiest might be to update the basemap using [toggleBaseMap].
However, if you are not using
Basemap
s you are forced to update the style of your VectorTileLayer.Based on the Platform we might have to do different things:
JS:
There is an API to update the style of the current layer. This style can be a url or an object containing the style definition. This is handy when switching styles offline.
https://developers.arcgis.com/javascript/3/jsapi/vectortilelayer-amd.html#setstyle
Android:
Still looking into the possible ways..
iOS:
Still looking into the possible ways..
The text was updated successfully, but these errors were encountered: