toLatLng

fun Position.toLatLng(): LatLng?(source)

Converts a protobuf Position to an SDK LatLng.

Returns null if the position is missing required fields or if both latitude and longitude are zero (typically indicating an uninitialized fix).