Skip to content

Commit 73f939c

Browse files
committed
Ignore zoom property because the zoom level is changed by fitBounds method.
1 parent 1650870 commit 73f939c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ios/GoogleMaps/Map.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ - (void)setOptions:(CDVInvokedUrlCommand *)command {
433433

434434
camera = [GMSCameraPosition cameraWithLatitude:center.latitude
435435
longitude:center.longitude
436-
zoom:[[cameraOpts valueForKey:@"zoom"] floatValue]
436+
zoom:self.mapCtrl.map.camera.zoom
437437
bearing:[[cameraOpts objectForKey:@"bearing"] doubleValue]
438438
viewingAngle:[[cameraOpts objectForKey:@"tilt"] doubleValue]];
439439

0 commit comments

Comments
 (0)