(void) didSelectNewBaseMap:(AGSPortalItem *)BaseMapPortalItem { AGSWebMap *NewBaseWebMap = [[AGSWebMap alloc] initWithPortalItem:BaseMapPortalItem]; AGSWebMapBaseMap *NewWebmapBaseMap = [[AGSWebMapBaseMap alloc]init]; NewWebmapBaseMap = [NewBaseWebMap baseMap]; [self.webmap openIntoMapView:self.mapView withAlternateBaseMap:NewWebmapBaseMap resetMapView:NO]; }
-(void) didSelectNewBaseMap:(AGSPortalItem *)BaseMapPortalItem { AGSWebMap *NewBaseWebMap = [AGSWebMap webMapWithPortalItem:BaseMapPortalItem]; NewBaseWebMap.delegate = self; } //webmap delegate - (void)webMapDidLoad:(AGSWebMap *)webMap { [self.webmap openIntoMapView:self.mapView withAlternateBaseMap:webMap.baseMap]; }
-(void) didSelectNewBaseMap:(AGSPortalItem *)BaseMapPortalItem { AGSWebMap *BaseWebMap = [[AGSWebMap alloc] initWithPortalItem:BaseMapPortalItem]; BaseWebMap.delegate = self; [self.sslchangeBaseMapdismissViewControllerAnimated:YEScompletion:nil]; } - (void) webMapDidLoad:(AGSWebMap *)webMap { [self.webmapopenIntoMapView:self.mapViewwithAlternateBaseMap:webMap.baseMap]; }
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.