mkusertrackingmode

GMSMapView tracking mode heading

六眼飞鱼酱① 提交于 2020-01-03 05:41:08
问题 In my app, I am using GMSMapView , and I would like to change tracking mode. In iOS MapKit, I can change the tracking mode to MKUserTrackingModeFollowWithHeading , but don't know how to change it in GMSMapView . In the app Google Maps , it is working after second touch on myLocationButton . Is it possible? 回答1: For continuously changing the camera with the current location, you will need to update the GMSCamera for google maps to current location. You can do it in Location Manager delegate