We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1650870 commit 73f939cCopy full SHA for 73f939c
1 file changed
src/ios/GoogleMaps/Map.m
@@ -433,7 +433,7 @@ - (void)setOptions:(CDVInvokedUrlCommand *)command {
433
434
camera = [GMSCameraPosition cameraWithLatitude:center.latitude
435
longitude:center.longitude
436
- zoom:[[cameraOpts valueForKey:@"zoom"] floatValue]
+ zoom:self.mapCtrl.map.camera.zoom
437
bearing:[[cameraOpts objectForKey:@"bearing"] doubleValue]
438
viewingAngle:[[cameraOpts objectForKey:@"tilt"] doubleValue]];
439
0 commit comments