"visibleBoxChanged"
The event is triggered as soon as the visible maps area changes.
Synopsis
visibleBoxChanged(float north, float south, float east, float
west);
Parameters
| Parameter | Description |
|---|---|
| north | Northern edge coordinate of the visible area. |
| south | Southern edge coordinate of the visible area. |
| east | Eastern edge coordinate of the visible area. |
| west | Western edge coordinate of the visible area. |
Details
The event is triggered as soon as the visible maps area changes. It provides the new coordinates on the edge of the visible area, like getVisibleBox(). The event is triggered multiple times while moving the map so that the correct coordinates are returned at every time.
visibleBoxChanged(float north, float south, float east, float west)
{
DebugTN("visible box was moved to: ", north, south, east, west);
}
