getVisibleBox()

The function gets the current visible maps area.

Synopsis

void getVisibleBox(float &north, float &south, float &east, float &west)

Parameter

Parameter Description
north Northern edge of the visible maps area.
south Southern edge of the visible maps area.
east Eastern edge of the visible maps area.
west Western edge of the visible maps area.

Description

This function makes it possible to get the currently visible maps area. It returns the edge coordinates of the visible box.

Furthermore, the event visibleBoxChanged is triggered as soon as the visible area changes.

Maps_ewo1.getVisibleBox(north, south, east, west);

Assignment

Maps Widget

See also

-