JMap.Layer.isSelectableById
Returns the tree element selectable property.
The selectable 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's features can't be selected on the map by user interaction, or by API calls.
If this property is true, the layer's features can be selected.
The JMap layer id
Error if no layer found for the id or of layer is not a vector layer
// returns false if layer id=3 is not selectableJMap.Layer.isSelectableById(3) Copy
// returns false if layer id=3 is not selectableJMap.Layer.isSelectableById(3)
JMap.Layer.isSelectableById
Returns the tree element selectable property.
The selectable 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's features can't be selected on the map by user interaction, or by API calls.
If this property is true, the layer's features can be selected.