|
POST
|
I'm able to successfully export .vtpk from above services using ArcGIS Runtime SDK for iOS: AGSExportVectorTilesTask. You can try the same but exporting .vtpk is not free. You need valid credentials to do so. This is a forum for ArcGIS Runtime SDK for iOS and for error regarding error of using ArcGIS Pro, I would suggest posting question on the ArcGIS Pro forums so appropriate folks can help you. Regards, Nimesh
... View more
12-28-2018
02:18 PM
|
1
|
2
|
4068
|
|
POST
|
Can you send me the link to the ESRI Navigation vector basemap (export version) you are using? Regards, Nimesh
... View more
12-28-2018
11:37 AM
|
0
|
5
|
4068
|
|
POST
|
Hi Richard, I'm not sure which steps you are following to install SDK using CocoaPods or manually. I would suggest following steps outlined in the Install and set up—ArcGIS Runtime SDK for iOS. If I follow the steps, I'm not seeing the error `Failed to connect to seri.app.box.com....`. Could you please try again? Please let me know if you still see an issue. Hope this helps! Regards, Nimesh
... View more
12-28-2018
10:47 AM
|
0
|
0
|
1397
|
|
POST
|
Hi Scott, Unfortunately, there is no way to move the attribution from bottom of the MapView. The only API available to work with it are attributionText, attributionTextVisible and attributionTopAnchor. You can hide the attribution using attributionTextVisible and add your own attribution on the top. Hope this helps! Regards, Nimesh
... View more
12-28-2018
09:47 AM
|
1
|
0
|
652
|
|
POST
|
Hi Michael, The Vector Basemap you are trying to export in ArcGIS Pro is your own published layer or one of the Esri published basemap? What is the error you are getting? Can you give us exact error message? You can try using ArcGIS Runtime SDK for iOS: AGSExportVectorTilesTask to create .vtpk from a vector basemap. Regards, Nimesh
... View more
12-28-2018
09:28 AM
|
1
|
7
|
4068
|
|
POST
|
You are not holding on to the objects on which you are sending requests. Hence, things are not working as expected. Please look at the modified code below. The `locatorTask` and `featureTable` are declared as class level variables and now queries are successfully returns results. var locatorTask: AGSLocatorTask? func testGeoCode(){ // Try to query MapService let locatorURL = "http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer" locatorTask = AGSLocatorTask(url: URL(string: locatorURL)!) let geocodeParameters:AGSGeocodeParameters = AGSGeocodeParameters() geocodeParameters.resultAttributeNames.append(contentsOf: ["*"]) geocodeParameters.minScore = 75 //perform geocode with text locatorTask?.geocode(withSearchText: "California", parameters: geocodeParameters, completion: { (results:[AGSGeocodeResult]?, error:Error?) -> Void in if let error = error { print("testGeoCode Error::: \(error)") } else { if let results = results , results.count > 0 { print("GeoCode Result found::: \(results.count)") //create a graphic for the first result and add to the graphics overlay _ = AGSGraphic(geometry: results[0].displayLocation!, symbol: nil, attributes: results[0].attributes as [String : AnyObject]?) // let graphic = self?.graphicForPoint(results[0].displayLocation!, attributes: results[0].attributes as [String : AnyObject]?) // self?.graphicsOverlay.graphics.add(graphic!) } else { //provide feedback in case of failure print("No GeoCode Result found.......)") } } }) } var featureTable: AGSServiceFeatureTable? func testQueryOnLayer(){ featureTable = AGSServiceFeatureTable(url: URL(string: "http://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer/2")!) let featureLayer = AGSFeatureLayer(featureTable: featureTable!) featureLayer.selectionWidth = 5 let searchText = "California" let queryParams = AGSQueryParameters() queryParams.whereClause = "upper(STATE_NAME) LIKE '%\(searchText.uppercased())%'" featureTable?.queryFeatures(with: queryParams, completion: { (result:AGSFeatureQueryResult?, error:Error?) -> Void in if let error = error { print("testQueryOnLayer Error::: \(error)") } else if let features = result?.featureEnumerator().allObjects { if features.count > 0 { print("GeoCode Result found::: \(features.count)") //mapView.setViewpointGeometry(features[0].geometry!, padding: 80, completion: nil) } else { print("No query Result found.......)") } } }) } Hope this helps! Regards, Nimesh
... View more
09-04-2018
09:01 AM
|
1
|
0
|
723
|
|
POST
|
Are you using 2D or 3D map? Can you just send me the image you are using so I can create Picture Marker Symbol with it at my end? Regards, Nimesh
... View more
08-28-2018
02:24 PM
|
0
|
0
|
813
|
|
POST
|
You can use AGSGeometryEngine's projectGeometry:toSpatialReference: method to project a geometry. You can pass AGSSpatialReference's webMercator or WGS84 method to set the desired spatial reference. Hope this helps! Regards, Nimesh
... View more
08-28-2018
08:50 AM
|
0
|
0
|
782
|
|
POST
|
Can you please share the image you are using? Also, share screenshot of picture marker symbol on the map, how it looks currently and your expectations, how it should look?
... View more
08-06-2018
08:25 AM
|
0
|
2
|
813
|
|
POST
|
You can either rotate the image as desired and then use in the AGSPictureMarkerSymbol or AGSPictureMarkerSymbol has a property `angle` which can set to desired value to change the orientation of the symbol. Hope this helps! Regards, Nimesh
... View more
08-03-2018
08:34 AM
|
0
|
4
|
813
|
|
POST
|
For latest SDK (ver 100.x) property is renamed to `definitionExpression` and is available on sub layers, feature layer and service feature table. Please see below image. The sample is available at arcgis-runtime-samples-ios/arcgis-ios-sdk-samples/Features/Feature layer definition expression at master · Esri/arcgis-r… Hope this helps! Regards, Nimesh
... View more
03-07-2018
08:57 AM
|
0
|
0
|
897
|
|
POST
|
Hi Arthur, We are trying to say is that you don't need Identify Task in 100.2 SDK. The functionality is inbuilt in the AGSGeoView/AGSMapView. You just add the layer to the map and then use `identify` method foe layer/layers you are interested in. Did you look at the sample in the link I provided? Please create another question for the new issue. Regards, Nimesh
... View more
02-23-2018
11:22 AM
|
0
|
0
|
712
|
|
POST
|
Hi Arthur, The `Identify` functionality is available in 100.x version as well. It is not a separate task like 10.2.x version. There are bunch of `Identify` methods on AGSGeoView to perform on either GraphicsOverlay or Layer. The identify sample is also available here. Hope this helps! Regards, Nimesh
... View more
02-21-2018
01:17 PM
|
0
|
0
|
712
|
|
POST
|
Please refer discussion in this thread.. https://community.esri.com/thread/186516-specify-outfields-in-quartz Hope this helps! Regards, Nimesh
... View more
12-20-2016
08:32 AM
|
1
|
0
|
872
|
|
POST
|
Hi Abdelrahman, The `AGSBackgroundGrid` is just for the appearance of the AGSMapView's background only. You cannot limit scrolling of mapView using that. The scrolling of mapView is dependant on the map's base layer's spatial reference and `wrapAroundMode`. You can set AGSMapView's `wrapAroundMode` to `AGSWrapAroundModeDisabled` to limit the horizontal scrolling up to base layer's spatial reference horizon. Hope this helps! Regards, Nimesh
... View more
12-07-2016
09:45 AM
|
1
|
0
|
1120
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-18-2024 12:33 PM | |
| 1 | 03-12-2024 08:54 AM | |
| 1 | 09-28-2023 08:19 AM | |
| 2 | 07-28-2023 08:07 AM | |
| 1 | 06-27-2013 10:42 AM |
| Online Status |
Offline
|
| Date Last Visited |
06-26-2025
07:28 AM
|