Provide PHP code to measure the distance between two cities via Google Maps API
- or -
Post a project like this2906
€10(approx. $11)
- Posted:
- Proposals: 5
- Remote
- #1138043
- Awarded
Description
Experience Level: Entry
General information for the website: We offer a freelancer booking system
Description of requirements/features: Hello,
I need a few lines of PHP code to measure the distance between two cities via Google Maps API.
Please work with variables for both cities ($citya | $cityb). And echo the distance in kilometers ("The distance between $citya and $cityb is xxx km").
Example: $citya = munich
$cityb = cologne
The distance between munich and cologne is 600 km
Thank you for your quick help!
Extra notes:
Description of requirements/features: Hello,
I need a few lines of PHP code to measure the distance between two cities via Google Maps API.
Please work with variables for both cities ($citya | $cityb). And echo the distance in kilometers ("The distance between $citya and $cityb is xxx km").
Example: $citya = munich
$cityb = cologne
The distance between munich and cologne is 600 km
Thank you for your quick help!
Extra notes:
Christian S.
100% (22)Projects Completed
23
Freelancers worked with
16
Projects awarded
62%
Last project
22 Aug 2016
Germany
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies