Class: exports

exports

new module.exports#module.exports(error)

addons/elevationProfile/models/elevation-result.js, line 15
creates new ElevationResult
Name Type Description
coordinates. Array
error ResultError

exports

new module.exports#module.exports(x, y, z, dist, transformer)

addons/elevationProfile/models/elevation-step.js, line 14
creates new RoutingStep
Name Type Description
x Number x-coordinates of the step
y Number y-coordinates of the step
z Number z-coordinates of the step
dist Number the distance
transformer function coordinates transformer

exports

new module.exports#module.exports(lat, lng, displayName)

addons/reachability/models/geoServices/geosearch-result.js, line 12
creates new GeosearchResult
Name Type Description
lat Number coordinate.
lng Number coordinate.
displayName String of coordinate.

exports

new module.exports#module.exports(coordinates, groupIndex, value, maximum, interval, speedProfile, optimization, avoidSpeedProfileOptions, displayValue)

addons/reachability/models/geoServices/isochrones-area.js, line 20
creates new RoutingIsochronesArea
Name Type Description
coordinates Array of area as polygon.
groupIndex Number of area.
value Number of area.
maximum Number value for interval.
interval Number value parameter.
speedProfile String parameter.
optimization String parameter.
avoidSpeedProfileOptions Array.<String> parameter.
displayValue Number of area for GUI

exports

new module.exports#module.exports(bbox, error)

addons/reachability/models/geoServices/isochrones-result.js, line 11
creates new RoutingIsochrones
Name Type Description
bbox Array of isochrones.
error ResultError result error

exports

new module.exports#module.exports(bbox, distance, duration, lineString, lineStringWaypointIndex, error)

addons/reachability/models/geoServices/routing-result.js, line 17
creates new RoutingDirections
Name Type Description
bbox Array of the route.
distance Number of the route in meter.
duration Number of the route in seconds.
lineString Array of the route.
lineStringWaypointIndex Array.<Number> to find out where the waypoints on the linestring are.
error RoutingResultError the result error (e.g., no route found)

exports

new module.exports#module.exports(lat, lng, displayName)

addons/routingLGB/models/geoServices/routing-geosearch-result.js, line 12
creates new RoutingGeosearchResult
Name Type Description
lat Number coordinate.
lng Number coordinate.
displayName String of coordinate.

exports

new module.exports#module.exports(bbox, distance, duration, lineString, lineStringWaypointIndex, error)

addons/routingLGB/models/geoServices/routing-result.js, line 17
creates new RoutingDirections
Name Type Description
bbox Array of the route.
distance Number of the route in meter.
duration Number of the route in seconds.
lineString Array of the route.
lineStringWaypointIndex Array.<Number> to find out where the waypoints on the linestring are.
error RoutingResultError the result error (e.g., no route found)

exports

new module.exports#module.exports()

addons/routingLGB/models/geoServices/routing-segment.js, line 14
creates new RoutingSegment
Properties:
Name Type Description
distance Number of segment in meter.
duration Number to travel segment in seconds.
steps Array.<RoutingStep> to follow the route.

exports

new module.exports#module.exports(distance, duration, instruction, name, type, waypoints)

addons/routingLGB/models/geoServices/routing-step.js, line 27
creates new RoutingStep
Name Type Description
distance Number of segment in meter.
duration Number to travel segment in seconds.
instruction String to follow the route.
name String of the street.
type Number of the road.
waypoints Array.<Number> of the linestring.