Class IWRouteOptions

Extends ARouteOptions.

This class encapsulates important attributes to configure the routing calculation.

This class is part of the module routing.

Author: JAN

Field Summary
String TYPE_ECONOMY
          Most economic route.
String TYPE_LENGTH
          Shortest route.
String TYPE_SPEED
          Fastest route.
 
Constructor Summary
IWRouteOptions()
            Creates a new router option object.
 
Method Summary
 number getCitySpeed()
           Returns the average driving speed in cities.
 number getCountryRoadSpeed()
           Returns the average driving speed on country roads.
 number getHighwaySpeed()
           Returns the average driving speed on highways.
getMaxInterstations()
           undocumented
getMobilityProfile()
           Gets the mobility profile (e.g.
getProfile()
           Gets the routing profile
getTrafficProfiles()
           Gets the traffic profiles (e.g.
 String getType()
           Returns the current routing type.
getUserDefinedProfiles()
           Gets the user defined profiles
isInternationalRoutingAllowed()
           return {boolean}
isShapeEnabled()
           return {boolean}
 void setCitySpeed(citySpeed)
           Sets the average driving speed in cities.
 void setCountryRoadSpeed(countryRoadSpeed)
           Sets the average driving speed on country roads.
 void setHighwaySpeed(highwaySpeed)
           Sets the average driving speed on highways.
 void setInternationalRoutingAllowed(international)
           Should routing beyond German borders be allowed
setMaxInterstations(maxInterstations)
          
setMobilityProfile(profile)
           Sets the mobility profile (e.g.
setProfile(profile)
           Sets the routing profile
 void setShapeEnabled(shapeEnabled)
          
setTrafficProfiles(profiles)
           Sets the traffic profiles (e.g.
 void setType(type)
           Sets the routing mode to calculate the route.

  • IWRouteOptions.TYPE_SPEED - fastest route
  • IWRouteOptions.TYPE_LENGTH - shortest route
  • IWRouteOptions.TYPE_ECONOMY - most economic route

The default value is set to IWRouteOptions.TYPE_SPEED.

setUserDefinedProfiles(profiles)
           Sets the user defined profiles
 String toString()
           Returns a string representation for this object.
 
Field Detail

TYPE_ECONOMY

String TYPE_ECONOMY

TYPE_LENGTH

String TYPE_LENGTH

TYPE_SPEED

String TYPE_SPEED

Constructor Detail

IWRouteOptions

IWRouteOptions()

Method Detail

getCitySpeed

number getCitySpeed()

getCountryRoadSpeed

number getCountryRoadSpeed()

getHighwaySpeed

number getHighwaySpeed()

getMaxInterstations

getMaxInterstations()

getMobilityProfile

getMobilityProfile()

getProfile

getProfile()

getTrafficProfiles

getTrafficProfiles()

getType

String getType()

getUserDefinedProfiles

getUserDefinedProfiles()

isInternationalRoutingAllowed

isInternationalRoutingAllowed()

isShapeEnabled

isShapeEnabled()

setCitySpeed

void setCitySpeed(citySpeed)

setCountryRoadSpeed

void setCountryRoadSpeed(countryRoadSpeed)

setHighwaySpeed

void setHighwaySpeed(highwaySpeed)

setInternationalRoutingAllowed

void setInternationalRoutingAllowed(international)

setMaxInterstations

setMaxInterstations(maxInterstations)

setMobilityProfile

setMobilityProfile(profile)

setProfile

setProfile(profile)

setShapeEnabled

void setShapeEnabled(shapeEnabled)

setTrafficProfiles

setTrafficProfiles(profiles)

setType

void setType(type)

setUserDefinedProfiles

setUserDefinedProfiles(profiles)

toString

String toString()

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