Answers for "load google map in html"

3

google map html

<script>
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);
}
</script>

<script src="[Google API link goes here]"></script>
Posted by: Guest on February-25-2021

Browse Popular Code Answers by Language