CS 6314 – Practice Work 6 solution

$24.99

Original Work ?

Download Details:

  • Name: PW6-jsacc2.zip
  • Type: zip
  • Size: 9.94 MB

Category: You will Instantly receive a download link upon Payment||Click Original Work Button for Custom work

Description

5/5 - (4 votes)

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