wrapLatLng method

LatLng wrapLatLng(
  1. LatLng latlng
)

Returns a LatLng where lat and lng has been wrapped according to the map's CRS's wrapLat and wrapLng properties, if they are outside the CRS's bounds. By default this means longitude is wrapped around the dateline so its value is between -180 and +180 degrees.

Implementation

external LatLng wrapLatLng(LatLng latlng);