Class: IWViaPoint

IWViaPoint

A via point is a station on the route defined by a coordinate and a radius. The resulting route lies in the radius of the via points.

This class is part of the module routing.


new IWViaPoint(coordinate, radius)

Creates a new via point.
Parameters:
Name Type Description
coordinate IWCoordinate the coordinate
radius number the radius in meter

Methods


getAddress()

Returns the address string.
Returns:
Type
String

getRadius()

Returns the radius in meter
Returns:
the radius
Type
number

getRequestParameter()

Returns a text representation which can be used as a GET URL parameter.
Returns:
the parameter
Type
String

setRadius(radius)

Sets the radius in meter
Parameters:
Name Type Description
radius number the radius
Returns:
Type
void

toString()

Returns a string representation of this via point. This consists of class name and the values and can be used for debugging.
Returns:
Type
String