Skip to content

Commit

Permalink
Bug fix: map is not displayed when the camera options is not specifie…
Browse files Browse the repository at this point in the history
…d at the map.getMap()

(issue #1570, #1573)
  • Loading branch information
wf9a5m75 committed Jul 21, 2017
1 parent 16027a3 commit 8f7b65f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ios/GoogleMaps/CordovaGoogleMaps.m
Original file line number Diff line number Diff line change
Expand Up @@ -263,14 +263,14 @@ - (void)getMap:(CDVInvokedUrlCommand *)command {

}
}
[pluginMap.mapCtrl.view setHidden:YES];
}
camera = [GMSCameraPosition cameraWithLatitude:latitude
longitude:longitude
zoom: zoom
bearing: bearing
viewingAngle: angle];

[pluginMap.mapCtrl.view setHidden:YES];
pluginMap.mapCtrl.map = [GMSMapView mapWithFrame:rect camera:camera];

//mapType
Expand Down

0 comments on commit 8f7b65f

Please sign in to comment.