【发布时间】:2015-07-11 21:06:36
【问题描述】:
我想在 iOS 版 Google 地图中锁定相机,但到目前为止没有成功。
目标是将相机指向一个位置,并防止用户自己移动相机。过了一会儿,我想把相机控制权还给用户
谢谢
GMSCameraPosition *camera = [GMSCameraPosition cameraWithTarget:location.coordinate zoom:mapView_.camera.zoom];
[mapView_ animateToCameraPosition:camera];
//here i would like to lock the camera
//do some stuff
//give the user the control back
【问题讨论】:
标签: ios xcode google-maps-sdk-ios