AnsweredAssumed Answered

Get the UIView representing my layer after calling addMapLayer:withName on AGSMapView?

Question asked by powerje on Oct 31, 2014
Latest reply on Nov 3, 2014 by powerje

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?

Outcomes