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]]; ...
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.