Class IWRoutingClient

A class representing a routing client.

This class is part of the module routing.


Constructor Summary
IWRoutingClient()
            Creates a new routing client object.
 
Method Summary
 IWRouteOptions getRouteOptions()
           Returns the routing options.
getSerialId()
           undocumented
readObject(json)
           undocumented
 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.
writeObject()
           undocumented
 
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.

 
Constructor Detail

IWRoutingClient

IWRoutingClient()

Method Detail

getRouteOptions

IWRouteOptions getRouteOptions()

getSerialId

getSerialId()

readObject

readObject(json)

route

void route(start, destination, interstations)

setRouteOptions

void setRouteOptions(routeOptions)

toString

String toString()

writeObject

writeObject()

Event Detail

triggerOnRoute

void triggerOnRoute(event)

Source-Code Copyright 2007-2016 infoware GmbH - Documentation generated on Tue Nov 29 2022 14:20:15 GMT+0100 (MEZ)