centerOnPlacemark()
Changes the map view to the stated placemark.
Synopsis
void centerOnPlacemark(string name, float alt = 0.0, bool animated = true)
Parameter
| Parameter | Description |
|---|---|
| name | Name of the placemark |
| alt | Altitude |
| animated | Defines if the change of view should be animated with a scrolling effect. |
Description
The function sets changes the map view to the stated placemark, see addPlacemark().
If the Altitude is stated as 0 no changes to the current altitude are performed.
Assignment
See also