Question: Which statements can you place in your JavaScript file to create a Google map for your web page? Assume that you have saved the geographic

Which statements can you place in your JavaScript file to create a Google map for your web page? Assume that you have saved the geographic coordinates of the desired center of your map as an object literal called funPark and that you wish to display the map in the element whose reference you have assigned to the variable mapBox.
a.
let funParkMap = new google.maps.Map(mapBox,{
zoom: 18,
center: funPark
});
b.
let funParkMap = new google.maps.Map(mapBox,{
center: funPark
});
c.
let funParkMap = new google.maps.Map{
location: mapBox,
zoom: 18,
center: funPark
};
d.
let funParkMap = new google.maps.Map(mapBox, funPark);

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!