Created
September 20, 2012 12:54
-
-
Save tbrooke/3755717 to your computer and use it in GitHub Desktop.
Google Maps JS for Refinery
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.onload = loadMap; | |
function loadMap() { | |
var latLong = new google.maps.LatLng(35.557721,-80.594043); | |
var mapOptions = { | |
zoom: 15, | |
mapTypeId: google.maps.MapTypeId.ROADMAP, | |
center: latLong | |
}; | |
var map = new google.maps.Map(document.getElementById("map_canvas"), | |
mapOptions); | |
mtzionLatLong = new google.maps.LatLng(35.557721,-80.594043); | |
var marker = new google.maps.Marker({ | |
position: mtzionLatLong, | |
map: map, | |
title: "Mt. Zion UCC" | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment