RoadShieldSection
public struct RoadShieldSection : Section, SectionInitiable
The RoadShieldSection struct contains information about a part of the route going by roads with road shields.
-
Creates a
RoadShieldSectioninstance.Declaration
Swift
public init(sectionLocation: SectionLocation, routeOffset: Measurement<UnitLength>, length: Measurement<UnitLength>)Parameters
sectionLocationThe location of the section.
routeOffsetThe offset on the route where the section starts.
lengthThe length of the section.
-
Creates a new
RoadShieldSectioninstance.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public init( sectionLocation: SectionLocation, routeOffset: Measurement<UnitLength>, length: Measurement<UnitLength>, roadShieldReferences: [RoadShieldReference] )Parameters
sectionLocationThe location of the section.
routeOffsetThe offset on the route where the section starts.
lengthThe length of the section.
roadShieldReferencesA list of references for the road shields.
-
The location of the section.
Declaration
Swift
public var sectionLocation: SectionLocation -
The offset on the route where the section starts.
Declaration
Swift
public var routeOffset: Measurement<UnitLength> -
The length of the section.
Declaration
Swift
public var length: Measurement<UnitLength> -
A list of references for the road shields.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public var roadShieldReferences: [RoadShieldReference]
TomTom SDK for iOS (0.53.1)
RoadShieldSection