|
POST
|
Hi Nicholas Furness, This returns an empty array. But the `AGSRelationshipInfo` logs the related table id correctly. FYI, i can get the related features in iOS Runtime SDK v 10.2. AGSServiceFeatureTable * featureTable = (AGSServiceFeatureTable*)data.graphic.featureTable; AGSRelationshipInfo * rInfo = featureTable.layerInfo.relationshipInfos.firstObject; AGSRelatedQueryParameters * find = [AGSRelatedQueryParameters relatedQueryParametersWithRelationshipInfo:rInfo]; find.orderByFields = @[[[AGSOrderBy alloc] initWithFieldName:rInfo.keyField sortOrder:AGSSortOrderDescending]]; NSString * whereClause = [NSString stringWithFormat:@"""%@ = '%lld'""",rInfo.keyField,data.objectID]; [find setWhereClause:whereClause]; [featureTable queryRelatedFeaturesForFeature😞AGSArcGISFeature*)data.graphic parameters:find completion:^(NSArray<AGSRelatedFeatureQueryResult *> * _Nullable results, NSError * _Nullable error) { if(error) { } else { NSLog(@"result-assets :: %@",results); } }]; Did i missed any thing here? Regards,
... View more
06-13-2018
06:55 AM
|
0
|
3
|
1259
|
|
POST
|
I would like to know how to use 'AGSRelatedQueryParameters' with 'AGSRelationshipInfo'. Give me an example. I guess 'AGSRelatedQueryParameters' is the replacement for 'AGSRelationshipQuery'. Am i right?
... View more
05-29-2018
07:49 AM
|
0
|
5
|
1561
|
|
POST
|
Hi Nick, The method -(AGSFeature *)createFeatureWithAttributes:(NSDictionary<NSString*,id> *)attributes geometry:(nullable AGSGeometry *)geometry; returns the OBJECTID as <Null> in attributes of the created feature, but in the previous version it returned as -1, -2, etc., Any suggestions? Regards,
... View more
05-23-2018
08:26 AM
|
0
|
1
|
1871
|
|
POST
|
Hi Nick, Is there any way to avoid the "AGSInheritedCodedDomain" while creating subtypes. Regards,
... View more
05-21-2018
04:30 AM
|
0
|
1
|
825
|
|
POST
|
Hi, The runtime SDK version is 100.1. and i checked 'canAddFeature', its returning true. May be update of SDK will fix the problem?
... View more
05-14-2018
10:33 PM
|
0
|
1
|
1871
|
|
POST
|
In my previous version, i have fetched the coded values from the domains property of 'AGSFeatureType'. In latest iOS Runtime SDK, the new subclass of AGSDomain, 'AGSInheritedDomain' has been added and no domains value founded. #2. What is the difference between `AGSCodedValueDomain ` and AGSInheritedDomain #3 Is there any way to get domain value form AGSInheritedDomain or to change the type from 'AGSInheritedDomain' to 'AGSCodedValueDomain'.
... View more
05-14-2018
03:06 AM
|
0
|
3
|
999
|
|
POST
|
Hello Nick, If i used apply edits, the feature is added in server and displays in feature layer. But i don't know why it was not displayed before applying applyedits. FYI, But some feature does.
... View more
05-09-2018
06:40 AM
|
0
|
3
|
1871
|
|
POST
|
Hello Nick, Thanks for the reply. I have used as per the pattern. I have checked 'canUpdateFeature()' method before adding into feature layer, it returns 'NO'. So i removed the condition and created, added a feature in a feature layer. The statements are running successfully, but the added feature is not visible in the feature layer. Im facing the problem in some features, but rest of the feature are working great. No idea what is wrong.
... View more
05-09-2018
12:46 AM
|
0
|
7
|
1871
|
|
POST
|
'AGSFeatureLayer' is loaded using a url from the arcgis server. Now, i would like to add a 'AGSFeature' in 'AGSFeatureLayer'. Is it possible to add a 'AGSFeature' in a 'AGSFeatureLayer' locally or, whether i need to use 'AGSGraphicOverlay' to accomplish that. Kindly advice. Also give some example. #2 Is the following way is right one to create AGSGraphic from a AGSFeature? AGSSymbol * symbol = [self.graphic.featureTable.featureLayer.renderer symbolForFeature:self.feature]; AGSGraphic * graphicObj = [[AGSGraphic alloc] initWithGeometry:self.feature.geometry symbol:symbol attributes:self.feature.attributes]; #3 and i tried the following way to add a feature in feature table, but nothing happens [layr.featureTable addFeature:data completion:^(NSError * _Nullable error) { if(error) { nlog(@"error: %@",error.localizedFailureReason); } }];
... View more
05-07-2018
06:02 AM
|
0
|
9
|
2157
|
|
POST
|
Hi, I need to get legend images from map service info. In Previous run time SDK v 10.x, we have used to get the images as below. -(void)Save:(AGSMapServiceInfo*)mapServiceInfo{for (AGSMapServiceLayerInfo* info in mapServiceInfo.layerInfos){ [self saveInfo:mapServiceInfo images:info.legendImages labels:info.legendLabels];
}
} I tried to get the legend images from the below layer AGSArcGISMapImageLayer But, no luck. Im not able to find any document regarding this, even in migration document. Kindly give some suggestions to find out the classes replaced in latest run time SDK for iOS. Thanks
... View more
04-30-2018
07:34 AM
|
0
|
1
|
763
|
|
POST
|
Thank you SBaskaran-esristaff. Finally used as below: return [AGSGeometryEngine geodeticDistanceBetweenPoint1:point1 point2:point2 distanceUnit:AGSLinearUnit.meters azimuthUnit:AGSAngularUnit.radians curveType:AGSGeodeticCurveTypeGeodesic].distance;
... View more
04-23-2018
11:40 PM
|
0
|
0
|
989
|
|
POST
|
How can we calculate the distance between two AGSPoints. Previously in runtime SDK 10.x the method ` distanceToPoint` is used, as float len = [agsPoint1 distanceToPoint: agsPoint2]; but i didn't find any related methods in runtime SDK 100.x.
... View more
04-23-2018
05:33 AM
|
0
|
2
|
1295
|
|
POST
|
Hi Shimin Cai, Any idea to accomplish this identify process and differentiate the graphic and feature in arcgis version 100? I have some feature layer and asset layer, both were added in mapview's operational layer. But i can fetch only features, not assets.
... View more
04-06-2018
08:03 AM
|
0
|
1
|
1093
|
|
POST
|
Hi, The authentication process has been handled in backend and i can load all the layers. But the water mark text, 'Licensed For Developer Use Only' in mapview is not removed. The things i have are "a token" and "a Client Id". How can i remove the water mark. FYI, the watermark hides and reappears automatically sometimes. Regards,
... View more
03-23-2018
03:34 AM
|
0
|
1
|
886
|
|
POST
|
Is it possible to do token based licensing the iOS runtime SDK v 100.x? This has been documented in Runtime SDK v 10.2, but not in Runtime SDK v 100.x. How can we achieve token based licensing in v 100.x?
... View more
03-21-2018
07:18 AM
|
0
|
3
|
1113
|
| Title | Kudos | Posted |
|---|---|---|
| 3 | 03-01-2018 11:02 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:25 AM
|