StyleDefinition
public enum StyleDefinition
extension StyleDefinition: Equatable
The map style definition. For style file format see map style specification. Style Specification is a formal definition of all properties that define the map’s appearance.
-
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
-
An operation to compare two instances of
StyleDefinition. It does this by comparing each instance’sstyleURLandlayerMappingURL. If both are matching the others’, this operation returnstrue.Declaration
Swift
public static func == (lhs: StyleDefinition, rhs: StyleDefinition) -> BoolParameters
lhsA
StyleDefinitionto compare.rhsAnother
StyleDefinitionto compare.Return Value
a Boolean value indicating the equality of two instances of
StyleDefinition.
TomTom SDK for iOS (0.53.1)
StyleDefinition