Manage temporary waypoint

Temporary waypoint are pins inserted in the current map session but are not saved in server. If you restart the map, all previous temporary waypoints will be removed.

insertTemporaryWaypoint

Create and show a new waypoint on the map

Parameters

Nametypedescription
positionPosition GPSPosition of the waypoint
labelstringLabel to show
url_iconstringUrl of the image to show. Don't activate this option if you use the key "base64".
base64stringBase64 of the image. Don't activate this option if you use the key "url_icon".
floorintfloor where waypoint will be inserted

Result

Example

Javascript
Swift
Java
Copy

removeTemporaryWaypoint

Delete a temporary waypoint

Parameters

Nametypedescription
idintId of the temporary waypoint to delete

Result

No result

Example

Javascript
Swift
Java
Copy

moveTemporaryWaypoint

Move a waypoint position

Parameters

Nametypedescription
idintid of the temporary waypoint to move
positionPosition GPSNew coordinates of the waypoint
floorintId floor of the GPS position

Result

No result

Example

Javascript
Swift
Java
Copy

getAllTemporaryWaypoints

Get all temporary waypoints

Parameters

No parameter

Result

Nametypedescription
waypointsTemporary waypoint[]All waypoints

Example

Javascript
Swift
Java
Copy

toggleTemporaryWaypoints

Show or hide all temporay waypoints

Parameters

Nametypedescription
statebooleantrue or false

Result

No result

Example

Javascript
Swift
Java
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard