|
POST
|
AGSRouteResult has properties like totalMinutes, totalMiles, etc that you can use. 10.2.5: AGSRouteResult Class Reference But you'll probably have to set up the accumulateAttributes of AGSRouteTaskParameters to include the time and distance attributes. 10.2.5: AGSRouteTaskParameters Class Reference This is how it is done by the offline routing sample - arcgis-runtime-samples-ios/ViewController.swift at master · Esri/arcgis-runtime-samples-ios · GitHub- - but you might have to change the attribute names to match the ones that are available with the route.arcgis.com service
... View more
05-12-2016
11:20 AM
|
0
|
0
|
656
|
|
POST
|
>this returns all of the layers in the mapView.operationalLayers array -- not the layers at the given map-point Yes, it currently (quartz beta2) returns results for every layer, but we plan to change that to return results for only those layers that have features at that location. For now, you will have to filter out the AGSIdentifyLayerResult that do not have any associated geoElements - that's a sign there were no features for that layer at the location PS - For quartz beta related questions, please post to forums in the Early Adopter site https://earlyadopter.esri.com/project/forum/topic.html?cap=59D261350FB84BE48C01CF04BF2A3AA1&forid={F6786AAB-E6F4-4996-98…
... View more
05-12-2016
10:34 AM
|
0
|
0
|
1169
|
|
POST
|
Take a look at this demo - tips-and-tricks-ios/UC2013_TipsAndTricksDemos/FreehandSketch at master · Esri/tips-and-tricks-ios · GitHub , it shows how to draw a freehand polyline . You can enhance it to join the first and last vertex to draw a polygon instead.
... View more
05-12-2016
10:26 AM
|
0
|
1
|
752
|
|
POST
|
Sounds like you're not sharing the graphic instance but creating separate instances for each mapivew. On this, instead of doing a copy() of the original graphic, can you alloc/init a new one for the second mapview just to see if there might be some issues with deep copying. Also Are any of the layer instances shared between the two mapviews? Or do they both have their own instances of the layers? If you can provide a stripped down project that repros the problem it'll help us investigate.
... View more
05-12-2016
10:23 AM
|
0
|
1
|
1044
|
|
POST
|
To get min bounding rectangle of a bunch of geometries, you should union them together using the geometry engine - 10.2.5: AGSGeometryEngine Union You can then use the envelope of the resulting geometry
... View more
02-23-2016
09:55 PM
|
2
|
1
|
2798
|
|
POST
|
I think maybe the point you're getting back after applying an offset does not have a spatial reference set on it. So when you go to project it you get weird values, but when you try to save that geometry to the database, the database notices there isn't a spatial reference so it assumes it is in the native spatial reference of the data and assigns it that in the database. When next time you refetch the feature it has the correct spatial reference which projects nicely. Boy, that was a mouthful. Bottom line, just make sure all your geometries have the right spatial reference along each step, and see if that solves anything
... View more
02-19-2016
02:08 PM
|
0
|
0
|
385
|
|
POST
|
Thanks for reporting. We've taken note of this and will let you know when we look into it.
... View more
02-05-2016
10:54 AM
|
0
|
0
|
740
|
|
POST
|
Here's a demo of free hand sketch functionality on top of map view tips-and-tricks-ios/UC2013_TipsAndTricksDemos/FreehandSketch at master · Esri/tips-and-tricks-ios · GitHub
... View more
02-01-2016
03:01 PM
|
3
|
1
|
1155
|
|
POST
|
Thanks for all your feedback. At the next release of the SDK, you will be able upload attachments even if you opted to skip them while generating the initial geodatabase. You will also be able to control the behavior sync operations for attachments - whether you want to only upload, both upload and download, or nothing at all.
... View more
01-27-2016
04:18 PM
|
0
|
1
|
1436
|
|
POST
|
Can you provide some code to reproduce this problem?
... View more
12-07-2015
03:58 PM
|
0
|
0
|
1008
|
|
POST
|
Have you tried calling AGSMapView#reset to clear the map view and then adding layers?
... View more
11-23-2015
01:41 PM
|
0
|
2
|
1008
|
|
POST
|
The file.zip is the original download that cocoapods fetches when you install the pod. It contains ArcGIS library and has to be unzipped so thats why you end up with both those files on disk. We try to keep the ArcGIS library as compact as possible, but it is going to get bigger as we add more capabilities in future releases. We're also starting to bitcode-enable the library and that causes the size to significantly increase.
... View more
11-23-2015
01:39 PM
|
0
|
0
|
2256
|
|
POST
|
Use AGSWebMap#webMapLayerInfoForLayer:sublayerInfo: to find the corresponding webmaplayerinfo for a layer You can then inspect the webmaplayerinfo for title and other settings to display in the UI, but to change the visibility or appearance you need to modify the layer. The *info objects are intended to be read-only to give you information on how the webmap was configured.
... View more
11-23-2015
01:15 PM
|
0
|
1
|
927
|
|
POST
|
If you are using feature layer (AGSFeatureLayer class), that will query the service for the raw feature data (geometry, attributes, etc) and then draw them on the client. Depending upon how much data is returned by the service, this could be expensive. Some tricks to optimize this is to limit the attributes requested by the layer (by setting the outFields parameter on the layer), and if you don't intend to edit the geometry, also generalizing feature geometry (by setting the maxAllowableOffset) which will remove unnecessary vertices and help reduce size. Another alternative to using feature layer is to use dynamic map service layer (AGSDynamicMapServiceLayer class) that will export images from the service instead of querying the data. In some cases, the image would be much smaller than the raw data, but you won't be able to edit on the client. Or if the service has been pre cached into tiles you can use a tiled map service layer (AGSTiledMapServiceLayer class). This is less expensive than exporting images on the fly and instead uses pre-generated tiles which are then assembled on the client. Some related reading - Layer types—ArcGIS Runtime SDK for iOS | ArcGIS for Developers
... View more
11-23-2015
01:08 PM
|
1
|
1
|
1308
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-02-2025 12:39 PM | |
| 1 | 10-01-2024 12:36 PM | |
| 1 | 05-10-2024 02:32 PM | |
| 1 | 07-10-2023 11:12 AM | |
| 1 | 06-15-2023 09:59 AM |
| Online Status |
Offline
|
| Date Last Visited |
a month ago
|