screenLocationFromPosition

Returns an offset from the top-left corner of the map composable that corresponds to the given position. This works for positions that are off-screen, too.

Throws

IllegalStateException

if the map is not initialized yet. See awaitInitialized.