Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using JAVASCRIPT - Generate a key to enable you to use the Google maps API https://developers.google.com/maps/documentation/javascript/ In the Starter zip file attached, edit the app.js

Using JAVASCRIPT -

Generate a key to enable you to use the Google maps API https://developers.google.com/maps/documentation/javascript/

In the Starter zip file attached, edit the app.js file, set up the following URL in a variable - https://maps.googleapis.com/maps/api/place/textsearch/json?key=

Set up a click event for the button

In the click event, you will add a query string to this url having the value of the search string. Ex. https://maps.googleapis.com/maps/api/place/textsearch/json?key=&query=theaters in california where the search string is "theaters in california".

Then you will make a JSON call using this URL and parse the results to build the HTML

You should filter your results to display only those places that have rating >= 4.0.

You should display the name of the place in bold, the address and the rating and any other relevant info you would like to display.

Display a


between each result.

Formulate your HTML and then populate it in the html in the div having id googleResults.

//this is what I have for the html so far

Google Maps Search

Google Maps Search

Search Google:

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Students also viewed these Databases questions

Question

How will performance be defined and measured?

Answered: 1 week ago

Question

2. Identify issues/causes for the apparent conflict.

Answered: 1 week ago