地图定位

- (IBAction)locateUser:(id)sender {

    

        

        CLLocationCoordinate2D coordinate;


        coordinate.latitude = self.mapview.userLocation.location.coordinate.latitude;

        coordinate.longitude = self.mapview.userLocation.location.coordinate.longitude;

        

        [self zoomToFitMapAnnotationsOK:mapview];

        

}

你可能感兴趣的:(地图定位)