SKViaPoint Class Reference

Inherits from NSObject
Declared in SKViaPoint.h

Overview

The SKViaPoint is used to store information about a viapoint used for route calculation.

  identifier

The unique identifier of the viapoint.

@property (nonatomic, assign) int identifier

Discussion

The unique identifier of the viapoint.

Declared In

SKViaPoint.h

  coordinate

The location of the viapoint.

@property (nonatomic, assign) CLLocationCoordinate2D coordinate

Discussion

The location of the viapoint.

Declared In

SKViaPoint.h

+ viaPoint

A newly initialized default SKViaPoint object.

+ (instancetype)viaPoint

Discussion

A newly initialized default SKViaPoint object.

Declared In

SKViaPoint.h

+ viaPoint:withCoordinate:

A newly initialized SKViaPoint object.

+ (instancetype)viaPoint:(int)viaPointID withCoordinate:(CLLocationCoordinate2D)viaPointCoordinate

Parameters

viaPointID

The unique identifier of the viapoint.

viaPointCoordinate

The location of the viapoint.

Discussion

A newly initialized SKViaPoint object.

Declared In

SKViaPoint.h