Skip to content

Instantly share code, notes, and snippets.

@tbrooke
Created September 20, 2012 12:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tbrooke/3755717 to your computer and use it in GitHub Desktop.
Save tbrooke/3755717 to your computer and use it in GitHub Desktop.
Google Maps JS for Refinery
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