MapViewDebugOptions

public struct MapViewDebugOptions : OptionSet, Hashable

Options for enabling debugging features in a map.

  • Declaration

    Swift

    public let rawValue: Int
  • Edges of tile boundaries are shown as thick, red lines to help diagnose tile clipping issues.

    Declaration

    Swift

    public static let tileBorders: MapViewDebugOptions
  • Each tile shows its tile coordinate (x/y/z) in the upper-left corner.

    Declaration

    Swift

    public static let parseStatus: MapViewDebugOptions
  • Each tile shows a timestamp indicating when it was loaded.

    Declaration

    Swift

    public static let timestamps: MapViewDebugOptions
  • Edges of glyphs and symbols are shown as faint, green lines to help diagnose collision and label placement issues.

    Declaration

    Swift

    public static let collision: MapViewDebugOptions
  • Each drawing operation is replaced by a translucent fill. Overlapping drawing operations appear more prominent to help diagnose overdrawing.

    Declaration

    Swift

    public static let overdraw: MapViewDebugOptions
  • The stencil buffer is shown instead of the color buffer.

    Declaration

    Swift

    public static let stencilClip: MapViewDebugOptions
  • The depth buffer is shown instead of the color buffer.

    Declaration

    Swift

    public static let depthBuffer: MapViewDebugOptions
  • Show 3D model bounding boxes.

    Declaration

    Swift

    public static let modelBounds: MapViewDebugOptions
  • Each tile shows its local lighting conditions in the upper-left corner. (If lights properties are used, otherwise they show zero.)

    Declaration

    Swift

    public static let light: MapViewDebugOptions
  • Show a debug UIView with information about the CameraState including lat, long, zoom, pitch, & bearing.

    Declaration

    Swift

    public static let camera: MapViewDebugOptions
  • Declaration

    Swift

    public init(rawValue: Int)