screenToLatLng

fun screenToLatLng(screenX: Float, screenY: Float): LatLng(source)

Converts screen coordinates to geographic coordinates.

Takes into account the current camera position, zoom level, and pan offset.

Return

The geographic location (LatLng) at that screen position

Parameters

screenX

The X coordinate in screen pixels

screenY

The Y coordinate in screen pixels