MapContentMilestone.getScreen2DCoord

Syntax

getScreen2DCoord(pos: PP.Point);

Parameters

pos. Point coordinates relative to map topobase.

Description

The getScreen2DCoord method returns screen coordinates of a point by its coordinates relative to 2D map topobase.

Comments

The method returns a JSON object with the fields x and y: these are screen coordinates of the point by horizontal and vertical axis respectively.

Example

The example of use is given in the page with description of the MapContentMilestone.getMilestonePosition method.

See also:

MapContentMilestone