NSMutableDictionary *graphicAttributes = CurrentFeatureGraphic.attributes; [graphicAttributes setObject:MarkupDescription.text forKey:@Description]; ...
... [graphicToEdit.attributes setValue:@John forKey:@INSP_NAMES]; [featureLayerToEdit updateFeatures:[NSArray arrayWithObject:graphicToEdit]]; ...
- (void)featureLayer:(AGSFeatureLayer *)featureLayer operation:(NSOperation *)op didFeatureEditsWithResults:(AGSFeatureLayerEditResults *)editResults { //Listen for results of edit operations. If successful, redraw layer AGSEditResult *updateResult = [editResults.updateResults objectAtIndex:0]; if (updateResult.success) { [featureLayer dataChanged]; } ...
_globalId = (NSNull *) 0x24a9cd8 Variable is not a CFString.
... int oid = [featureLayerToEdit objectIdForFeature:graphicToEdit]; AGSGraphic *editFeature = [featureLayerToEdit lookupFeatureWithObjectId:oid]; [editFeature.attributes setValue:@John forKey:@INSP_NAMES]; [featureLayerToEdit updateFeatures:[NSArray arrayWithObject:editFeature]]; ...
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.