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 guidingInstructions for every maneuver.Contains a set of attributes common to all instructions. Is a part of the
RouteLegwhich 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 moreTurnInstructionwill containturnAngleandturnDirection.Declaration
Swift
public protocol Instruction
-
Represents point of the route received in response from route planning API
See moreImportant
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public protocol RouteStop
Protocols Reference