Permalink
Browse files

Merge pull request #2 from joeellis/master

Ye olde Google Map
  • Loading branch information...
2 parents 2354338 + 6ac53f8 commit 60c12ed009303460b01fa2e710dd19522031f300 @jbarnette jbarnette committed Sep 19, 2011
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -135,7 +135,11 @@
</p>
<div id="map-container">
- <div id="map"></div>
+ <div id="map">
+ <a href="http://g.co/maps/a6q4n">
+ <img src="/img/ye_olde_google_map.png" alt="Camp &amp; Girod" />
+ </a>
+ </div>
</div>
<h2>What shall I bring?</h2>
@@ -272,47 +276,6 @@
src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js">
</script>
- <script type="text/javascript"
- src="http://maps.googleapis.com/maps/api/js?sensor=false">
- </script>
-
- <script type="text/javascript">
- $(function() {
- var options = {
- center : new google.maps.LatLng(29.948653,-90.067205),
- mapTypeId : google.maps.MapTypeId.ROADMAP,
- zoom : 15
- }
-
- var element = $("#map")[0]
- var map = new google.maps.Map(element, options)
- var router = new google.maps.DirectionsService()
- var directions = new google.maps.DirectionsRenderer()
-
- directions.setMap(map)
-
- origin = "Astor Crowne Plaza New Orleans Hotel, " +
- "739 Canal Street, New Orleans, LA 70130"
-
- routing = {
- destination : "Camp at Girod",
- origin : origin,
- travelMode : google.maps.DirectionsTravelMode.WALKING
- }
-
- router.route(routing, function(res, status) {
- if (google.maps.DirectionsStatus.OK == status)
- directions.setDirections(res)
- })
-
- $("#tldr").click(function() {
- $("body > *:not(#tldr-copy)").fadeOut(function() {
- $("#tldr-copy").fadeIn()
- })
- })
- })
- </script>
-
<script type="text/javascript">
var _gauges = _gauges || [];

0 comments on commit 60c12ed

Please sign in to comment.