wrap

open fun wrap(): LatLng(source)

Returns a new LatLng object with the longitude wrapped, so it's always between -180 and +180 degrees.