Anchor

public enum Anchor : String, Codable, CaseIterable

Whether extruded geometries are lit relative to the map or viewport.

  • map

    The position of the light source is aligned to the rotation of the map.

    Declaration

    Swift

    case map = "map"
  • The position of the light source is aligned to the rotation of the viewport.

    Declaration

    Swift

    case viewport = "viewport"