POST
|
Hi Ankit Shah , Sounds like the issue is related to the timing since the issue is intermittent happened. I would suggest try to take a look about this sample and try to compare with your code especially setup some break point to check if when is the " addLayerOnArcGisMap" function in your code is called. Here is our sample code from github: Change viewpoint github sample Hope this can help.
... View more
07-26-2017
03:34 PM
|
1
|
0
|
19
|
POST
|
Hi chirag shah minScale is expect for double type based on our documentation, I assume you are using 100 Quartz version: ArcGIS Runtime SDK for iOS: AGSMap Class Reference if it is 10.2.5 version here is the reference as well: 10.2.5: AGSMapServiceInfo Class Reference By default those minScale and maxScale unit is based on your Map/feature server's publish value, for example, in this sample service, you can search "Units: esriDecimalDegrees " in your browser: https://sampleserver6.arcgisonline.com/arcgis/rest/services/RedlandsEmergencyVehicles/MapServer Hope this can help.
... View more
07-26-2017
03:09 PM
|
1
|
0
|
10
|
POST
|
Hi Jason, I just tested with a swift version of the code for queryFeature with AGSServiceFeatureTable and I do not reproduce this issue. Here is the snippet code that I used and you can try to use this service end point to test as well: private let FEATURE_SERVICE_URL = " http://sampleserver6.arcgisonline.com/arcgis/rest/services/PoolPermits/FeatureServer/0 " var map : AGSMap ! var ft : AGSServiceFeatureTable ! override func viewDidLoad ( ) { super . viewDidLoad ( ) //create an instance of a map with ESRI topographic basemap self . map = AGSMap ( basemap : AGSBasemap . topographic ( ) ) self . mapView . map = self . map queryTest ( ) } func queryTest ( ) { self . ft = AGSServiceFeatureTable ( url : URL ( string : FEATURE_SERVICE_URL ) ! ) ; let queryParams = AGSQueryParameters ( ) queryParams . whereClause = "has_pool = 1" self . ft . queryFeatures ( with : queryParams ) { ( result : AGSFeatureQueryResult ? , error : Error ? ) in if let error = error { print ( error . localizedDescription ) } else if let features = result ? . featureEnumerator ( ) . allObjects { if features . count > 0 { print ( features ) } else { print ( "no feature" ) } } } } Based on our 100.1 SDK doc: ArcGIS Runtime SDK for iOS: AGSServiceFeatureTable Class Reference I do not think we have any function called " QueryFeaturesAsync", I wonder how do you implement? Here I would recommend check this sample code that using Objective-c to work with queryFeaturesWithParameters: arcgis-runtime-samples-ios/RootViewController.m at 10.2.5-to-quartz · Esri/arcgis-runtime-samples-ios · GitHub Another good suggestion is use Charles Web Debugging Proxy to investigate what's the request that you send and you can get more info from there.
... View more
07-03-2017
12:07 PM
|
0
|
1
|
15
|
POST
|
Hi Nikolay Yekimov, Based on my test, it looks like in 100.0.0, when you identify the graphic, it doesn't means you selected it. I use this method to check: self . graphicsOverlay . selectedGraphics ( ) And it returns an empty array. So you have to call isSelected = true at this moment. Here is the screenshot that illustrate the result:
... View more
05-19-2017
05:09 PM
|
0
|
4
|
37
|
POST
|
Hi Kunal Mehta , Maybe you can take a look about this thread on CocoaPods: Framework inside embedded framework · Issue #3440 · CocoaPods/CocoaPods · GitHub
... View more
05-15-2017
10:41 AM
|
0
|
0
|
16
|
POST
|
Hi YanQi Jiao, Here is the Objectic-C version of sample code to load the .tpk file: arcgis-runtime-samples-ios/LocalTiledLayerSample/objective-c at 10.2.5-to-quartz · Esri/arcgis-runtime-samples-ios · Git… Hope this can help
... View more
05-15-2017
10:31 AM
|
0
|
0
|
36
|
POST
|
Hi Manjari Goyal, I would suggest to open your browser developer tool to see what type of network traffic returns when you click on the map. Ideally, you should be able to test with this reversegeocoding sample using JS 3.20: Find Address Once you open the chrome developer tool and you will see the network traffic when you click on the map. The query request will send to https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/reverseGeocode and if the address is not existing in this geocode service you will probably see the error message like this: The reason why some address is not return is due to the fact of the geocode coverage, for more information please check this online documentation: Geocode coverage—ArcGIS REST API: World Geocoding Service | ArcGIS for Developers If you need specific address for your interest that not exist in our "World Geocoding Service", the best option is creating your own geocode service. More information please check: Geocode services—Documentation | ArcGIS Enterprise Hope this can help.
... View more
05-10-2017
02:35 PM
|
0
|
1
|
55
|
POST
|
Hi Greg Fiske Since this application is build in JS 4.3 API, we have a known limitation based on this url: FeatureLayer | API Reference | ArcGIS API for JavaScript 4.3 Known Limitations There is no support for labeling in 2D. Labeling is only supported in 3D SceneViews. Like Kelly said, you can try to use other applications based on JavaScript 3.x should able to view the labels without any problem.
... View more
05-08-2017
03:28 PM
|
2
|
0
|
23
|
POST
|
Hi City of Columbia GIS, Technically you can take a reference from My Location Widget .js file to implement this Class: "esri/dijit/LocateButton" LocateButton | API Reference | ArcGIS API for JavaScript 3.20 into Near Me widget The LocateButton has already implement the HTML5 Geolocation API Hope this can help.
... View more
05-08-2017
11:52 AM
|
1
|
0
|
14
|
POST
|
Hi Ayla Perry, Which version of iOS are you working with? Is it a 10.2.5 or 100.0? If it is 100.0, follow this: ---------------------------- I would recommend you can try to install our SDK by using CocoaPods. Have you followed our documentation about how to install the SDK? Install and set up—ArcGIS Runtime SDK for iOS | ArcGIS for Developers I assume you are using the manual way to install the SDK, then the tricky part is make sure the ArcGIS resource bundle point to the right path in your mac. Please check this part in our online install page: Add ArcGIS resource bundle ----------------------------- If it is 10.2.5 follow this: ------------------------------ Install and set up—ArcGIS Runtime SDK for iOS | ArcGIS for Developers Add dependencies Hope this can help.
... View more
05-01-2017
09:57 AM
|
0
|
2
|
43
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|