IAWayfinding Class Reference
Inherits from | NSObject |
---|---|
Declared in | wayfinding.h wayfinding.mm |
– initWithGraph:
Constructor. Sets the wayfinding graph. Throws exception if graph cannot be set.
- (id)initWithGraph:(NSString *)graphJson
Parameters
graphJson |
Wayfinding graph in JSON format |
---|
Return Value
id of the object
Discussion
Constructor. Sets the wayfinding graph. Throws exception if graph cannot be set.
Declared In
wayfinding.h
– setDestinationWithLatitude:Longitude:Floor:
Set destination point.
- (void)setDestinationWithLatitude:(double)lat Longitude:(double)lon Floor:(int)floor
Parameters
lat |
Latitude of the destination in WGS coordinates |
---|---|
lon |
Longitude of the destination in WGS coordinates |
floor |
Floor number of the destination |
Discussion
Set destination point.
Declared In
wayfinding.h
– setLocationWithLatitude:Longitude:Floor:
Set current location point.
- (void)setLocationWithLatitude:(double)lat Longitude:(double)lon Floor:(int)floor
Parameters
lat |
Latitude of the location in WGS coordinates |
---|---|
lon |
Longitude of the location in WGS coordinates |
floor |
Floor of the location |
Discussion
Set current location point.
Declared In
wayfinding.h
– getRoute
Returns the route from location to destination.
- (NSArray *)getRoute
Return Value
Array of routing legs. Array is empty, if route cannot be computed.
Discussion
Returns the route from location to destination.
Declared In
wayfinding.h