/* * 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:"Diamond Limousines, Inc."}; InfoHTML = "
Diamond Limousines, Inc.
4110 Crain Highway 
Waldorf, MD  20602
» 301.870.4550
» 877.870.4550
» 301.870.4551 (Fax)
www.diamondlimo.com
" + 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, "Diamond Limousines, Inc.", InfoHTML, point); point = new GLatLng(38.53931, -76.787422); footerHtml = "
" + GetDirectionForm(1); + "
"; // Define Marker options = {opasity: 100, label:"Legacy Limousine"}; InfoHTML = "
Legacy Limousine
8130 Old Leonardtown Rd
Hughesville, MD 20637
301-705-7638
Fax 301-893-8737

Website
Email address:  legacy_limousine@yahoo.com
" + 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, "Legacy Limousine", InfoHTML, point); point = new GLatLng(38.62306, -76.910148); footerHtml = "
" + GetDirectionForm(2); + "
"; // Define Marker options = {opasity: 100, label:"Limo Scene"}; InfoHTML = "
Limo Scene
Limo Scene Inc.
3195 Old Washington Road
Waldorf, MD 20602
Phone: 1.800.OKDREAM or 301.645.5466 or 410.535.5678
Fax: 301.893.8737
http://www.limoscene-inc.com/

" + 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, "Limo Scene", InfoHTML, point); point = new GLatLng(38.63399, -76.902277); footerHtml = "
" + GetDirectionForm(3); + "
"; // Define Marker options = {opasity: 100, label:"Platinum Limousine Service"}; InfoHTML = "
Platinum Limousine Service
11701 Central Avenue Suite #201  
Waldorf, MD 20601
866-278-6776 
301-877-7176
www.platinumlimousine.com
" + 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, "Platinum Limousine Service", InfoHTML, point); point = new GLatLng(38.59355, -76.945374); footerHtml = "
" + GetDirectionForm(4); + "
"; // Define Marker options = {opasity: 100, label:"Stephens Limo Service"}; InfoHTML = "
Stephens Limo Service
10330 Theodore Green Blvd
White Plains, MD 20695
301-645-5151
800-297-0101
Fax 301-645-7068
Website

28 Passenger Van - A/C, Heat, Video/DVD Monitors, Overhead Storage, Large Tinted Windows, Reclining Seats/Arm Rests, Extra Storage
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[4] = new Array(marker, "Stephens Limo Service", InfoHTML, point); // And finnaly create sidebar createSideBar(); }