Exposed Methods
In this section, you will find a list of methods that can be accessed and called within your code. The examples provided below demonstrate how to use these methods.
To use the save()
method, you can use the following code:
const response = await document.querySelector("#das-map").save();
The clear()
method does not require any parameters either. To use it, simply call the method as follows:
document.querySelector("#das-map").clear();
Method | Description | Parameters | Return Value |
---|---|---|---|
save() | Saves the user-selected (highlighted) cadastres on the map. | none | Promise<SaveEventDetail> |
clear() | Remove all the user-selected (highlighted) cadastres on the map. The aggregations for the total number of selected
cadastres and the total area will be set back to | none | void |