MBMMapDebugOptions

enum MBMMapDebugOptions : NSInteger {}

Options for enabling debugging features in a map.

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

    Declaration

    Objective-C

    MBMMapDebugOptionsTileBorders

    Swift

    case tileBorders = 0
  • Each tile shows its tile coordinate (x/y/z) in the upper-left corner.

    Declaration

    Objective-C

    MBMMapDebugOptionsParseStatus

    Swift

    case parseStatus = 1
  • Each tile shows a timestamps with modified and expires dates or n/a if timestamp is not available.

    Declaration

    Objective-C

    MBMMapDebugOptionsTimestamps

    Swift

    case timestamps = 2
  • Edges of glyphs and symbols are shown as faint, green lines to help diagnose collision and label placement issues.

    Declaration

    Objective-C

    MBMMapDebugOptionsCollision

    Swift

    case collision = 3
  • Each drawing operation is replaced by a translucent fill. Overlapping drawing operations appear more prominent to help diagnose overdrawing.

    Declaration

    Objective-C

    MBMMapDebugOptionsOverdraw

    Swift

    case overdraw = 4
  • The stencil buffer is shown instead of the color buffer.

    Declaration

    Objective-C

    MBMMapDebugOptionsStencilClip

    Swift

    case stencilClip = 5
  • The depth buffer is shown instead of the color buffer.

    Declaration

    Objective-C

    MBMMapDebugOptionsDepthBuffer

    Swift

    case depthBuffer = 6
  • Visualize residency of tiles in the render cache. Tile boundaries of cached tiles are rendered with green, tiles waiting for an update with yellow and tiles not in the cache with red.

    Declaration

    Objective-C

    MBMMapDebugOptionsRenderCache

    Swift

    case renderCache = 7
  • Show 3D model bounding boxes.

    Declaration

    Objective-C

    MBMMapDebugOptionsModelBounds

    Swift

    case modelBounds = 8
  • Show a wireframe for terrain.

    Declaration

    Objective-C

    MBMMapDebugOptionsTerrainWireframe

    Swift

    case terrainWireframe = 9