IsMapReady
Semantic property key for indicating whether the map has been fully initialized and is ready for user interaction.
When the map is ready, the value will be true; otherwise, it will be false during initialization.
It is commonly used in Compose UI tests to verify that the map is in a ready state before proceeding with further assertions or interactions.
Example usages:
@Test
fun testMapReadiness() {
composeTestRule.waitUntilExactlyOneExists(
matcher = SemanticsMatcher.expectValue(IsMapReady, true),
timeoutMillis = 10000,
)
}Content copied to clipboard