-
Location of an object represented as a gantry.
Declaration
Swift
case gantry(positions: [RoadObject.Position], shape: Turf.Geometry)
Parameters
positions
Positions of gantry entries.
shape
Shape of a gantry.
-
Location of an object represented as a point.
Declaration
Swift
case point(position: RoadObject.Position)
Parameters
position
Position of the object on the road graph.
-
Location of an object represented as a polygon.
Declaration
Swift
case polygon(entries: [RoadObject.Position], exits: [RoadObject.Position], shape: Turf.Geometry)
Parameters
entries
Positions of polygon entries.
exits
Positions of polygon exits.
shape
Shape of a polygon.
-
Location of an object represented as a polyline.
Declaration
Swift
case polyline(path: RoadGraph.Path, shape: Turf.Geometry)
Parameters
path
Position of a polyline on a road graph.
shape
Shape of a polyline.
-
Location of an object represented as a subgraph.
Declaration
Swift
case subgraph(enters: [RoadObject.Position], exits: [RoadObject.Position], shape: Turf.Geometry, edges: [RoadGraph.SubgraphEdge.Identifier: RoadGraph.SubgraphEdge])
Parameters
enters
Positions of the subgraph enters.
exits
Positions of the subgraph exits.
shape
Shape of a subgraph.
edges
Edges of the subgraph associated by id.
-
Location of an object represented as an OpenLR line.
Declaration
Swift
case openLRLine(path: RoadGraph.Path, shape: Turf.Geometry)
Parameters
path
Position of a line on a road graph.
shape
Shape of a line.
-
Location of an object represented as an OpenLR point.
Declaration
Swift
case openLRPoint(position: RoadGraph.Position, sideOfRoad: OpenLRSideOfRoad, orientation: OpenLROrientation, coordinate: CLLocationCoordinate2D)
Parameters
position
Position of the point on the graph.
sideOfRoad
Specifies on which side of road the point is located.
orientation
Specifies orientation of the object relative to referenced line.
coordinate
Map coordinate of the point.
-
Location of a route alert.
Declaration
Swift
case routeAlert(shape: Turf.Geometry)
Parameters
shape
Shape of an object.