MapShape.getCenter

Syntax

getCenter();

Description

The getCenter method returns central point of map layer area.

Comments

If map topobase is 3D, the method returns a value of the PP.Vector3 type. If 2D, a value of the PP.Point type.

Example

The example of use is given on the page with description of the PP.MapBubble class constructor.

See also:

MapShape