MGLMapDebugMaskOptions

enum MGLMapDebugMaskOptions : NSUInteger {}

Options for enabling debugging features in an MGLMapView instance.

  • Edges of tile boundaries are shown as thick, red lines to help diagnose tile clipping issues.

    Declaration

    Objective-C

    MGLMapDebugTileBoundariesMask = 1 << 1

    Swift

    static var tileBoundariesMask: MGLMapDebugMaskOptions { get }
  • Each tile shows its tile coordinate (x/y/z) in the upper-left corner.

    Declaration

    Objective-C

    MGLMapDebugTileInfoMask = 1 << 2

    Swift

    static var tileInfoMask: MGLMapDebugMaskOptions { get }
  • Each tile shows a timestamp indicating when it was loaded.

    Declaration

    Objective-C

    MGLMapDebugTimestampsMask = 1 << 3

    Swift

    static var timestampsMask: MGLMapDebugMaskOptions { get }
  • Edges of glyphs and symbols are shown as faint, green lines to help diagnose collision and label placement issues.

    Declaration

    Objective-C

    MGLMapDebugCollisionBoxesMask = 1 << 4

    Swift

    static var collisionBoxesMask: MGLMapDebugMaskOptions { get }
  • Each drawing operation is replaced by a translucent fill. Overlapping drawing operations appear more prominent to help diagnose overdrawing. - note: This option does nothing in Release builds of the SDK.

    Declaration

    Objective-C

    MGLMapDebugOverdrawVisualizationMask = 1 << 5

    Swift

    static var overdrawVisualizationMask: MGLMapDebugMaskOptions { get }
  • The stencil buffer is shown instead of the color buffer. - note: This option does nothing in Release builds of the SDK.

    Declaration

    Objective-C

    MGLMapDebugStencilBufferMask = 1 << 6

    Swift

    static var stencilBufferMask: MGLMapDebugMaskOptions { get }
  • The depth buffer is shown instead of the color buffer. - note: This option does nothing in Release builds of the SDK.

    Declaration

    Objective-C

    MGLMapDebugDepthBufferMask = 1 << 7

    Swift

    static var depthBufferMask: MGLMapDebugMaskOptions { get }