JMap.Layer.ensureLayerIsVisible
Make sure a layer is visible on the Map. All parent layers will also be made visible
The JMap layer id
// show layer id=5 (and all parent layers)JMap.Layer.ensureLayerIsVisible(5) Copy
// show layer id=5 (and all parent layers)JMap.Layer.ensureLayerIsVisible(5)
JMap.Layer.ensureLayerIsVisible
Make sure a layer is visible on the Map. All parent layers will also be made visible