zoom()

The function is used to zoom in or out of the map.

Synopsis

void zoom(int steps)

Parameter

Parameter Description
steps

Specifies the number of zoom steps to be performed.

Positive values are used to zoom in and negative values to zoom out.

Description

This function is used to zoom in and out of the current visible map area. It can be used to build a custom navigation menu for the Maps EWO. The zoom factor per step is defined by zoomStep.

Maps_ewo1.zoom(2);

Assignment

Maps Widget

See also

pan()