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
RoadShieldSection
instance.Declaration
Swift
public init(sectionLocation: SectionLocation, routeOffset: Measurement<UnitLength>, length: Measurement<UnitLength>)
Parameters
sectionLocation
The location of the section.
routeOffset
The offset on the route where the section starts.
length
The length of the section.
-
Creates a new
RoadShieldSection
instance.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
sectionLocation
The location of the section.
routeOffset
The offset on the route where the section starts.
length
The length of the section.
roadShieldReferences
A 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]