# Distance Between Two Addresses

**URL:** <https://forum.ionicframework.com/t/distance-between-two-addresses/127002>\
**Category:** ionic-v3\
**Created:** [April 5, 2018, 2:23pm UTC](https://forum.ionicframework.com/t/distance-between-two-addresses/127002 "2018-04-05T14:23:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![GabrielLustosa](https://avatars.discourse-cdn.com/v4/letter/g/53a042/32.png) [@GabrielLustosa](https://forum.ionicframework.com/u/GabrielLustosa)\
**Post date:** [April 5, 2018, 2:23pm UTC](https://forum.ionicframework.com/t/distance-between-two-addresses/127002/1 "2018-04-05T14:23:15Z")

</div>

Good afternoon everyone, I come through this in order to get help on an application in which I will work, the help can be scheduled in Ionic1 As Ionic3, the question is: The app will be delivery and will have 2 addresses, 1 of a pizzeria and another of the user, I need a programming that will bring me the distance between these two addresses. and it is necessary to manipulate this information from the distance in order to generate a control over the delivery freight in the future, for example: In the websystem it will have 3 fields\>

1st Field: 1 to 5KM = 5 $ delivery rate  
2nd Field: 6 to 10KM = 10 $ delivery fee  
3rd Field: 11 to 16KM = 15 $ delivery fee

**However this is not necessary,** it is only necessary to calculate the distance and the variable available to handle in the future.

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:42pm UTC](https://forum.ionicframework.com/t/distance-between-two-addresses/127002/2 "2021-07-19T21:42:02Z")

</div>


