coordinateForPixel

abstract fun coordinateForPixel(pixel: ScreenCoordinate): Point

Calculates a geographical coordinate(i.e., longitude-latitude pair) that corresponds to a screen coordinate.

The screen coordinate is in \link MapOptions#size platform pixels \endlink relative to the top left of the map (not of the whole screen).

Return

Returns a geographical coordinate corresponding to the ScreenCoordinate on the screen.

Parameters

pixel

A screen coordinate on the screen in \link MapOptions#size platform pixels \endlink.