POST
|
You can use AGSAuthenticationManager class that allows you to manage authentication/security related events in order to access secure resources. We also have a recording of the session, Authentication For iOS Apps Made Easy from Developer Summit 2017 that introduces Authentication Manager in ArcGIS runtime SDK for iOS. The session covers the topic of how to log in and pass the credentials to access secure service, and more. Here are some additional resources: 1. Authentication Manager. 2. Developer's lab that shows how to access services with OAuth 2.0. Once you are able to load the secure resource, you can perform query on a feature table as shown in the following samples. 1. Query a map image sublayer. 2. Statistical query. 3. Feature layer query. I hope this helps. Please feel free to let us know if you have further questions. Thank you, Garima
... View more
02-07-2019
01:56 PM
|
0
|
0
|
330
|
POST
|
Hello, Can you please describe your workflow so that we can point you in the right direction? What type of secure service are you trying to consume using ArcGIS runtime SDK for iOS 100.4.0? What issue have you run into when consuming the secure service? Thank you, Garima
... View more
02-07-2019
11:48 AM
|
0
|
2
|
330
|
POST
|
Hello, Can you please describe your workflow? Are you trying to query a table or layer? What issue have you run into? Thank you, Garima
... View more
02-04-2019
12:52 PM
|
0
|
0
|
246
|
POST
|
Mohamed Muzammil Our Edit Features (connected) sample that Mark has mentioned above shows how to display identified results in popups view controller. Specifically, you can refer this line to create a popups view controller.
... View more
08-22-2018
12:19 PM
|
0
|
0
|
590
|
POST
|
Mohamed Muzammil In step 4, you are applying definitionExpression on featureLayer5. Are you trying to apply definition expression on featureLayer1 or featureLayer5?
... View more
08-22-2018
10:43 AM
|
0
|
0
|
463
|
POST
|
Hi Mohamed Muzammil, We have the following samples that might help you to get started. 1. Feature layer query 2. Query a map image sublayer 3. Statistical query Queries are performed on an AGSServiceFeatureTable. If a map is created from a portal item (webmap), AGSServiceFeatureTable can be retrieved from the map as follows: Get a list of operational layers from a map using the operationalLayers property on an AGSMap and filter those layers using layerId to get the required feature layer and map image layer. AGSFeatureLayer may expose a AGSFeatureTable through a featureTable property. The AGSFeatureTable can be casted to AGSServiceFeatureTable. Sublayers of AGSArcGISMapImageLayer may expose a AGSServiceFeatureTable through a table property. I hope this helps. Please let me know if you have further questions. Thank you, Garima
... View more
08-21-2018
04:10 PM
|
0
|
0
|
463
|
POST
|
Hi Mohamed Muzammil, Identify layers sample demonstrates how to identify features on a map. These features could be from feature layer or map image layer present in the map. Thanks, Garima
... View more
08-21-2018
01:34 PM
|
0
|
0
|
590
|
POST
|
I would like to provide additional information regarding this issue with a workaround. The geodatabase is generated from sync enabled feature service using `generateJob(with:downloadFileURL:)` method on AGSGeodatabaseSyncTask. The AGSGenerateGeodatabaseParameters has a property called `layerOptions` that takes a list of AGSGenerateLayerOption, which can be created with layerID using the initializer `init(layerID:)`. The bug is reproducible if the first element of layerOptions parameter contains an instance of AGSGenerateLayerOption created from non-spatial layer's ID. This bug is under investigation to fix in future release of the SDK. In the meantime, the workaround is to create layerOptions such that it contains spatial records followed by non-spatial records. Thank you, Christopher Milack for bringing this issue to our attention. Best, Garima
... View more
07-18-2018
12:27 PM
|
0
|
0
|
778
|
POST
|
Thank you, Christopher. I am able to reproduce the issue with your data and I have submitted the bug for us to investigate the issue further and fix it in future release of the SDK.
... View more
07-10-2018
01:25 PM
|
1
|
0
|
778
|
POST
|
Hi Christopher Milack, Are you adding a new feature to the feature table using add(_:completion:) method? I am asking because we do not have a method called save(_:completion:) on AGSGeodatabaseFeatureTable or AGSFeatureTable. Since you are using sketch editor to create a geometry and the geometry's spatial reference is 102100, I assume your basemap is in web mercator spatial reference. Is it so? The error you are seeing seems to be data specific. Is it possible for you to send me your geodatabase file so I can test with it? You can send the file in my inbox. Thanks, Garima
... View more
07-09-2018
02:09 PM
|
0
|
2
|
778
|
POST
|
You can specify which layers in the service should be visible by modifying the visibleLayers property. For more information, please refer to this guide page: Dynamic map service layer—ArcGIS Runtime SDK for iOS | ArcGIS for Developers. Here's a code snippet from the documentation. //only display ‘ushigh’ (id=0) and ‘states’ (id=1) layer
layer.visibleLayers = [0, 1]
... View more
01-22-2018
10:43 AM
|
0
|
0
|
387
|
POST
|
Hi Roy, Have you had a chance to look into the RoutingSample? Thanks, Garima
... View more
09-26-2016
02:17 PM
|
0
|
0
|
200
|
POST
|
Hi Antonio, ArcGIS runtime SDK for iOS 10.2.5 does not have 3D feature. It is introduced in the Quartz Beta 3. Thanks, Garima
... View more
09-16-2016
01:49 PM
|
0
|
2
|
274
|
POST
|
Unfortunately this is a known limitation. The API does not recognize language construction like CONCAT. The workaround is to use LabelLayer.
... View more
03-25-2015
04:17 PM
|
0
|
0
|
291
|
Title | Kudos | Posted |
---|---|---|
1 | 07-10-2018 01:25 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|