Protocols
The following protocols are available globally.
-
Represents an instruction for a maneuver along the
Route
. In order to guide a driver along the route, the navigation system invokes guidingInstruction
s for every maneuver.Contains a set of attributes common to all instructions. Is a part of the
RouteLeg
which itself is a part of theRoute
.Different types of Instruction will implement this. They may also add extra attributes specific to their Instruction type. e.g.,
See moreTurnInstruction
will containturnAngle
andturnDirection
.Declaration
Swift
public protocol Instruction
-
Represents point of the route received in response from route planning API
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol RouteStop