From 432e39917fe226630abf4d3c314a765fc8ff9e61 Mon Sep 17 00:00:00 2001 From: "luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f" Date: Wed, 18 Aug 2010 15:49:08 +0000 Subject: optimized some html --- media/js/mainmap.js | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 57 insertions(+), 1 deletion(-) (limited to 'media/js/mainmap.js') diff --git a/media/js/mainmap.js b/media/js/mainmap.js index 2c3c6ea..2bed7bd 100644 --- a/media/js/mainmap.js +++ b/media/js/mainmap.js @@ -627,6 +627,62 @@ function initialize() { //loop through and set up markers/info windows + var marker_dinosaur_national = new google.maps.Marker({ + position: new google.maps.LatLng(40.5206340265, -108.993880734), + map: map, + shadow: shadow, + icon: image + }); + + var c_dinosaur_national = '

Dinosaur National Monument, Part One: Echo Park<\/h4>July 28, 2010 (Dinosaur National Monument, Colorado)<\/span>

Dinosaur National Monument, Part One: Echo ParkDinosaur National Monument was poorly named. The best parts of it are not the fossils in the quarry (which is closed for 2010 anyway) but the canyon country \u0026mdash\u003B some of the best, most remote canyon country you\u0027ll find in this part of the world. Read it »<\/a><\/p><\/div>'; + + google.maps.event.addListener(marker_dinosaur_national, 'click', function() { + openWin(c_dinosaur_national,marker_dinosaur_national); + }); + + + var marker_the_endless = new google.maps.Marker({ + position: new google.maps.LatLng(44.4618029245, -110.821969792), + map: map, + shadow: shadow, + icon: image + }); + + var c_the_endless = '

The Endless Crowds of Yellowstone<\/h4>July 25, 2010 (Yellowstone National Park, Wyoming)<\/span>

The Endless Crowds of YellowstoneThere is wilderness in Yellowstone, even if it\u0027s just inches from the boardwalks that transport thousands around the geothermal pools. It may not be wilderness on a grand scale \u0026mdash\u003B the sweeping mountain peaks or wild rivers of other parks \u0026mdash but in some ways that makes it more enticing. As one Ranger told me, Yellowstone isn\u0027t about the big picture, the grand scenery, it\u0027s about the tiny details within each pool. To really see Yellowstone, he said, you have to take your time, move slowly and look closely. Read it »<\/a><\/p><\/div>'; + + google.maps.event.addListener(marker_the_endless, 'click', function() { + openWin(c_the_endless,marker_the_endless); + }); + + + var marker_backpacking_in = new google.maps.Marker({ + position: new google.maps.LatLng(43.7931543168, -110.79651831), + map: map, + shadow: shadow, + icon: image + }); + + var c_backpacking_in = '

Backpacking in the Grand Tetons<\/h4>July 22, 2010 (Grand Teton National Park, Wyoming)<\/span>

Backpacking in the Grand TetonsHiking into the wilderness empties your mind. You fall into the silence of the mountains and you can relax in a way that\u0027s very difficult to do in the midst of civilization. The white noise that surrounds us in our everyday lives, that noise we don\u0027t even notice as it adds thin layers of stress that build up over days, weeks, years, does not seem capable of following us into the mountains. Read it »<\/a><\/p><\/div>'; + + google.maps.event.addListener(marker_backpacking_in, 'click', function() { + openWin(c_backpacking_in,marker_backpacking_in); + }); + + + var marker_great_sand = new google.maps.Marker({ + position: new google.maps.LatLng(37.7267371803, -105.550975785), + map: map, + shadow: shadow, + icon: image + }); + + var c_great_sand = '

Great Sand Dunes National Park<\/h4>July 17, 2010 (Great Sand Dunes National Park, Colorado)<\/span>

Great Sand Dunes National ParkSomething about the desert inspires me to get up early and watch the sunrise. The cool mornings seem worth getting up for out here in the high plains of Colorado, especially when there\u0027s the chance to watch the sunrise from the largest sand dunes in North America, here in Great Sand Dune National Park. Read it »<\/a><\/p><\/div>'; + + google.maps.event.addListener(marker_great_sand, 'click', function() { + openWin(c_great_sand,marker_great_sand); + }); + + var marker_comanche_national = new google.maps.Marker({ position: new google.maps.LatLng(37.14748996, -103.009572015), map: map, @@ -634,7 +690,7 @@ function initialize() { icon: image }); - var c_comanche_national = '