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