WRLDRoutingQueryOptions Class Reference

A set of parameters for a WRLDRoutingQuery.

– addWaypoint:

- (void)addWaypoint:(CLLocationCoordinate2D)latLng

Add an outdoor waypoint to the route.

Argument Description
latLng

A CLLocationCoordinate2D this route should pass through.

– addIndoorWaypoint:forIndoorFloor:

- (void)addIndoorWaypoint:(CLLocationCoordinate2D)latLng forIndoorFloor:(int)indoorFloorId

Add an indoor waypoint to the route.

Argument Description
latLng

A CLLocationCoordinate2D this route should pass through.

indoorFloorId

The ID of the floor this point lies on.

– getWaypoints

- (NSMutableArray *)getWaypoints

Get the list of WRLDRoutingQueryWaypoint objects in this query.

Returns:

The waypoints in this query.

– setTransportationMode:

- (void)setTransportationMode:(WRLDRouteTransportationMode)transportationMode

Set the desired transportation mode for the route, e.g. Walking or Driving. The default mode is Walking. Driving routes are available for limited areas. Please contact support@wrld3d.com for details.

Argument Description
transportationMode

An Enum that represents transportationMode, e.g Walking or Driving.

– getTransportationMode

- (WRLDRouteTransportationMode)getTransportationMode

Gets the transportationMode for the type of route that should be queried, e.g. Walking or Driving.

Returns:

The transportation mode in this query.

v0.0.1600