RouteSearchPoint | iOS SDK | 2GIS Documentation
iOS SDK

RouteSearchPoint

Description of the points on which the route is built.

public init(
    coordinates: GeoPoint,
    course: Bearing? = nil,
    objectId: DgisObjectId = DgisObjectId(objectId: 0, entranceId: 0),
    levelId: LevelId? = nil
)
Parameters
coordinates
course
objectId
levelId
Properties

Coordinates through which to route.

The direction in which to traverse the point.

The ID of the object to which the walking part of the route will be traversed.

Identifier of the floor plan (for pedestrian routes).