Skip to content

Edit Map

clearAreaMap() -> {void}

Clear area map

Parameters

none

Return Value

none

Example

JavaScript
1
2
3
...
axMap.clearAreaMap();
...

clearFeature() -> {void}

Clear map data

Parameters

none

Return Value

none

Example

JavaScript
1
2
3
...
axMap.clearFeature();
...

deleteFeature(id) -> {void}

deletes the specified feature

Parameters

Name Data Type Description
id string feature identifier

Return Value

none

Example

JavaScript
1
2
3
...
axMap.deleteFeature("<featureId>");
...

editPose(coordinates, properties opt) -> {void}

Set the current point pose

Parameters

Name Data Type Description
coordinates array coordinates [x, y] Unit: meters
properties object optional; custom properties

Return Value

none

Example

JavaScript
1
2
3
...
axMap.editPose([0, 0]);
...

endEditPose() -> {object}

Cancel the current point pose

Parameters

none

Return Value object

Edited pose

Example

JavaScript
1
2
3
...
const post = axMap.endEditPose();
...