IDEA
|
The ArcGIS Runtime SDK for iOS automatically adds an attribution control at the bottom of the map. It blends well in light appearance but is much more jarring in dark appearance (compare "light-current.png" with "dark-current.png"). Because newer iPhones have a larger area below the safe area (to accommodate rounded screen corners and the home indicator), the attribution control's background is larger than on older iPhones. Moreover, when combined with a standard iOS tab bar, the bright background of the map attribution control bleeds into the translucent tab bar, reducing its contrast and making its contents harder to read. My idea is to reduce the apparent brightness of the map attribution control when in dark appearance. For example, by switching to white text on a dark background — see the attached mockup named "dark-proposed.png".
... View more
02-27-2020
11:58 AM
|
1
|
4
|
2755
|
POST
|
Can Arcade expressions be used in AGSUniqueValueRenderer in a similar fashion as the valueExpression property of UniqueValueRenderer in the JavaScript API? I need to define symbols based on selective values across multiple attributes (e.g. attribute A = "foo" OR attribute B = "bar") and I can't figure out how to achieve that using AGSUniqueValueRenderer in the iOS SDK. Is there a way? I also didn't have much luck subclassing AGSRenderer and defining my own symbolForFeature logic.
... View more
10-18-2019
05:18 PM
|
0
|
1
|
521
|
POST
|
I defined dark variants for all UIColor objects used in symbols for the feature layers and graphic overlays. While it loads the correct variant initially, it doesn't automatically adapt when I toggle Dark Mode. Do I have to listen for interface style changes and manually re-set symbols in all the layers and overlays? Or is there a way to ask them to re-render?
... View more
10-18-2019
11:41 AM
|
0
|
1
|
530
|
POST
|
I will give UniqueValueRenderer a try. Thanks for bringing this up with your team!
... View more
04-23-2019
11:38 AM
|
0
|
0
|
1114
|
POST
|
Thank you both for your replies. Setting selectionProperties.color to UIColor.clear worked; it lets me hide the halo so I can apply a different symbol (thicker outlines and darker fill color) to a selected graphic manually. However, managing selection is still much more involved than 10.2.x where I could have set each graphic's selectionSymbol ahead of time and not have to manually change the graphic's symbol at every selection/deselection. The same goes for AGSFeatureLayer; the selectionSymbol property is gone in 100.x. Do you know what the rationale was for removing those properties in the new SDK and not having a similar alternative?
... View more
04-12-2019
11:34 AM
|
0
|
2
|
1114
|
POST
|
In 100.x, graphic selection does not seem to be customizable. When graphic overlay's selectGraphics() is called, the map always highlights the graphics with a cyan outline. In 10.2.x, selection was easily customizable by setting a selectionSymbol on the graphic. Is there an equivalent or similar way in 100.x? From an earlier discussion (https://community.esri.com/thread/195355-selecting-a-graphic-in-agsgraphicsoverlay#comment-688706), it was suggested to manually assign a different symbol upon selection and revert back upon deselection. The problem with this approach is the default cyan outline is still applied to the graphic. Is there a way to disable that cyan outline while still using selectGraphics()? I don't want to skip selectGraphics() because then I will lose the ability to use selectedGraphics() and clearSelection().
... View more
04-05-2019
07:04 PM
|
0
|
5
|
1318
|
Title | Kudos | Posted |
---|---|---|
1 | 02-27-2020 11:58 AM |
Online Status |
Offline
|
Date Last Visited |
02-04-2021
06:03 PM
|