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 list of arrival points (for example, if the request point is a building, you can provide a list of entrances to that building). If there is at least one arrival point, then the router will choose one of them and use it for routing. The point member will be used only as a suggestion. Otherwise, the point itself will be used for routing.

Also, for each point you can specify a list of driving arrival points (for example, places where the driver can park their vehicle). They will be used in nearby alternatives: the router will provide alternatives to these points along with alternatives to the main destination point.

Class Methods

Properties

arrivalPoints

Arrival points.

drivingArrivalPoints

Driving arrival points.

point

The request point.

type

The type of request point specified.

Method Detail

+requestPointWithPoint:arrivalPoints:drivingArrivalPoints:type:

+ (nonnull YMKRequestPoint *)requestPointWithPoint:(nonnull YMKPoint *)point
                                     arrivalPoints:(nonnull NSArray< YMKPoint * > *)arrivalPoints
                              drivingArrivalPoints:(nonnull NSArray< YMKDrivingArrivalPoint * > *)drivingArrivalPoints
                                              type:(YMKRequestPointType)type 

Property Detail

arrivalPoints

(assign, readonly) NSArray< YMKPoint * > * arrivalPoints

Arrival points.

drivingArrivalPoints

(assign, readonly) NSArray< YMKDrivingArrivalPoint * > * drivingArrivalPoints

Driving arrival points.

point

(assign, readonly) YMKPoint * point

The request point.

type

(assign, readonly) YMKRequestPointType type

The type of request point specified.