POST
|
Can you explain what kind of animation you are doing on interaction with map. May be there is another way to achieve that.
... View more
05-30-2017
11:42 AM
|
0
|
2
|
770
|
POST
|
Can the use case or animation be achieved using `viewpointChangedHandler` on `AGSMapView`? So, say if you want to keep a UIView/NSView constant with respect to a location on map view. In each invocation of `viewpointChangedHandler` you will convert the map view location to screen point and move the UIView to that point.
... View more
05-25-2017
03:48 PM
|
0
|
4
|
770
|
POST
|
Do you mean the import statement is returning an error? Or the map is not rendering?
... View more
05-01-2017
11:13 AM
|
0
|
1
|
817
|
POST
|
To add to David Lednik's answer. We have a sample - Display drawing status - you can refer. And when using KVOs don't forget to remove the observer, when you are done. Otherwise, it can cause problems later.
... View more
03-24-2017
08:41 AM
|
0
|
0
|
493
|
POST
|
If you are looking for an example for taking screenshot, we have a sample here. If not, can you elaborate on the use case you have or what you are trying to do?
... View more
03-24-2017
08:37 AM
|
0
|
0
|
475
|
POST
|
Once you go through the process of app thinning that number would change. You can follow the steps listed here under "Exporting Your App for Testing Outside the Store" to export your app for specific device using app thinning.
... View more
03-10-2017
09:22 AM
|
0
|
0
|
454
|
POST
|
Thats because the raster layer is not loaded yet, when you check for the spatial reference. Either wait for the map to load or load the raster layer manually and print the spatial reference. Also, to avoid compression of png files by Xcode, you can change the `Type` in the `File Inspector` to `Data` or something else.
... View more
02-16-2017
08:34 AM
|
0
|
1
|
1132
|
POST
|
AGSFeatureCollectionTable implements the AGSFeatureSet protocol, so you can create AGSGeoProcessingFeatures from it. We have the Analyze viewshed sample you can refer. I will also include the code you need here. private func calculateViewshed(at point: AGSPoint) {
//the service requires input of rest data type GPFeatureRecordSetLayer
//which is AGSGeoprocessingFeatures in runtime
//in order to create an object of AGSGeoprocessingFeatures we need a featureSet
//for which we will create a featureCollectionTable (since feature collection table
//is a feature set) and add the geometry as a feature to that table.
//create feature collection table for point geometry
let featureCollectionTable = AGSFeatureCollectionTable(fields: [AGSField](), geometryType: .point, spatialReference: point.spatialReference)
//create a new feature and assign the geometry
let newFeature = featureCollectionTable.createFeature()
newFeature.geometry = point
//add the new feature to the feature collection table
featureCollectionTable.add(newFeature) { [weak self] (error: Error?) in
if let error = error {
//show error
SVProgressHUD.showError(withStatus: error.localizedDescription, maskType: .gradient)
}
else {
self?.performGeoprocessing(featureCollectionTable)
}
}
}
private func performGeoprocessing(_ featureCollectionTable: AGSFeatureCollectionTable) {
//geoprocessing parameters
let params = AGSGeoprocessingParameters(executionType: .synchronousExecute)
params.processSpatialReference = featureCollectionTable.spatialReference
params.outputSpatialReference = featureCollectionTable.spatialReference
//use the feature collection table to create the required AGSGeoprocessingFeatures input
params.inputs["Input_Observation_Point"] = AGSGeoprocessingFeatures(featureSet: featureCollectionTable)
//initialize job from geoprocessing task
self.geoprocessingJob = self.geoprocessingTask.geoprocessingJob(with: params)
...
} I hope that helps. Gagandeep Singh
... View more
02-10-2017
01:40 PM
|
0
|
0
|
419
|
POST
|
We have a sample you can use. arcgis-runtime-samples-ios/arcgis-ios-sdk-samples/Maps/Mobile map (search and route) at master · Esri/arcgis-runtime-sam…
... View more
02-10-2017
11:43 AM
|
0
|
0
|
431
|
POST
|
You will need ArcGIS Pro to create mobile map packages. 1. You can refer to the following link on how to add web map from portal in ArcGIS Pro. Add maps and scenes to a project—ArcGIS Pro | ArcGIS Desktop 2. And once you have the desired data or map in Pro, you can read about exporting it as mobile map package here: Create Mobile Map Package—Data Management toolbox | ArcGIS Desktop
... View more
01-31-2017
10:47 AM
|
0
|
3
|
1558
|
POST
|
A tpk is a tile package, you can create from a raster tiled map service if it supports exporting tiles. Or you can use ArcGIS Pro. A web map could a collection of different layers (tiled layer, map image layer, feature layer etc). If you want to take a web map offline you can look into "mmpk"s or Mobile Map Packages. This topic might be helpful: Create an offline map—ArcGIS Runtime SDK for iOS | ArcGIS for Developers
... View more
01-31-2017
08:56 AM
|
0
|
5
|
1558
|
POST
|
1. Can you check if the control is going inside `webMapViewDidLoad` method? You can put a breakpoint at that line in debug mode or simply put a NSLog statement. 2. When you using CLLocationManager code below, did you get the authorization alert in the app, the first time you ran the app? locationManager = CLLocationManager() locationManager.delegate = self locationManager.desiredAccuracy = kCLLocationAccuracyBest locationManager.startUpdatingLocation() locationManager.requestWhenInUseAuthorization() 3. What version of the ArcGIS SDK are you using?
... View more
09-12-2016
11:03 AM
|
0
|
0
|
622
|
POST
|
Can you remove the `locationManager` code, delete the app and install again. And see if you get asked for location authorization?
... View more
09-06-2016
10:36 AM
|
0
|
2
|
622
|
POST
|
In that case would it be possible for you to share the mmpk?
... View more
05-02-2016
02:28 PM
|
0
|
4
|
1398
|
POST
|
It seems like a known issue. As a work around can you make sure there are no empty or non visible layers when creating a mmpk?
... View more
05-02-2016
10:49 AM
|
0
|
6
|
1398
|
Title | Kudos | Posted |
---|---|---|
1 | 04-21-2015 01:56 PM | |
1 | 03-19-2015 02:26 PM | |
1 | 08-20-2014 01:44 PM | |
1 | 02-18-2016 11:48 AM | |
1 | 04-28-2015 01:45 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|