The JMap layer id
Optional
checkParentVisibility: booleanIf true will check if all parent elements have the property visible equals to true
Error if no layer found for the id
// returns false if layer id=3 is not set as visible
JMap.Layer.isVisible(3)
JMap.Layer.isVisible
Returns the tree element visibility property.
The visibility property is initialy defined on the project, and can be changed by the user through the JMap Cloud NG Core library.
If this property is false, the layer cannot be displayed on the map.
If it's true, the layer can be rendered on the map. The layer is rendered depending on the current map scale of the map, and the min / max scale defined for this layer.