Use google places automcomplete to calculate distance between two entered places
$10-100 USD
Оплачується при отриманні
On the homepage of [url removed, login to view] there are 2 autocomplete fields powered by Google. Depending on whatever two places the user enters you have to determine the straight distance between those 2 points. If the distance is smaller than a certain treshold there is a javascript action (hiding of some fields).
Some information I found:
[url removed, login to view]
and:
[url removed, login to view]
This function can be used to calculate the distance between two points:
function distance_slc($lat1, $lon1, $lat2, $lon2) {
$earth_radius = "6371"; # in km
$delta_lat = $lat2 - $lat1 ;
$delta_lon = $lon2 - $lon1 ;
$distance = sin(deg2rad($lat1)) * sin(deg2rad($lat2)) + cos(deg2rad($lat1)) * cos(deg2rad($lat2)) * cos(deg2rad($delta_lon)) ;
$distance = acos($distance);
$distance = $earth_radius*$distance;
$distance = round($distance, 4);
return $distance;
}
ID Проекту: #6893850
Про проект
22 фрілансерів(-и) готові виконати цю роботу у середньому за $84
Hello, I am ready to implement a function to calculate distance between 2 points. Can you please contact me to discuss the requirements of this project in more detail? My background: I am a professional web devel Більше
Hi I work towards providing reliable, relevant and robust IT solutions at most competitive prices to my customers. I ensure 100% customer satisfaction so lets start Thanks
Hi, I would like to fix this issue of Google Places. Would you please invite in on this project? Looking forward for your reply, regards, Nittile Gupta
Hi, I have reviewed the site , description and understood it completely. I can do this job for you :) Please get back to me with your kind reply, I am ready to start immediately and assure you to deliver with in men Більше
Hello, I would like to do this project for you, I have done quite a lot of google autocomplete projects and I can do it for you right now.
Hello ! I just finished a project using google maps api . And I am also interested in this one!
- 4 Years of experience in IT Industry working in accordance with the company’s SDLC to design and develop both new and old enhancements to software applications that meet business specification. - Requirements anal Більше