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