3
我增加了自定義按鈕,添加在SDK中的地圖移動到當前location.Is有一個默認的按鈕的動作是否有顯示當前位置在GMSMapView中SDK
CLLocationCoordinate2D target=CLLocationCoordinate2DMake(currentLocation.coordinate.latitude,currentLocation.coordinate.longitude);
[mapView_ animateToLocation:target];
一個默認按鈕?
可能也需要這樣做: mapView.settings.myLocationButton =真 – Cymric 2015-05-06 10:23:01