JMap.Layer.ensureLayersAreVisible
Make sure that all specified layers are visible on the Map. All parent layers of all Layers will also be made visible
An array of JMap layer ids
// show layer ids 5, 6 and 7 (and all parent layers)JMap.Layer.ensureLayersAreVisible([5, 6, 7]) Copy
// show layer ids 5, 6 and 7 (and all parent layers)JMap.Layer.ensureLayersAreVisible([5, 6, 7])
JMap.Layer.ensureLayersAreVisible
Make sure that all specified layers are visible on the Map. All parent layers of all Layers will also be made visible