Class YMKRequestPoint

There are two types of request points.

A waypoint is a destination. Use it when you plan to stop there. Via points (throughpoints) correct the route to make it pass through all the via points. Waypoints are guaranteed to be between sections in the resulting route. Via points are embedded into sections.

For each request point, you can provide a point context. It's an opaque string that describe entrances, driving arrival points and so on. If such context is provided then a client will get routes to those additional points.

Class Methods

Properties

point

The request point.

pointContext

Opaque string that describe entrances, driving arrival points and so on.

type

The type of request point specified.

Method Detail

+requestPointWithPoint:type:pointContext:

+ (nonnull YMKRequestPoint *)requestPointWithPoint:(nonnull YMKPoint *)point
                                              type:(YMKRequestPointType)type
                                      pointContext:(nullable NSString *)pointContext 

Property Detail

point

(assign, readonly) YMKPoint * point

The request point.

pointContext

(assign, readonly) NSString * pointContext

Opaque string that describe entrances, driving arrival points and so on.

Optional property, can be null.

type

(assign, readonly) YMKRequestPointType type

The type of request point specified.