OYMRoutePoint Class Reference

Inherits from NSObject
Conforms to OYMJsonProtocol
Declared in OYMRoutePoint.h
OYMRoutePoint.m

Overview

This class defines a point that shall be used for the routing.

Other Methods

  longitude

WGS84 Longitude

@property (readonly) NSNumber *longitude

Declared In

OYMRoutePoint.h

  latitude

WGS84 Latitude

@property (readonly) NSNumber *latitude

Declared In

OYMRoutePoint.h

  floorNumber

Floor number

@property (readonly) NSNumber *floorNumber

Declared In

OYMRoutePoint.h

  )

WGS84 Latitude

@property (readonly) NSNumber *DEPRECATED_MSG_ATTRIBUTE ( "Use #longitude instead." )

Declared In

OYMRoutePoint.h

  building

ID of the building

@property (readonly) NSString *building

Declared In

OYMRoutePoint.h

– initWithX:andY:andFloorNumber:andBuildingId:

Point constructor.

- (instancetype)initWithX:(NSNumber *)_x andY:(NSNumber *)_y andFloorNumber:(NSNumber *)_floorNumber andBuildingId:(NSString *)_building

Parameters

_x

WGS84 longitude

_y

WGS84 latitude

_floorNumber

Floor number

_building

Building ID

Declared In

OYMRoutePoint.h

– initWithLatitude:andLongitude:andBuilding:andFloorNumber:

Point constructor.

- (instancetype)initWithLatitude:(NSNumber *)_latitude andLongitude:(NSNumber *)_longitude andBuilding:(NSString *)_building andFloorNumber:(NSNumber *)_floorNumber

Parameters

_latitude

WGS84 Latitude

_longitude

WGS84 Longitude

_building

Building ID

_floorNumber

Floor number

Declared In

OYMRoutePoint.h

– getCLLocationCoordinate2D

Getter for the CLLocationCoordinate2D object.

- (CLLocationCoordinate2D)getCLLocationCoordinate2D

Return Value

The corresponding CLLocationCoordinate2D object

Declared In

OYMRoutePoint.h

Extension Methods

  x

WGS84 Longitude

@property (readwrite) NSNumber *x

Declared In

OYMRoutePoint.m

  y

WGS84 Latitude

@property (readwrite) NSNumber *y

Declared In

OYMRoutePoint.m

  buildingId

ID of the building

@property (readwrite) NSString *buildingId

Declared In

OYMRoutePoint.m