union
Returns a new LngLatBounds that stretches to contain both this and another LngLatBounds.
Return
LngLatBounds
Parameters
bounds
LngLatBounds to add
Returns a new LngLatBounds that stretches to contain both this and another LngLatBounds.
This values of northLat and southLat should be in the range of -90, 90, see GeometryConstants.MIN_LATITUDE and GeometryConstants.MAX_LATITUDE, otherwise IllegalArgumentException will be thrown. northLat should be greater or equal southLat, otherwise IllegalArgumentException will be thrown.
eastLon should be greater or equal westLon, otherwise IllegalArgumentException will be thrown.
Return
LngLatBounds
Parameters
north Lat
Northern Latitude corner point
east Lon
Eastern Longitude corner point
south Lat
Southern Latitude corner point
west Lon
Western Longitude corner point