nunger500/Share google map of my location…

http://www.w3schools.com/graphics/google_maps_intro.asp (From Ace Browser – small, fast and clean)

function myMap() {
var mapCanvas = document.getElementById(“map”);
var mapOptions = { https://varvy.com/pagespeed/ (From Ace Browser – small, fast and clean)

center: new google.maps.LatLng(51.5, -0.2),
zoom: 10
}
var map = new google.maps.Map(mapCanvas, mapOptions);
}

https://maps.googleapis.com/maps/api/js?callback=myMap   “>DOCTYPE html>

My First Google Map

function myMap() {
var mapCanvas = document.getElementById(“map”);
var mapOptions = {
center: new google.maps.LatLng(51.5, -0.2),
zoom: 10
}
var map = new google.maps.Map(mapCanvas, mapOptions);
}

https://maps.googleapis.com/maps/api/js?callback=myMapDOCTYPE html>
<html>
<body>

<h1>My First Google Map</h1>

<div id=”map” style=”width:100%;height:500px”></div>

<script>
function myMap() {
  var mapCanvas = document.getElementById(“map”);
  var mapOptions = {
    center: new google.maps.LatLng(51.5, –0.2), 
    zoom: 10
  }
  var map = new google.maps.Map(mapCanvas, mapOptions);
}
</script>

<scriptsrc=”https://maps.googleapis.com/maps/api/js?callback=myMap&#8221;></script>

</body>
</html>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s