addPlacemark()
The function adds a new placemark to the map.
Synopsis
void addPlacemark(string name, float lat, float lon)
void addPlacemark(string name, string coordinate)
Parameter
Parameter | Description |
---|---|
name | Name of the placemark |
lat | Latitude |
lon | Longitude |
coordinate | Latitude and Longitude as string, see coordinate conversion. |
Description
The function adds a new placemark to the map. Please note that the placemarks are only stored for the current user session. After closing the UI the placemarks are removed.
It is recommended to set the placemarks within the Initialize script of the Maps Widget to have them available from the beginning for the current user.
Assignment
See also