MapSemanticActions

TomTomMap Composable specific semantic actions.

A collection of custom semantics actions designed to enhance the accessibility and testability of the map.

These actions allow interaction with the map in UI tests and provide additional accessibility support.

See Semantics in Compose for more information.

See also

Properties

Link copied to clipboard
val AddSceneReadyListener: SemanticsPropertyKey<AccessibilityAction<() -> Boolean>>

A key for the custom accessibility action to add a SceneReadyListener that indicates when the scene is ready.

Link copied to clipboard
val GetGeoPointForScreenOffset: SemanticsPropertyKey<AccessibilityAction<(Offset, CompletableDeferred<GeoPoint?>) -> Boolean>>

Custom semantics property key to retrieve geographical coordinates for a given Offset.

Link copied to clipboard
val GetLayers: SemanticsPropertyKey<AccessibilityAction<(MutableList<Layer>) -> Boolean>>

Semantic action to obtain Layers of the map.

Link copied to clipboard
val GetRenderedFeaturesForGeoBounds: SemanticsPropertyKey<AccessibilityAction<(GeoBoundingBox, RenderedFeatureQueryOptions, CompletableDeferred<List<RenderedFeature>>) -> Boolean>>

Semantic action to obtain RenderedFeatures of a given GeoBoundingBox controlled by RenderedFeatureQueryOptions.

Link copied to clipboard
val GetRenderedFeaturesForGeoPoint: SemanticsPropertyKey<AccessibilityAction<(GeoPoint, RenderedFeatureQueryOptions, CompletableDeferred<List<RenderedFeature>>) -> Boolean>>

Semantic action to obtain RenderedFeatures of a given GeoPoint controlled by RenderedFeatureQueryOptions.

Link copied to clipboard
val GetScreenOffsetForGeoPoint: SemanticsPropertyKey<AccessibilityAction<(GeoPoint, CompletableDeferred<Offset?>) -> Boolean>>

Custom semantics property key to retrieve the screen offset for a given GeoPoint.