Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.19

Description

Description:Checks whether the specified layer is active (selected for editing).

Syntax

Syntax:map isActiveLayer index
Parameters:
  • map: Control - Map control.
  • index: Number - Index of layer to check (corresponds to the array returned by getLayers).
Return Value:Boolean - If true, then the layer is active.

Examples

Examples:
_active = (_map isActiveLayer 1) 

Additional Information

See also: 
Multiplayer: 
Problems: 

Notes