# Get Distance

![](https://1781865142-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LvaO9X8rr2FG8JwKkhC-1769347644%2Fuploads%2Fgit-blob-6814ea7877efe71e7b8f833b97b8b52980f3424d%2FCaptura%20de%20Pantalla%202020-02-10%20a%20la\(s\)%2014.14.53.png?alt=media)

### 📥 Entry vars <a href="#entry-vars" id="entry-vars"></a>

* **Latitude destination:** you can set the latitude destination point.
* **Longitude origin:** you can set the longitude origin point.
* **Longitud destination:** you can set the longitude destination point.
* **Longitude origin:** you can set the longitude origin point.
* **Mode (Linear/Route):** you can select between Linear or Route to get the distance from origin point to destination point.

### \*\*\*\*↗ **Callbacks**

* **Error:** you can set functions if there was a problem getting distances between an origin point and a destination point.
* **Success:** you can set functions if successfully get distance between an origin point and a destination point.
