MapObject.scale

Syntax

scale(factor: Double);

Parameters

factor. Zoom coefficient.

Description

The scale method zooms an object on the map.

Example

To execute the example HTML page must contain the object of the PP.MapShape type (see page of description of the MapShape.Visual) property named mapShape. Zoom in map layer area view in 1.2 times:

mapShape.scale(1.2);

After executing the example zoom of the map layer area view increased in 1.2 times:

See also:

MapObject