StyleDefinition

public enum StyleDefinition
extension StyleDefinition: Equatable

The map style definition. map style specification

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

    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
  • Defines light vehicle restriction TomTom style.

    Declaration

    Swift

    case vehicleRestrictionsLight
  • Defines dark vehicle restriction TomTom style.

    Declaration

    Swift

    case vehicleRestrictionsDark

Equatable

  • Declaration

    Swift

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