Starting from:

$25

CS6314 Practice Work 6 Solved

On an html page, provide a form for the user to enter an address. When the user clicks on the “Search” button:


Using Google Maps API, first find the latitude and longitude for the given address (Geocoding Service) and then find all nearby pharmacies (within 1500 meters) for that latitude and longitude (Places Library, nearbySearch function).


Show/mark pharmacies on Google maps.

 

 

Resources:

https://developers.google.com/maps/documentation/javascript/tutorial

https://developers.google.com/maps/documentation/geocoding/start

https://developers.google.com/maps/documentation/javascript/places

 

Geocoding example:

https://developers.google.com/maps/documentation/javascript/examples/geocoding-simple

You can use below API key for Google Maps.

AIzaSyBcWhzcS0fRqtT4czOHzFBfbw4PqiIhnk4

 

 

 

More products