ios - How to set a Mapkit Overlay object's "zPosition"? (i.e. how to access it's view layer?) -


how can access & set layer.zposition property of mapkit overlay?

for example how this:

func mapview(mapview: mkmapview, rendererforoverlay overlay: mkoverlay) -> mkoverlayrenderer {    let layer = overlay.layer // ??? how    layer.zposition = 1 } 

or there way?

background: want approach group mapkitview overlays have have determine types of objects displays on top of other types of objects ?


Comments

Popular posts from this blog

scala - 'wrong top statement declaration' when using slick in IntelliJ -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

PySide and Qt Properties: Connecting signals from Python to QML -