newLatLng static method
Returns a camera update that moves the camera target to the specified geographical location.
Implementation
static newLatLng(LatLng latLng) {
if (Platform.isIOS) {
return appleMaps.CameraUpdate.newLatLng(latLng.appleLatLng);
} else if (Platform.isAndroid) {
return googleMaps.CameraUpdate.newLatLng(latLng.googleLatLng);
}
}