Wednesday, October 16, 2013

IOS Baidu Location Map

IOS Baidu map positioning, arrived, but why, the map does not automatically move to my position, what do you want to set
Reply:
Your next point that little circle, it is centered.
Reply:
CLLocationCoordinate2D coordinate = userLocation.location.coordinate;
BMKCoordinateRegion region = BMKCoordinateRegionMake (coordinate, BMKCoordinateSpanMake (0.5, 0.5));
[_mapView SetRegion: region animated: NO];

No comments:

Post a Comment