This project has moved and is read-only. For the latest updates, please go here.

How to hide layer

Aug 27, 2015 at 9:55 AM

I found the article,

I try it, but following codes meet error.
Display.HiddenLayers = invisibleLayer.Id;
Because, HiddenLayers is Read Only property.
Could you give a tip how to hide specific layer?

Thank you.
Aug 27, 2015 at 3:49 PM
Please use these methods of the Display component for setting/testing layer visibility:
public void SetLayerVisibility(LayerIds layerIds, bool visible)
public bool IsLayerVisible(LayerIds layerId)