/* * 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 = "
Bedford, NH
Bedford\'s Carthagena Island is one of several places along the Merrimack used as a winter habitat for bald eagles.
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_blue.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[0] = new Array(marker, "Bedford, NH", InfoHTML, point); point = new GLatLng(43.31854313532333, -71.62665367126465); footerHtml = "
" + "
"; // Define Marker InfoHTML = "
Boscawen, NH
Jamie Welch Park is one of nine public boat launches along the Upper Merrimack.
" + 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, "Boscawen, NH", InfoHTML, point); point = new GLatLng(43.166413, -71.528965); footerHtml = "
" + "
"; // Define Marker InfoHTML = "
Bow, NH
One Native American name for the river was \"merruasquamack\", meaning \"swift water place.\" According to the Merrimack River Watershed Council, the term was originally applied to the stretch of river between portion of the river between Garvin’s
Falls Bow and Lowell\'s Pawtucket Falls. The town may have been named Bow because the Merrimack \"bows\" here.
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_blue.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[2] = new Array(marker, "Bow, NH", InfoHTML, point); point = new GLatLng(42.605157816197334, -71.33354187011719); footerHtml = "
" + "
"; // Define Marker InfoHTML = "
Chelmsford, MA
According to the National Park Service: \"Pennacook Indians were this area\'s first recorded inhabitants. Each spring, tribes met at the Pawtucket Falls on the banks of the Merrimack to fish during the day and conduct business at night... At the close of the fish runs, tribes moved upriver to plant and harvest crops. In the 17th century, smallpox, war, and English settlement devastated the Pennacooks. Many died, while others moved north to Canada.\"
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_blue.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[3] = new Array(marker, "Chelmsford, MA", InfoHTML, point); point = new GLatLng(43.20725, -71.536604); footerHtml = "
" + "
"; // Define Marker InfoHTML = ""; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_blue.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[4] = new Array(marker, "Concord, NH", InfoHTML, point); point = new GLatLng(43.46213976109343, -71.65523529052734); footerHtml = "
" + "
"; // Define Marker InfoHTML = "
Franklin, NH
The Merrimack begins here, at the confluence of the Pemigewasset and Winnipesaukee Rivers.
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_blue.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[5] = new Array(marker, "Franklin, NH", InfoHTML, point); point = new GLatLng(42.710328, -71.161244); footerHtml = "
" + "
"; // Define Marker InfoHTML = "
Lawrence, MA
A Merrimack Valley mill town by design, Lawrence was the site of the Bread and Roses Strike of 1912, a milestone in labor history. Lawrence uses the Merrimack today for its public water supply.

Photo: Merrimack River Reflections by Marcfoto
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_blue.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[6] = new Array(marker, "Lawrence, MA", InfoHTML, point); point = new GLatLng(42.84425, -71.480011); footerHtml = "
" + "
"; // Define Marker InfoHTML = "
Litchfield, NH
Reed\'s Island in Litchfield may have been the last home of Passaconaway, chief of the Pennacook in the mid-17th century. He is said to have referred to the area as \"My beautiful Naticook.\"
" + 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, "Litchfield, NH", InfoHTML, point); point = new GLatLng(42.6458289021732, -71.31397247314453); footerHtml = "
" + "
"; // Define Marker InfoHTML = ""; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_blue.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[8] = new Array(marker, "Lowell, MA", InfoHTML, point); point = new GLatLng(43.003631, -71.472195); footerHtml = "
" + "
"; // Define Marker InfoHTML = "
Manchester, NH

At the start of the 1800’s, herring, salmon and other fish filled the Merrimack every spring. Then came the dams. Wendy Schorr, a naturalist at the Amoskeag Fishways, says the dam builders knew they would block the fish headed upstream to spawn. And so, in 1836, more than a century before the environmental movement, they tried to give the fish a chance - the first fish ladder.

" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_blue.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[9] = new Array(marker, "Manchester, NH", InfoHTML, point); point = new GLatLng(42.86747213073801, -71.48554801940918); footerHtml = "
" + "
"; // Define Marker InfoHTML = ""; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_blue.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[10] = new Array(marker, "Merrimack, NH", InfoHTML, point); point = new GLatLng(42.73011, -71.183679); footerHtml = "
" + "
"; // Define Marker InfoHTML = "
Methuen, MA
Methuen\'s public water supply comes from the Merrimack River.
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_blue.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[11] = new Array(marker, "Methuen, MA", InfoHTML, point); point = new GLatLng(42.76062525412705, -71.44683837890625); footerHtml = "
" + "
"; // Define Marker InfoHTML = ""; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_blue.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[12] = new Array(marker, "Nashua, NH", InfoHTML, point); point = new GLatLng(42.8164957651443, -70.8207893371582); footerHtml = "
" + "
"; // Define Marker InfoHTML = "
Newburyport, MA
The Merrimack flows into the Atlantic Ocean here. But in the late 18th and 19th centuries, goods from Lowell had to be transported to Newburyport through the Pawtucket Canal, which bypassed falls along the Merrimack near Chelmsford. The canal was opened in 1796, but was superceded in 1803 by the opening of the Middlesex Canal, which gave barges direct access to Boston.

Photo: Maudsley State Park by Just Jackie
Photo: Bridge Over 95 by Gaia43
Photo: Sunrise by msummerchick

" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_blue.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[13] = new Array(marker, "Newburyport, MA", InfoHTML, point); point = new GLatLng(42.69252994883861, -71.43241882324219); footerHtml = "
" + "
"; // Define Marker InfoHTML = "
Tyngsborough, MA
Tyngsborough\'s Green Bridge, which spans the Merrimack River, is a local landmark.

Photo: Green Bridge at Tyngsborough by Tracy Lee Carroll

" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_blue.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[14] = new Array(marker, "Tyngsborough, MA", InfoHTML, point); // And finnaly create sidebar createSideBar(); }