Classes
Type Definitions
-
DistanceOptions{Object}
-
Properties:
Name Type Argument Description calculateGeometryboolean <optional>
Specify if you need to obtain the shape geometry when calculating the distance. For weight=='line' this option is not avaliable.
originmodule:cercaliagl/LonLat~LonLat <optional>
Origin. If not defined, then use
setOriginto initialize variable;destinationmodule:cercaliagl/LonLat~LonLat <optional>
Destination. If not defined, then use
setDestinationto initialize variable;stepsArray.<module:cercaliagl/LonLat~LonLat> <optional>
Sequential stop list.
weightstring | undefined <optional>
Distance calculation considering weight/type
line|time|distance|money. Default valueline.