pixel For Coordinate
open override fun pixelForCoordinate(coordinate: Point): ScreenCoordinate
Content copied to clipboard
Calculate a screen coordinate that corresponds to a geographical coordinate (i.e., longitude-latitude pair).
The screen coordinate is 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.
Return
Returns a screen coordinate on the screen in MapOptions.size platform pixels.
Parameters
coordinate
A geographical coordinate on the map to convert to a screen coordinate.