fromScreenLocation

Returns the geographic location that corresponds to a screen location.

The screen location is specified in screen pixels (not display pixels) relative to the top left of the map.

If map padding is set, the conversion accounts for the logical viewport offset, ensuring accurate coordinate mapping in the visible (non-padded) area.

Return

The geographic location (LatLng) corresponding to the screen point

Parameters

point

The screen location in pixels