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.
An operation to compare two instances of StyleDefinition
.
It does this by comparing each instance’s styleURL
and layerMappingURL
.
If both are matching the others’, this operation returns true
.
Declaration
Swift
public static func == (lhs: StyleDefinition, rhs: StyleDefinition) -> Bool
Parameters
lhs
|
A |
rhs
|
Another |
Return Value
a Boolean value indicating the equality of two instances of StyleDefinition
.
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 dark TomTom style.
Declaration
Swift
case dark
Defines standard dark driving TomTom style.
Declaration
Swift
case drivingDark
Defines standard driving TomTom style.
Declaration
Swift
case drivingLight
Defines default light TomTom style.
Declaration
Swift
case light
Defines satellite imagery TomTom style.
Declaration
Swift
case satellite
Defines dark vehicle restriction TomTom style.
Declaration
Swift
case vehicleRestrictionsDark
Defines light vehicle restriction TomTom style.
Declaration
Swift
case vehicleRestrictionsLight