coordinates For Pixels
open override fun coordinatesForPixels(pixels: List<ScreenCoordinate>): List<Point>
Content copied to clipboard
Calculate geographical coordinates(i.e., longitude-latitude pair) that corresponds to screen coordinates.
The screen coordinates are in MapOptions.size platform pixels relative to the top left of the map (not of the whole screen).
Map must be fully loaded for getting an altitude-compliant result if using 3D terrain.
This API isn't supported by Globe projection and will return a no-op result matching the center of the screen. See com.mapbox.maps.extension.style.projection.generated.setProjection and com.mapbox.maps.extension.style.projection.generated.getProjection
Return
Returns a batch of geographical coordinates corresponding to the screen coordinates on the screen.
Parameters
pixels
A batch of screen coordinates on the screen in MapOptions.size platform pixels.