wrap

open suspend override fun wrap(lngLat: LngLat): LngLat

Returns a new LngLat object whose longitude is wrapped to the range (-180, 180).

Return

A new LngLat object with the wrapped longitude.

Parameters

lngLat

LngLat object to wrap.