Class IWRoutingClient

Extends ARoutingClient.

A class representing a router client.

Author: JAN

Constructor Summary
IWRoutingClient()
            Creates a new router client object.
 
Method Summary
 IWRouteOptions getRouteOptions()
           Returns the routing options.
 void route(start, destination, interstations)
           Calculates the route between the start and destination coordinates. set, the interstation coordinates will be consider during route calculation.
 void setRouteOptions(routeOptions)
           Sets the routing options.
 String toString()
           Returns a string representation of this object.
 
Event Summary
 void triggerOnRoute(event)
           The onRoute event is fired when the route has been calculated.

Register an event listener with IWEventManager.addListener(theRouterClient, 'onroute', yourHandlerMethod(event)); to receive the IWRoutingEvent.

 
Methods inherited from class ARoutingClient
getRouteType()
getLogger()


Constructor Detail

IWRoutingClient

IWRoutingClient()

Method Detail

getRouteOptions

IWRouteOptions getRouteOptions()

route

void route(start, destination, interstations)

setRouteOptions

void setRouteOptions(routeOptions)

toString

String toString()

Event Detail

triggerOnRoute

void triggerOnRoute(event)

Source-Code Copyright 2007-2009 infoware GmbH - Documentation generated by JsDoc Toolkit 1.4.1 on Tue Nov 28 2017 09:51:52 GMT+0100 (MEZ)