move(offset: PP.Point);
offset. Offset by all axes relative to initial position of the milestone, shows as shares of it maximum possible offset.
The move method moves map layer milestone to specified position.
To execute the example the HTML page must contain an object of the MapContentMilestone class named milestone (see the page with description of the MapContentMilestone.getMilestonePosition method). Move the milestone to the middle of the bottom border of map layer area to which it belongs:
milestone.move(new PP.Point("0.5, 1"));
After executing this script line the milestone is moved to the middle of the bottom border of the RU-KYA map layer area:
See also: