In older versions of the SDK AGSMapView's addMapLayer:withName returned a UIView<AGSMapLayer> (or some similarly named protocol) but in the newer version of the SDK that method returns void.
My use case is this: I'd like to have the UIView for that layer to adjust its transparency arbitrarily at runtime. Maybe this isn't the most effective way to do this. Is there a better way to adjust the transparency, or barring that, is there a way to retrieve the UIView created after I call addMapLayer:withName?
Solved! Go to Solution.
The current version of the ArcGIS Runtime SDK does not return a UIVIew as you already experience, to change the transparency, there is a property call opacity per layer that allows you to do that.
10.2.4: AGSLayer Class Reference
Hope this helps
Cheers
Al
The current version of the ArcGIS Runtime SDK does not return a UIVIew as you already experience, to change the transparency, there is a property call opacity per layer that allows you to do that.
10.2.4: AGSLayer Class Reference
Hope this helps
Cheers
Al
I have no idea how I missed this, I thought I searched the header specifically for 'opacity' - apparently not! In my defense I was having a very rough Friday.
Thanks!