# MGLSymbolZOrder

    enum MGLSymbolZOrder {}

Controls the order in which overlapping symbols in the same layer are rendered

Values of this type are used in the `MGLSymbolStyleLayer.symbolZOrder` property.

- `MGLSymbolZOrderViewportY`

  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

      MGLSymbolZOrderViewportY

  Swift

      case viewportY = 0

  View Source on GitHub
- `MGLSymbolZOrderSource`

  Specify this z order if the order in which features appear in the source is significant.

  #### Declaration

  Objective-C

      MGLSymbolZOrderSource

  Swift

      case source = 1

  View Source on GitHub