/* * Copyright (c) 2005-2006 Andriy Bidochko. * http://www.mapbuilder.net * * The script has been generated by MapBuilder.net service and released to the customer under * The GNU General Public License (GPL), which can be found at: http://www.opensource.org/licenses/gpl-license.php * * This program is free software; you can redistribute it and/or modify it under the terms of the * GNU General Public License as published by the Free Software Foundation; * either version 2 of the License, or any later version. * * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. */ //That function will return the element of the array returned by map.getMapTypes() that identifies the current map function getCurrentMapTypeNumber(oMap){ var type=-1; for(var ix=0;ix 2.64 * marker.setTooltip(oOptions.label); * marker.setOpacity((oOptions.opasity ? oOptions.opasity : 100)); */ } else { var marker = new GMarker(point, icon); } GEvent.addListener(marker, "click", function() { marker.openInfoWindowHtml(html); }); return marker; } // Zoom map to. Used from InfoWindow function ZoomMapTo(num) { // Get current zoom level var currentZoom = map.getZoom(); // Re-center map newzoom = (currentZoom > 17) ? 17 : ((currentZoom == 0) ? 0 : (currentZoom + 1)); //V2-V1 compatability map.setCenter(aLocations[num][3], newzoom); } // Function is called when sidebar item is clicked or we are dealing with group boxes. function myInfoWindowHtml(num) { // Map rendering with open info window is very slow. Lets center map first. map.setCenter(aLocations[num][3]); // Use markeropenInfoWindowHtml(html) aLocations[num][0].openInfoWindowHtml(aLocations[num][2]); } /* Side Bar */ // Creates a locations list and put it into side bar function createSideBar() { var oUL = document.createElement("ul"); // write links into document. for (var i=0; i[+] Directions: To here - From here
Start address
" } GetGoogleMapsAPIVersion = function() { var v = 0; var scripts = document.getElementsByTagName("SCRIPT") for (var i=0; i" + ""; // Define Marker InfoHTML = "
Alaska Teen Media Institute
\"\"\"\"\"ToneiIn Anchorage, some students get school credit to work on political campaigns. Tonei Glavenic finds they learn a lot about political work, including that it\'s often what you\'d call... boring.\"\"
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_white.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[0] = new Array(marker, "Alaska Teen Media Institute", InfoHTML, point); point = new GLatLng(43.66151, -70.27571); footerHtml = "
" + "
"; // Define Marker InfoHTML = "
Blunt Youth Radio Project
\"CharlieIn 1969 the Supreme Court ruled that \"students do not shed their constitutional rights... at the schoolhouse gate\" and could protest the Vietnam War in school. What rights do protesting students have today?
Produced by Charlie Thaxton.
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_blue.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[1] = new Array(marker, "Blunt Youth Radio Project", InfoHTML, point); point = new GLatLng(41.82482, -87.686744); footerHtml = "
" + "
"; // Define Marker InfoHTML = "
Curie Youth Radio
\"OmarOmar Macias fought his mother over whether he could join the Marines. When he turned 18, it was his choice. He wrote this plea to his mom, in hopes she\'d understand his decision.
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_yellow.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[2] = new Array(marker, "Curie Youth Radio", InfoHTML, point); point = new GLatLng(48.081575, -121.969279); footerHtml = "
" + "
"; // Define Marker InfoHTML = "
Granite Falls, WA
\"MollyMolly McGill\'s family always assumed her brother would join the army and Molly would go to college. But Molly\'s still thinking of signing up for the service. She goes on a personal investigation to find out if it\'s right for her.
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_white.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[3] = new Array(marker, "Granite Falls, WA", InfoHTML, point); point = new GLatLng(38.353944, -122.721381); footerHtml = "
" + "
"; // Define Marker InfoHTML = "
KRCB's Voice of Youth
\"GregGreg Shimada likes to go on late night graffiti missions and listens to music politicians complain about. So imagine his surprise when he found himself eating caviar with former Speaker of the House Newt Gingrich. We go along for the ride.
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_black.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[4] = new Array(marker, "KRCB's Voice of Youth", InfoHTML, point); point = new GLatLng(47.661752, -122.312902); footerHtml = "
" + "
"; // Define Marker InfoHTML = "
KUOW's Weekday High
\"Lillian \"Bryce

 Between volunteering, sports, school, jobs, family and friends, a lot of teens don\'t have the time to learn \"jack squat\" about politics. Lillian Warner investigates. Bryce Jacobson is a junior at a private Christian school in a small, conservative town. He\'s generally apathetic toward politics. But he realizes he\'s been an activist in one way: by coming out.

" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_purple.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[5] = new Array(marker, "KUOW's Weekday High", InfoHTML, point); point = new GLatLng(43.638815, -70.311152); footerHtml = "
" + "
"; // Define Marker InfoHTML = "
Long Creek Youth Development Center
\"Branden\"Maine is one of the few states that lets inmates vote. Branden\'s locked up in a juvenile detention center in Maine. He asks 18-year-old inmates if they\'re going to exercise their right to vote.
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[6] = new Array(marker, "Long Creek Youth Development Center", InfoHTML, point); point = new GLatLng(42.36679, -71.106019); footerHtml = "
" + "
"; // Define Marker InfoHTML = "
Terrascope Youth Radio
\"AaronIf you don\'t do something to stop global warming, you \"might as well shoot your children, because that\'s who you\'re killing.\" So say these Cambridge, Mass. teens. They got into politics and made this rap.
Produced by Aaron King, Fahim Sinha and Nelson Dow.
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_blue.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[7] = new Array(marker, "Terrascope Youth Radio", InfoHTML, point); point = new GLatLng(36.00002, -78.909239); footerHtml = "
" + "
"; // Define Marker InfoHTML = "
Youth Noise Network
\"LenaLena Eckert-Erdheim started protesting the war in Iraq before it began. But she started to think that protests don\'t make much difference. She went to a corner in downtown Durham to ask a middle aged man, Alan Wolf, why he protests there every week.
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_brown.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[8] = new Array(marker, "Youth Noise Network", InfoHTML, point); point = new GLatLng(47.658646, -122.312978); footerHtml = "
" + "
"; // Define Marker InfoHTML = "
Youth Speaks Seattle @ Cafe Allegro
\"CorbinCorbin Bugni\'s brother is fighting in Iraq. Corbin reflects on his own anger and fear, and the wars he feels drawn into every day.
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_green.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[9] = new Array(marker, "Youth Speaks Seattle @ Cafe Allegro", InfoHTML, point); // And finnaly create sidebar createSideBar(); }