Title
Page icon
Create new category
Edit page index title
Edit category
Edit link
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
Name | type | description |
|---|---|---|
position | Position of the waypoint | |
label | string | Label to show |
url_icon | string | Url of the image to show. Don't activate this option if you use the key "base64". |
base64 | string | Base64 of the image. Don't activate this option if you use the key "url_icon". |
floor | int | floor where waypoint will be inserted |
Result
Example
removeTemporaryWaypoint
Delete a temporary waypoint
Parameters
Name | type | description |
|---|---|---|
id | int | Id of the temporary waypoint to delete |
Result
No result
Example
moveTemporaryWaypoint
Move a waypoint position
Parameters
Name | type | description |
|---|---|---|
id | int | id of the temporary waypoint to move |
position | New coordinates of the waypoint | |
floor | int | Id floor of the GPS position |
Result
No result
Example
getAllTemporaryWaypoints
Get all temporary waypoints
Parameters
No parameter
Result
Name | type | description |
|---|---|---|
waypoints | All waypoints |
Example
toggleTemporaryWaypoints
Show or hide all temporay waypoints
Parameters
Name | type | description |
|---|---|---|
state | boolean | true or false |
Result
No result
Example
