Skip to main content

Exposed Methods

The web component exposes methods that can be accessed and called within your code. The examples provided below demonstrate how to use these methods.

To use the selectFeature() method, you can use the following code:

document.querySelector("#das-report-map").selectFeature("feature-id");
MethodDescriptionParametersReturn Value
selectFeature(featureId: string)

Selects the feature matching the given featureId on the report map.

Same behaviour as clicking the feature on the map.

featureId: stringvoid