StyleDefinition

public enum StyleDefinition
extension StyleDefinition: Equatable

Defines the location of the map style. Style should be in V2 format. map style specification

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Defines custom map style.

    Declaration

    Swift

    case custom(style: URL, layerMapping: URL? = nil)
  • Defines default light TomTom style.

    Declaration

    Swift

    case light
  • Defines default dark TomTom style.

    Declaration

    Swift

    case dark
  • Defines standard driving TomTom style.

    Declaration

    Swift

    case drivingLight
  • Defines standard dark driving TomTom style.

    Declaration

    Swift

    case drivingDark
  • Defines satellite imagery TomTom style.

    Declaration

    Swift

    case satellite

Equatable

  • Declaration

    Swift

    public static func == (lhs: StyleDefinition, rhs: StyleDefinition) -> Bool