pixelForCoordinate

open fun pixelForCoordinate(@NonNull coordinate: Point): ScreenCoordinate

Calculates a `screen coordinate` that corresponds to a geographical coordinate (i.e., longitude-latitude pair). The `screen coordinate` is in `platform pixels` relative to the top left corner of the map (not of the whole screen).

Return

A `screen coordinate` on the screen in `platform pixels`.

Parameters

coordinate

A geographical `coordinate` on the map to convert to a `screen coordinate`.