POST
|
Hello everyone! I'm using ArcGIS Online for Organization, I Want send attachment to Feature Service. When I send the file is an error appears: "Invalid Token", but I'm passing the token as parameter correctly in FeatureService. Thanks!
... View more
11-14-2012
04:11 AM
|
0
|
1
|
2168
|
POST
|
Hi, In ArcGIS Runtime for Android exist a method called calculateLength2D in Polyline. In WPF API does not exist, what can I do? I want to do something like this in C#: (Android code)
Polyline polyline = new Polyline();
polyline.startPath(from.getX(), from.getY());
polyline.lineTo((float) to.getX(), (float) to.getY());
return polyline.calculateLength2D();
... View more
09-21-2012
08:22 AM
|
0
|
1
|
2494
|
POST
|
I need add geometry to Feature Service, but not working. 😞 My flow is: 1. Adopt AGSFeatureLayerEditingDelegate delegate. 2. AGSFeatureLayer *featureLayer = [AGSFeatureLayer featureServiceLayerWithURL: urlFeatureLayer mode: AGSFeatureLayerModeOnDemand]; 3. featureLayer.editingDelegate = self; 4. NSMutableDictionary *graphicAttributes = [[NSMutableDictionary alloc] init]; [graphicAttributes setObject:@"EXAMPLE1" forKey:@"FIELD1"]; [graphicAttributes setObject:@"EXAMPLE2" forKey:@"FIELD2"]; 5. AGSGraphic *graphic = [AGSGraphic graphicWithGeometry:selectedMaPoint symbol:nil attributes:graphicAttributes infoTemplateDelegate:self]; 6. [featureLayer addFeatures:[NSArray arrayWithObject:graphic]]; The strange thing is that no delegate is called! Ex:
- (void)featureLayer:(AGSFeatureLayer *)featureLayer operation:(NSOperation*)op didFeatureEditsWithResults:(AGSFeatureLayerEditResults *)editResults;
- (void)featureLayer:(AGSFeatureLayer *)featureLayer operation:(NSOperation*)op didFailFeatureEditsWithError:(NSError *)error;
Thanks!
... View more
08-30-2012
04:53 AM
|
0
|
4
|
4323
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|