(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]; }
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.