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) NSInteger identifier

Discussion

The unique identifier of the viapoint.

Declared In

SKViaPoint.h

  coordinate

The coordinate of the viapoint.

@property (nonatomic, assign) CLLocationCoordinate2D coordinate

Discussion

The coordinate of the viapoint.

Declared In

SKViaPoint.h

+ viaPoint

Creates a newly initialized SKViaPoint object with the default values.

+ (instancetype)viaPoint

Discussion

Creates a newly initialized SKViaPoint object with the default values.

Declared In

SKViaPoint.h

+ viaPointWithIdentifier:coordinate:

Creates a newly initialized SKViaPoint object.

+ (instancetype)viaPointWithIdentifier:(NSInteger)viaPointID coordinate:(CLLocationCoordinate2D)viaPointCoordinate

Parameters

viaPointID

The unique identifier of the viapoint.

viaPointCoordinate

The location of the viapoint.

Discussion

Creates a newly initialized SKViaPoint object.

Declared In

SKViaPoint.h