centerOnSymbol()
Changes the map view to the stated object.
Synopsis
void centerOnSymbol(string name, float alt = 0.0, bool animated = true)
Parameter
Parameter | Description |
---|---|
name | Name of the object |
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 object, see addSymbol().
If the Altitude is stated as 0 no changes to the current altitude are performed.
Assignment
See also