[[self.findTask alloc] initWithURL:self.dynamicLayersURL]; self.findTask.delegate = self;
- (void)searchBarSearchButtonClicked:(UISearchBar *)theSearchBar { // Get find parameters AGSFindParameters *findParam = [[AGSFindParameters alloc] init]; findParam.contains = YES; findParam.layerIds = findLyrIds; findParam.returnGeometry = NO; findParam.searchFields = findFields; findParam.searchText = theSearchBar.text; // Execute the find task [self.findTask executeWithParameters:findParam]; }
self.findTask = [[AGSFindTask alloc] initWithURL:self.dynamicLayersURL];
self.findTask = [AGSFindTask findTaskWithURL:[NSURL http://ruby.kgs.ku.edu/arcgis/rest/services/oilgas/oilgas/MapServer]];
self.findTask.delegate = self;
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.