POST
|
I am using a AGSLocatorTask to geocode places that match a search term. AGSGeocodeParameters has a maxResults parameter. It stays for "The maximum number of results desired". v10.2.5 had a comment that the search engine limits it to max 20 or so, but in reality the max number returned was and is currently 50. I want the locator to return more results. Is there a way to achieve my goal?
... View more
05-30-2017
12:20 PM
|
0
|
1
|
572
|
POST
|
AGSMapViewDidEndZoomingNotification and AGSMapViewDidEndPanningNotification notifications have been removed. To be informed when a user pans or zooms the maps, you can register a block with the viewpointChangedHandler. Is there any better way to track these removed notifications? Because for the viewpointChangedHandler the comment says: Do not perform any heavy-lifting in this handler as it may adversely impact the rendering performance. So I see that the AGSMapViewDidEndZoomingNotification can be achieved probably by KVO observing of AGSMapView's mapScale property. What's about AGSMapViewDidEndPanningNotification? viewpointChangedHandler notifies me every time but for me the final notification is enough and I don't see any easy way to learn when the viewpointChangedHandler fires the final notification.
... View more
05-26-2017
02:28 PM
|
1
|
3
|
1244
|
POST
|
v10.2.5 had an ability to tell if the mapView contains a graphic: mapView.visibleArea().contains(graphic.geometry.envelope.center). In v 100.0 there is no contains method for mapView.visibleArea which is AGSPolygon. It's easy to just take a polygon and start comparing xmin xmax ymin ymax, the caveat is to do it with respect to rotation angle. Any ideas?
... View more
05-23-2017
01:29 PM
|
0
|
1
|
698
|
POST
|
Sounds good. So my assumption was correct. And what is about specifying selection symbol? I want to use another symbol for a selected graphic, not a color but a graphic symbol. Do you have any ideas?
... View more
05-19-2017
09:31 PM
|
0
|
3
|
643
|
POST
|
I am trying to migrate from iOS SDK 10.2.5 to 100.0.1 and having some questions. I read migration guide and checked examples on the github and still can't get how to select a graphic. First of all, how to specify a selectionSymbol. In 10.2.5 I used to set `AGSGraphicsLayer.selectionSymbol`, the AGSGraphicsOverlay doesn't have such property. It seems that now the layer isn't anymore responsible for graphics selection but still have a method `clearSelection()`. So it looks like I should use `self.mapView.identify(AGSGraphicsOverlay, ...)` method on map touch and then run graphic.isSelected = true on the results. Is it a correct plan? And still how to specify a selection symbol? Or should I change the graphic.symbol each time?
... View more
05-19-2017
02:17 PM
|
0
|
5
|
1213
|
POST
|
Thanks! Tested for a while and seems the issue is gone with dynamic rendering mode.
... View more
03-21-2017
12:36 PM
|
0
|
1
|
413
|
POST
|
I don't add new graphics when I click on the map, I select existing graphics on the map. I don't use the touchDelegate method, bc I set the selection symbol once at the initilization of a custom AGSGraphicsLayer and expect ESRI to use it for marker's selected state when I click on the one of the multiple markers previously added to my custom AGSGraphicsLayer. The marker is AGSGraphic, all graphics are added to single custom AGSGraphicsLayer.
... View more
03-20-2017
11:55 AM
|
0
|
0
|
413
|
POST
|
What's about 10.2.x branch? We don't want to migrate to 100.x so do you have plans to support 10.2.x?
... View more
03-20-2017
09:55 AM
|
0
|
1
|
937
|
POST
|
I am setting a selectionSymbol for my layer this way (iOS SDK v 10.2.5): if let selectionSymbol = AGSPictureMarkerSymbol(image: selectionSymbolImg) { selectionSymbol.offset = CGPoint(x: 0, y: 10) layer.selectionSymbol = selectionSymbol } On the first picture you can see the expected result. However sometime when I select a point on the map the selection symbol gets cut, see second picture. So what's wrong with it? Have can I avoid this behavior? And how can I bring selected point to the front?
... View more
03-20-2017
09:43 AM
|
0
|
5
|
1064
|
Title | Kudos | Posted |
---|---|---|
1 | 05-22-2017 01:52 PM | |
1 | 05-26-2017 02:28 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|