MapKit Mobile SDK

MMKRequestPoint

class MMKRequestPoint : NSObject

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.

Summary

Class methods

 init(point: MMKPoint,
       type: MMKRequestPointType,
 pointContext: String?,
 drivingArrivalPointId: String?)

Properties

var pointMMKPoint { get }
The request point

var typeMMKRequestPointType { get }
The type of request point specified

var pointContext: String? { get }
Opaque string that describe entrances, driving arrival points and so on

var drivingArrivalPointId: String? { get }
Specifies what driving arrival point to use

Class methods

init(point:type:pointContext:drivingArrivalPointId:)

 init(point: MMKPoint,
       type: MMKRequestPointType,
 pointContext: String?,
 drivingArrivalPointId: String?)


Properties

point

var point: MMKPoint { get }

The request point.


type

var type: MMKRequestPointType { get }

The type of request point specified.


pointContext

var pointContext: String? { get }

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

Optional field, can be nil.


drivingArrivalPointId

var drivingArrivalPointId: String? { get }

Specifies what driving arrival point to use. If point is not specified then server will select one.

Optional field, can be nil.