GetLayers

Semantic action to obtain Layers of the map.

It can be used in Compose UI tests to check the presence or state of map layers.

Example usages:

@Test
fun testGetLayers() {
val result = mutableListOf<Layer>()
composeTestRule.onNodeWithTag("test_tag")
.performSemanticsAction(MapSemanticActions.GetLayers) { action ->
action(result)
}
}