JMap.Layer.getLayerIds
Returns an array with JMap layer ids.
The array order is the same as the one in the tree.
If no project is loaded, returns en empty array.
This function is equivalent to :
JMap.Layer.getLayers().map(layer => layer.id) Copy
JMap.Layer.getLayers().map(layer => layer.id)
// returns all JMap layer idsJMap.Layer.getLayerIds() Copy
// returns all JMap layer idsJMap.Layer.getLayerIds()
JMap.Layer.getLayerIds
Returns an array with JMap layer ids.
The array order is the same as the one in the tree.
If no project is loaded, returns en empty array.
This function is equivalent to :