summaryrefslogtreecommitdiff
path: root/media/js/mainmap.js
diff options
context:
space:
mode:
authorluxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f>2010-08-18 15:49:08 +0000
committerluxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f <luxagraf@c63593aa-01b0-44d9-8516-4b9c7e931d7f>2010-08-18 15:49:08 +0000
commit432e39917fe226630abf4d3c314a765fc8ff9e61 (patch)
treedfb035a583a247bf0e94ae752547f368c2b3c8f3 /media/js/mainmap.js
parent8f978c65b17f8c41d977b60bf2530e99d76dd591 (diff)
optimized some html
Diffstat (limited to 'media/js/mainmap.js')
-rw-r--r--media/js/mainmap.js58
1 files changed, 57 insertions, 1 deletions
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 = '<div class="infowin"><h4>Dinosaur National Monument, Part One: Echo Park<\/h4><span class="date blok">July 28, 2010 (Dinosaur National Monument, Colorado)<\/span><p><img src="http://images.luxagraf.net/post-thumbnail/2010/dinosaurv.jpg" height="100" alt="Dinosaur National Monument, Part One: Echo Park" style="float: left; border: #000 10px solid; margin-right: 8px; margin-bottom: 4px; height: 100px;" \/>Dinosaur 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. <a href="/2010/jul/28/dinosaur-national-monument-part-one-echo-park/">Read it &raquo;<\/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 = '<div class="infowin"><h4>The Endless Crowds of Yellowstone<\/h4><span class="date blok">July 25, 2010 (Yellowstone National Park, Wyoming)<\/span><p><img src="http://images.luxagraf.net/post-thumbnail/2010/yellowstonev.jpg" height="100" alt="The Endless Crowds of Yellowstone" style="float: left; border: #000 10px solid; margin-right: 8px; margin-bottom: 4px; height: 100px;" \/>There 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. <a href="/2010/jul/25/endless-crowds-yellowstone/">Read it &raquo;<\/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 = '<div class="infowin"><h4>Backpacking in the Grand Tetons<\/h4><span class="date blok">July 22, 2010 (Grand Teton National Park, Wyoming)<\/span><p><img src="http://images.luxagraf.net/post-thumbnail/2010/grandtetonsv.jpg" height="100" alt="Backpacking in the Grand Tetons" style="float: left; border: #000 10px solid; margin-right: 8px; margin-bottom: 4px; height: 100px;" \/>Hiking 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. <a href="/2010/jul/22/backpacking-grand-tetons/">Read it &raquo;<\/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 = '<div class="infowin"><h4>Great Sand Dunes National Park<\/h4><span class="date blok">July 17, 2010 (Great Sand Dunes National Park, Colorado)<\/span><p><img src="http://images.luxagraf.net/post-thumbnail/2010/greatsanddunesv_4.jpg" height="100" alt="Great Sand Dunes National Park" style="float: left; border: #000 10px solid; margin-right: 8px; margin-bottom: 4px; height: 100px;" \/>Something 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. <a href="/2010/jul/17/great-sand-dunes-national-park/">Read it &raquo;<\/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 = '<div class="infowin"><h4>Comanche National Grasslands<\/h4><span class="date blok">July 16, 2010 (Comanche National Grasslands, Colorado)<\/span><p><img src="http://images.luxagraf.net/post-thumbnail/2010/comanchegrasslands.jpg" height="100" alt="Comanche National Grasslands" style="float: left; border: #000 10px solid; margin-right: 8px; margin-bottom: 4px; height: 100px;" \/>To say the Comanche National Grasslands is off the grid would be an understatement. With the exception of Highway 50 in Nevada, I’ve never driven through such isolation and vast openness anywhere in the world. And it’s easy to get lost. There are no signs, no road names even, just dirt paths crisscrossing a wide, perfectly flat expanses of grass. <a href="/2010/jul/16/comanche-national-grasslands/">Read it &raquo;<\/a><\/p><\/div>';
+ var c_comanche_national = '<div class="infowin"><h4>Comanche National Grasslands<\/h4><span class="date blok">July 16, 2010 (Comanche National Grasslands, Colorado)<\/span><p><img src="http://images.luxagraf.net/post-thumbnail/2010/comanchegrasslands.jpg" height="100" alt="Comanche National Grasslands" style="float: left; border: #000 10px solid; margin-right: 8px; margin-bottom: 4px; height: 100px;" \/>To say the Comanche National Grasslands is off the grid would be an understatement. With the exception of Highway 50 in Nevada, I\u0027ve never driven through such isolation and vast openness anywhere in the world. And it\u0027s easy to get lost. There are no signs, no road names even, just dirt paths crisscrossing a wide, perfectly flat expanses of grass. <a href="/2010/jul/16/comanche-national-grasslands/">Read it &raquo;<\/a><\/p><\/div>';
google.maps.event.addListener(marker_comanche_national, 'click', function() {
openWin(c_comanche_national,marker_comanche_national);