centerOnBox()

Changes the map view within the stated region borders.

Synopsis

void centerOnBox(float north, float south, float east, float west, bool animated = true)

Parameter

Parameter Description
north North border in degree
south South border in degree
east East border in degree
west West border in degree
animated Defines if the change of view should be animated with a scrolling effect.

Description

The function allows to display a specific area within the map.

Assignment

Maps Widget