coordinatesInfoForPixels

abstract fun coordinatesInfoForPixels(@NonNull pixels: List<ScreenCoordinate>): List<CoordinateInfo>

Calculates the geographical coordinates information that corresponds to the given screen coordinates. The screen coordinates are in platform pixels, relative to the top left corner of the map (not the whole screen). The returned coordinate will be the closest position projected onto the map surface, in case the screen coordinate does not intersect with the map surface.

Return

The CoordinateInfo records containing information about the geographical coordinates corresponding to the given screen coordinates, including whether they are on the map surface.

Parameters

pixels

The screen coordinate on the map, in platform pixels.