Skip to main content
Version: Next

Get Distance From 2 Gps Coords

Get route distance between 2 GPS coordinates

Description

Call the directions service from Google to get the route between two GPS coordinates, and return the distance and travel time

Inputs

  • Control Flow (Control Flow)
  • origin (GPS Coordinate)
  • destination (GPS Coordinate)

Outputs

  • Control Flow (Control Flow)
  • Error Flow (Error Flow)
  • distance [m] (Number)
  • duration with traffic [s] (Number)
  • duration [s] (Number)
  • status (String)