/* * 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" + GetDirectionForm(0); + ""; // Define Marker options = {opasity: 100, label:"Arizona Pizza"}; InfoHTML = "
Arizona Pizza
301-392-1640
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[0] = new Array(marker, "Arizona Pizza", InfoHTML, point); point = new GLatLng(38.397704, -76.990357); footerHtml = "
" + GetDirectionForm(1); + "
"; // Define Marker options = {opasity: 100, label:"Captain Billy's Crabhouse"}; InfoHTML = "
Captain Billy's Crabhouse
301-932-4323
Just one of the many charles county crabhouses and waterfront dining. A wonderful experience for all.
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[1] = new Array(marker, "Captain Billy's Crabhouse", InfoHTML, point); point = new GLatLng(38.529238, -76.976755); footerHtml = "
" + GetDirectionForm(2); + "
"; // Define Marker options = {opasity: 100, label:"Casey Jones Restaurant"}; InfoHTML = "
Casey Jones Restaurant
301-932-6226
Come join in on the amazing food and weekly performers
Closed on Sundays
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[2] = new Array(marker, "Casey Jones Restaurant", InfoHTML, point); point = new GLatLng(38.485979091299505, -76.98600769042969); footerHtml = "
" + GetDirectionForm(3); + "
"; // Define Marker options = {opasity: 100, label:"Charles County Fairgrounds"}; InfoHTML = "
Charles County Fairgrounds
301-932-1300
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[3] = new Array(marker, "Charles County Fairgrounds", InfoHTML, point); point = new GLatLng(38.530683, -76.978988); footerHtml = "
" + GetDirectionForm(4); + "
"; // Define Marker options = {opasity: 100, label:"Charles County Government Building"}; InfoHTML = "
Charles County Government Building
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_orange.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[4] = new Array(marker, "Charles County Government Building", InfoHTML, point); point = new GLatLng(38.529012, -76.975013); footerHtml = "
" + GetDirectionForm(5); + "
"; // Define Marker options = {opasity: 100, label:"Charles Street Bakery"}; InfoHTML = "
Charles Street Bakery
301-392-6344
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[5] = new Array(marker, "Charles Street Bakery", InfoHTML, point); point = new GLatLng(38.530199, -76.971812); footerHtml = "
" + GetDirectionForm(6); + "
"; // Define Marker options = {opasity: 100, label:"Civista Medical Center"}; InfoHTML = "
Civista Medical Center
301-609-4000
" + 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, "Civista Medical Center", InfoHTML, point); point = new GLatLng(38.526653, -76.981793); footerHtml = "
" + GetDirectionForm(7); + "
"; // Define Marker options = {opasity: 100, label:"Economic Development and Tourism Department, Charles County Gov."}; InfoHTML = "
Economic Development and Tourism Department, Charles County Gov.
301-885-1340
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_orange.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[7] = new Array(marker, "Economic Development and Tourism Department, Charles County Gov.", InfoHTML, point); point = new GLatLng(38.52977, -76.977758); footerHtml = "
" + GetDirectionForm(8); + "
"; // Define Marker options = {opasity: 100, label:"Eldorado Restaurant"}; InfoHTML = "
Eldorado Restaurant
301-934-3970
A true mexican fiesta of wonderful food
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[8] = new Array(marker, "Eldorado Restaurant", InfoHTML, point); point = new GLatLng(38.483719, -76.855713); footerHtml = "
" + GetDirectionForm(9); + "
"; // Define Marker options = {opasity: 100, label:"Gilbert Run Park"}; InfoHTML = "
Gilbert Run Park
301-932-1083  
picnic pavilions, playground areas, fishing piers, and a  60 acre fresh water lake which can be used for  fishing, pedal boating, rowboating and canoeing!
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[9] = new Array(marker, "Gilbert Run Park", InfoHTML, point); point = new GLatLng(38.396517, -76.987864); footerHtml = "
" + GetDirectionForm(10); + "
"; // Define Marker options = {opasity: 100, label:"Gilligans Pier Seafood and Steakhouse"}; InfoHTML = "
Gilligans Pier Seafood and Steakhouse
301-259-4514
Live Music, Waterfront dining, poker tournaments; please come out and enjoy
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[10] = new Array(marker, "Gilligans Pier Seafood and Steakhouse", InfoHTML, point); point = new GLatLng(38.529601, -76.978562); footerHtml = "
" + GetDirectionForm(11); + "
"; // Define Marker options = {opasity: 100, label:"Green Turtle Sports Bar and Grille"}; InfoHTML = "
Green Turtle Sports Bar and Grille
301-392-9119
301-392-1557
gtlaplata@thegreeneturtle.com
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[11] = new Array(marker, "Green Turtle Sports Bar and Grille", InfoHTML, point); point = new GLatLng(38.506105, -77.045062); footerHtml = "
" + GetDirectionForm(12); + "
"; // Define Marker options = {opasity: 100, label:"Historic Port Tobacco Courthouse"}; InfoHTML = "
Historic Port Tobacco Courthouse
301-934-4313
limited parking
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_brown.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[12] = new Array(marker, "Historic Port Tobacco Courthouse", InfoHTML, point); point = new GLatLng(38.465108, -77.021073); footerHtml = "
" + GetDirectionForm(13); + "
"; // Define Marker options = {opasity: 100, label:"Historic Saint Ignatious Church"}; InfoHTML = "
Historic Saint Ignatious Church
301-934-8245
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_brown.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[13] = new Array(marker, "Historic Saint Ignatious Church", InfoHTML, point); point = new GLatLng(38.505821, -76.984198); footerHtml = "
" + GetDirectionForm(14); + "
"; // Define Marker options = {opasity: 100, label:"Johnny Boy's Ribs"}; InfoHTML = "
Johnny Boy's Ribs
301-870-2536
301-392-3086
BBQ Sandwiches, Ribs, Chicken, Cole-Slaw, Potato Salad, Macaroni Salad, Homemade Lemonade, Platters
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[14] = new Array(marker, "Johnny Boy's Ribs", InfoHTML, point); point = new GLatLng(38.529812277091615, -76.97910904884338); footerHtml = "
" + GetDirectionForm(15); + "
"; // Define Marker options = {opasity: 100, label:"LaPlata Methodist Episcopal"}; InfoHTML = "
LaPlata Methodist Episcopal
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[15] = new Array(marker, "LaPlata Methodist Episcopal", InfoHTML, point); point = new GLatLng(38.55188, -76.949097); footerHtml = "
" + GetDirectionForm(16); + "
"; // Define Marker options = {opasity: 100, label:"Laurel Springs Regional Park"}; InfoHTML = "
Laurel Springs Regional Park
301-932-3440
301-870-2778 
This park offers two small picnic pavilions and many other areas with picnic tables.  2  baseball fields, 5 softball fields, 3 little league fields, 1 football and 5 soccer fields are among the ammenities at this park. Several of the fields are lighted for evening play. Come out and enjoy the new running/walking trail which travels the wooded perimeter of the park. (This trail is open year round.)
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[16] = new Array(marker, "Laurel Springs Regional Park", InfoHTML, point); point = new GLatLng(38.543247, -76.983781); footerHtml = "
" + GetDirectionForm(17); + "
"; // Define Marker options = {opasity: 100, label:"PETCO"}; InfoHTML = "
PETCO
301-392-0182
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[17] = new Array(marker, "PETCO", InfoHTML, point); point = new GLatLng(38.49901177740276, -77.02892303466797); footerHtml = "
" + GetDirectionForm(18); + "
"; // Define Marker options = {opasity: 100, label:"Port Tobacco Tiki Bar and Grill"}; InfoHTML = "
Port Tobacco Tiki Bar and Grill
301-392-0007
Come enjoy live entertainment and a Southern Maryland experience.
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[18] = new Array(marker, "Port Tobacco Tiki Bar and Grill", InfoHTML, point); point = new GLatLng(38.509994, -76.678246); footerHtml = "
" + GetDirectionForm(19); + "
"; // Define Marker options = {opasity: 100, label:"Rivers Edge Restaurant"}; InfoHTML = "
Rivers Edge Restaurant
301-274-2828    
Not the typical crabhouse of charles county but still waterfront and still wonderful
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[19] = new Array(marker, "Rivers Edge Restaurant", InfoHTML, point); point = new GLatLng(38.40039, -76.991247); footerHtml = "
" + GetDirectionForm(20); + "
"; // Define Marker options = {opasity: 100, label:"Robertson's Crab House"}; InfoHTML = "
Robertson's Crab House
301-259-0545
A truely wonderful waterfront experience.
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[20] = new Array(marker, "Robertson's Crab House", InfoHTML, point); point = new GLatLng(38.266886, -76.849941); footerHtml = "
" + GetDirectionForm(21); + "
"; // Define Marker options = {opasity: 100, label:"Shymansky's"}; InfoHTML = "
Shymansky's
301-259-0300
Waterfront dining is a good time for all in Charles County
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[21] = new Array(marker, "Shymansky's", InfoHTML, point); point = new GLatLng(38.529464, -76.981274); footerHtml = "
" + GetDirectionForm(22); + "
"; // Define Marker options = {opasity: 100, label:"The Royal Team Room"}; InfoHTML = "
The Royal Team Room
301-392-1111
\"Afternoon tea\" is the specialty but for a full meal of soup and salad, scone, tea sandwiches, fruit, cheese and other small sweets call to make a reservation. You may also choose to get a smaller version of this larger meal by reservation as well. This experience forgets no detail from the lace curtains to the amazing foyer and victorian prints on the walls.The china used to serve patrons is elegant and each guest can pick his or her set they wish to use. If you enjoy this experience and need to remember is there is china for sale in a small gift shop
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[22] = new Array(marker, "The Royal Team Room", InfoHTML, point); point = new GLatLng(38.529633, -77.032502); footerHtml = "
" + GetDirectionForm(23); + "
"; // Define Marker options = {opasity: 100, label:"Thomas Stone National Historic Site"}; InfoHTML = "
Thomas Stone National Historic Site
301-392 1776
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_brown.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[23] = new Array(marker, "Thomas Stone National Historic Site", InfoHTML, point); point = new GLatLng(38.53668581437224, -76.98308944702148); footerHtml = "
" + GetDirectionForm(24); + "
"; // Define Marker options = {opasity: 100, label:"Town Mouse Market-Cafe"}; InfoHTML = "
Town Mouse Market-Cafe
301-935-7955
Great Deli Sandwiches and more
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[24] = new Array(marker, "Town Mouse Market-Cafe", InfoHTML, point); point = new GLatLng(38.52985, -76.983187); footerHtml = "
" + GetDirectionForm(25); + "
"; // Define Marker options = {opasity: 100, label:"True Value"}; InfoHTML = "
True Value
301-934-3200
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[25] = new Array(marker, "True Value", InfoHTML, point); point = new GLatLng(38.58956, -76.938946); footerHtml = "
" + GetDirectionForm(26); + "
"; // Define Marker options = {opasity: 100, label:"Turkey Hill Dog Park"}; InfoHTML = "
Turkey Hill Dog Park

Parks are open 7 days a week-8:00am until dusk 
(Christmas Day and New Year\'s Day closed)
*Please bring water for the dog!

" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[26] = new Array(marker, "Turkey Hill Dog Park", InfoHTML, point); point = new GLatLng(38.508719, -76.984116); footerHtml = "
" + GetDirectionForm(27); + "
"; // Define Marker options = {opasity: 100, label:"Twin Kiss Drive Inn"}; InfoHTML = "
Twin Kiss Drive Inn
301-934-4025

Great Food, Soft serve Ice cream, Amazing Shakes!
Dine-in or Take-out
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[27] = new Array(marker, "Twin Kiss Drive Inn", InfoHTML, point); point = new GLatLng(38.57705772759347, -76.92099094390869); footerHtml = "
" + GetDirectionForm(28); + "
"; // Define Marker options = {opasity: 100, label:"White Plains Dog Park"}; InfoHTML = "
White Plains Dog Park
301-932-3440
301-870-2778 
A place to relax and throw the frisby with your dog!
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[28] = new Array(marker, "White Plains Dog Park", InfoHTML, point); point = new GLatLng(38.578037, -76.921914); footerHtml = "
" + GetDirectionForm(29); + "
"; // Define Marker options = {opasity: 100, label:"White Plains Regional Park"}; InfoHTML = "
White Plains Regional Park
301-843-2947
Enjoy a wonderful golf course, driving range, grab some friends for a game of soccer, lighted tennis courts,baseball fields, a football field, and softball field. White Plains also has a \"tot-lot\" and playground. The park is open 8a.m. until dusk (9a.m. in the winter months)
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[29] = new Array(marker, "White Plains Regional Park", InfoHTML, point); // And finnaly create sidebar createSideBar(); }