When wrap around is not working, verify that.
#define kBaseMapMapServiceURL @"http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" ... - (void)viewDidLoad { [super viewDidLoad]; //assign the layer delegate. self.mapView.layerDelegate = self; //add the base map. NSURL *mapUrl = [NSURL URLWithString:kBaseMapMapServiceURL]; self.baseMapLayer = [AGSTiledMapServiceLayer tiledMapServiceLayerWithURL:mapUrl]; [self.mapView addMapLayer:self.baseMapLayer withName:@"Base Map"] self.mapView.wrapAround = YES; }
#define kBaseMapMapServiceURL @"http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" ... - (void)viewDidLoad { [super viewDidLoad]; //assign the layer delegate. self.mapView.layerDelegate = self; //add the base map. NSURL *mapUrl = [NSURL URLWithString:kBaseMapMapServiceURL]; self.baseMapLayer = [AGSTiledMapServiceLayer tiledMapServiceLayerWithURL:mapUrl]; [self.mapView addMapLayer:self.baseMapLayer withName:@"Base Map"] NSURL *mapUrl3 = [NSURL URLWithString:{myServiceURL}]; AGSTiledMapServiceLayer *Lyr3 = [AGSTiledMapServiceLayer tiledMapServiceLayerWithURL:mapUrl3]; [self.mapView addMapLayer:Lyr3 withName:@"MyService"]; self.mapView.wrapAround = YES; }