Commit 835b83fa authored by 曹云霄's avatar 曹云霄

debug

parent 514a6c30
...@@ -27,7 +27,6 @@ xcuserdata/ ...@@ -27,7 +27,6 @@ xcuserdata/
*.dSYM.zip *.dSYM.zip
*.dSYM *.dSYM
#libbaiduNaviSDK.a
# CocoaPods # CocoaPods
# #
......
...@@ -161,7 +161,6 @@ ...@@ -161,7 +161,6 @@
[self.view insertSubview:_mapView atIndex:0]; [self.view insertSubview:_mapView atIndex:0];
self.mapView.zoomLevel = 16; self.mapView.zoomLevel = 16;
self.locService.pausesLocationUpdatesAutomatically = NO; self.locService.pausesLocationUpdatesAutomatically = NO;
self.locService.distanceFilter = 10;
self.mapView.userTrackingMode = BMKUserTrackingModeFollow; self.mapView.userTrackingMode = BMKUserTrackingModeFollow;
} }
...@@ -171,7 +170,6 @@ ...@@ -171,7 +170,6 @@
*/ */
- (void)didUpdateBMKUserLocation:(BMKUserLocation *)userLocation - (void)didUpdateBMKUserLocation:(BMKUserLocation *)userLocation
{ {
[self.locService stopUserLocationService];
[_mapView updateLocationData:userLocation]; [_mapView updateLocationData:userLocation];
double latitude = userLocation.location.coordinate.latitude; double latitude = userLocation.location.coordinate.latitude;
double longitude = userLocation.location.coordinate.longitude; double longitude = userLocation.location.coordinate.longitude;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment