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 timestamp indicating when it was loaded.
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
-
Show 3D model bounding boxes.
Declaration
Objective-C
MBMMapDebugOptionsModelBounds
Swift
case modelBounds = 7
-
Show a wireframe for terrain. Currently supported for GL backend only.
Declaration
Objective-C
MBMMapDebugOptionsTerrainWireframe
Swift
case terrainWireframe = 8
-
Show a wireframe for 2d layers. Currently supported for GL backend only.
Declaration
Objective-C
MBMMapDebugOptionsLayers2DWireframe
Swift
case layers2DWireframe = 9
-
Show a wireframe for 3d layers. Currently supported for GL backend only.
Declaration
Objective-C
MBMMapDebugOptionsLayers3DWireframe
Swift
case layers3DWireframe = 10
-
Each tile shows its local lighting conditions in the upper-left corner. (If
lights
properties are used, otherwise they show zero.)Declaration
Objective-C
MBMMapDebugOptionsLight
Swift
case light = 11