maps-utils-ktx / com.google.maps.android.ktx.utils / com.google.android.gms.maps.model.LatLng / component2

component2

operator fun LatLng.component2(): Double

Returns the LatLng.longitude of this LatLng.

e.g.

val (_, lng) = latLng