- (void)didOpenWebMap: (AGSWebMap*)webMap intoMapView: (AGSMapView *)mapView { if(self.sketchLayer ==nil) { self.sketchLayer = [AGSSketchGraphicsLayer graphicsLayer]; self.sketchLayer.geometry = [[AGSMutablePolyline alloc] initWithSpatialReference:self.mapView.spatialReference]; [self.mapView addMapLayer:self.sketchLayer withName:@Sketch layer]; self.sketchLayer.visible=NO; } if(self.graphicsLayer ==nil) { self.graphicsLayer = [AGSGraphicsLayer graphicsLayer]; [self.mapView addMapLayer:self.graphicsLayer withName:@Graphics Layer]; } if(self.graphicsLayerdraw == nil) { self.graphicsLayerdraw = [AGSGraphicsLayer graphicsLayer]; [self.mapView addMapLayer:self.graphicsLayerdraw withName:@Graphics Layer Draw]; } }
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.