set Center
Set the center. Longitude and latitude MUST be within the specified bounds. Implementations can use this value to set the default location. If the value is null, implementations may use their own algorithm for determining a default location.
Parameters
center
the LatLng value to use a the center
Deprecated
This function is not type safe
Replace with
setCenter(center:LatLng)
Content copied to clipboard
The first value is the longitude, the second is latitude (both in WGS:84 values), Longitude and latitude MUST be within the specified bounds. Implementations can use this value to set the default location. If the value is null, implementations may use their own algorithm for determining a default location.
Parameters
center
the Float array to set as lattitude, longitude