POST
|
Are you adding the graphics overlays to the mapview?
... View more
10-21-2021
06:35 AM
|
0
|
1
|
823
|
POST
|
Also, you can look in our samples repo for similar examples that do what you are trying to do. This sample in particular seems to be related to your project.
... View more
09-17-2021
07:29 AM
|
0
|
2
|
1859
|
POST
|
By a quick visual inspection, nothing stands out as being incorrect per se in that code dealing with the line symbol. I think you should spend some time debugging it and making sure that your poly line geometry is properly formed as you would expect. Unfortunately this forum isn't setup for debugging, you will need to do that on your own. In terms of your original question in this thread, I think that has been answered. Please continue to look at the migration doc that we linked to above for migration issues.
... View more
09-17-2021
07:21 AM
|
0
|
0
|
1859
|
POST
|
You are passing an `AGSPolylineBuilder *` to a function that takes an `AGSGeometry *`. You need to call `toGeometry` on your builder to get a geometry that you can pass to the function.
... View more
09-16-2021
08:21 AM
|
0
|
5
|
1878
|
POST
|
Very similar question was answered here. There is a document here describing migration changes from 10.2.x to 100.x. The home page for the iOS runtime SDK provides many samples and sample code. Also the API reference is available. Per the screen shots you provided: To add a layer to a map view, you add the layer to an AGSMap through the operationalLayers property and then assign the AGSMap to your AGSMapView. The code now would look something more like: AGSMap* map = [[AGSMap alloc]init];
[map.operationalLayers addObject:TianDyTuLyr];
[map.operationalLayers addObject:TianDyTuLyr_Anno];
self.mapView.map = map; Alternatively, you can add your layers to the AGSMap.basemap if that better suits your intention.
... View more
09-09-2021
07:07 AM
|
0
|
8
|
1955
|
POST
|
As a workaround to a URLSession bug that starts the "timeout" countdown as soon as a request is queued, we've had to add an additional queue around URLSession. Our queue size matches URLSession HTTPMaximumConnectionsPerHost. However, we do not take the port into consideration when queueing up the requests, we only look at the host. If apple is looking also at the port, we could potentially do the same. Can you log an issue through support?
... View more
07-08-2021
12:41 PM
|
0
|
1
|
1828
|
POST
|
Runtime makes requests via a URLSession that it creates internally. Runtime uses the default `HTTPMaximumConnectionsPerHost` setting and does not expose a way to configure that setting.
... View more
07-08-2021
07:45 AM
|
1
|
3
|
1850
|
POST
|
Nevermind - I realize that you still want to be able to move vertices. I don't think we have anything at this time that allows you to move but not add vertices.
... View more
06-14-2021
08:03 AM
|
1
|
0
|
1318
|
POST
|
There is an `editConfiguration` property of the sketch editor. On that property you can set the `vertexEditMode` to `AGSSketchVertexEditModeSelectOnly` (`.selectOnly` if using Swift). I think that should do what you want: /**
Specifies permitted operations on the vertices of the geometry.
@since 100.2
*/
typedef NS_ENUM(NSInteger, AGSSketchVertexEditMode) {
AGSSketchVertexEditModeInteractionEdit, /*!< Users can interactively select, add, remove, and move vertices. */
AGSSketchVertexEditModeSelectOnly /*!< Users can interactively only select vertices. Vertices cannot be added, moved, or removed interactively. */
};
... View more
06-14-2021
08:01 AM
|
0
|
0
|
1318
|
POST
|
There is a document here describing changes from 10.2.x to 100.x. The latest version is 100.11.1 (not 100.4). The home page for the iOS runtime SDK provides many samples and sample code. Also the API reference is available. Per the screen shots you provided: AGSGraphicsLayer is now AGSGraphicsOverlay AGSMapViewTouchDelegate is now AGSGeoViewTouchDelegate AGSGeometryEngine - there is no more shared "singleton" instance. All methods are now just static (class methods). wgs84SpatialReference is now just WGS84 pictureMarkerSymbolWithImageNamed is now just pictureMarkerSymbolWithImage (pass in a UIImage that you create with a name) To add graphics to a previous graphics layer, you now go through the AGSGraphicsOverlay.graphics NSMutableArray To add a graphics layer to a map, you use AGSMapView.graphicsOverlays to center a map at a point, you use the AGSMapView.setViewpoint methods.
... View more
06-09-2021
08:41 AM
|
1
|
2
|
1306
|
POST
|
To narrow down the issue it would be helpful to have some questions answered please. What models of devices are you seeing this on? What operating system versions are they running? What kind of data are you showing in your maps? Any insight to help us narrow down the issue and reproduce it would be helpful.
... View more
03-02-2020
08:00 AM
|
0
|
1
|
1931
|
POST
|
You are correct. At this point estimating the size of a geodatabase downloaded from the AGSGeodatabaseSyncTask is not supported.
... View more
02-20-2020
12:32 PM
|
0
|
0
|
406
|
POST
|
Usually when completions aren't called it's because the object that the async method was on was deallocated. In your case that would be `offlineMapExportTask`. Can you verify that the object is around for the lifetime of the async call?
... View more
02-20-2020
12:30 PM
|
0
|
0
|
377
|
POST
|
As far as I can tell these exceptions are harmless. They are caught by the c++ code wrapping pplx. All signs point to them being expected exceptions, most likely related to async data fetching tasks that were cancelled when the mapview was deallocated. You can turn off the C++ exception breakpoint and not see them (Just create an objective-c only exception breakpoint). That would only be important for you if you have C++ code in your app.
... View more
02-20-2020
12:26 PM
|
1
|
0
|
1102
|
POST
|
You can change selection color like so in swift: // set selection color
let sp = AGSSelectionProperties(color: Color.green)
mapView.selectionProperties = sp
... View more
04-09-2019
08:11 AM
|
1
|
4
|
1303
|
Title | Kudos | Posted |
---|---|---|
1 | 12-04-2018 09:10 AM | |
1 | 07-08-2021 07:45 AM | |
1 | 06-14-2021 08:03 AM | |
1 | 06-09-2021 08:41 AM | |
1 | 11-22-2016 02:08 PM |
Online Status |
Offline
|
Date Last Visited |
10-21-2021
08:05 AM
|