How to include a googlemap with html and js.

Words
37
Reading
1 min
Listen
Play
5y

All you need to do include your API key in the script "key" GET variable key=YOUR_KEY

My First Google Map

function myMap() {

var mapProp= {

center:new google.maps.LatLng(51.508742,-0.120850),

zoom:5,

};

var map = new google.maps.Map(document.getElementById("googleMap"),mapProp);

}

#bzz

https://www.w3schools.com/graphics/google_maps_intro.asp

How to include a googlemap with html and js. | Ecency