MGLSymbolZOrder
enum MGLSymbolZOrder : NSUInteger {}
                Controls the order in which overlapping symbols in the same layer are rendered
Values of this type are used in the MGLSymbolStyleLayer.symbolZOrder
property.
- 
                  
                  
If
MGLSymbolStyleLayer.symbolSortKeyis set, sort based on that. Otherwise sort symbols by their y-position relative to the viewport.Declaration
Objective-C
MGLSymbolZOrderAutoSwift
case auto = 0 - 
                  
                  
Specify this z order if symbols’ appearance relies on lower features overlapping higher features. For example, symbols with a pin-like appearance would require this z order.
Declaration
Objective-C
MGLSymbolZOrderViewportYSwift
case viewportY = 1 - 
                  
                  
Specify this z order if the order in which features appear in the source is significant.
Declaration
Objective-C
MGLSymbolZOrderSourceSwift
case source = 2 
              Install in Dash
            
        MGLSymbolZOrder Enumeration Reference