Description
A getter for ctrlMapSetPosition. Returns map position in format [x, y, w, h]. If map is inside a Controls Group, the x and y position is relative to the Controls Group top left corner.
Syntax
ctrlMapPosition map
Parameters:
map: Control - Map control
Returns: Array with [x, y, w, h]
- x: Number - position in x
- y: Number - position in y
- w: Number - width of the map control
- h: Number - height of the map control
Examples
Example 1
ctrlMapPosition _map;