/* * 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 InfoHTML = "
Camden-1, Camden-2, Camden-3

Higher Heights Church of God
8111 U.S. Route 127

" + 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, "Camden-1, Camden-2, Camden-3", InfoHTML, point); point = new GLatLng(39.566576, -84.813897); footerHtml = "
" + GetDirectionForm(1); + "
"; // Define Marker InfoHTML = "
College Corner; Israel-1
College Corner First United Presbyterian Church
112 State Line St.
" + 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, "College Corner; Israel-1", InfoHTML, point); point = new GLatLng(39.71428, -84.769579); footerHtml = "
" + GetDirectionForm(2); + "
"; // Define Marker InfoHTML = "
Dixon
Concord United Church of Christ
2225 Concord Fairhaven Road
" + 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, "Dixon", InfoHTML, point); point = new GLatLng(39.743796, -84.631193); footerHtml = "
" + GetDirectionForm(3); + "
"; // Define Marker InfoHTML = "
Eaton-1, Eaton-2
Visitation Catholic Church
407 E. Main St.
" + 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, "Eaton-1, Eaton-2", InfoHTML, point); point = new GLatLng(39.746489, -84.635062); footerHtml = "
" + GetDirectionForm(4); + "
"; // Define Marker InfoHTML = "
Eaton-3, Eaton-5

Eaton United Church of Christ
113 W. Decatur St.

" + 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, "Eaton-3, Eaton-5", InfoHTML, point); point = new GLatLng(39.758698, -84.62207); footerHtml = "
" + GetDirectionForm(5); + "
"; // Define Marker InfoHTML = "
Eaton-4, Eaton-6, Washington-East, Washington-West
First Church of God
601 E. Lexington Road
" + 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, "Eaton-4, Eaton-6, Washington-East, Washington-West", InfoHTML, point); point = new GLatLng(39.758325, -84.637677); footerHtml = "
" + GetDirectionForm(6); + "
"; // Define Marker InfoHTML = "
Eaton-7, Eaton-8
Eaton Fire Station No. 2
391 W. Lexington Road
" + 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, "Eaton-7, Eaton-8", InfoHTML, point); point = new GLatLng(39.902758, -84.675551); footerHtml = "
" + GetDirectionForm(7); + "
"; // Define Marker InfoHTML = "
Eldorado

Eldorado Village Council Room
160 N. Main St.

" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[7] = new Array(marker, "Eldorado", InfoHTML, point); point = new GLatLng(39.685822, -84.677014); footerHtml = "
" + GetDirectionForm(8); + "
"; // Define Marker InfoHTML = "
Gasper-1
Gasper Township Fire Station
4195 Paint Creek Road
" + 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, "Gasper-1", InfoHTML, point); point = new GLatLng(39.686533, -84.688832); footerHtml = "
" + GetDirectionForm(9); + "
"; // Define Marker InfoHTML = "
Gasper-2, Gasper-3

Valhalla Lodge (Lakengren)
210 Norwegian Drive

" + 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, "Gasper-2, Gasper-3", InfoHTML, point); point = new GLatLng(39.648654, -84.529034); footerHtml = "
" + GetDirectionForm(10); + "
"; // Define Marker InfoHTML = "
Gratis Village
Gratis Eagles No. 4289
15 W. Franklin St.
" + 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, "Gratis Village", InfoHTML, point); point = new GLatLng(39.59026, -84.554669); footerHtml = "
" + GetDirectionForm(11); + "
"; // Define Marker InfoHTML = "
Gratis-North, Gratis-SouthEast
West Elkton Church of Christ
12152 Ohio 503 S.
" + 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, "Gratis-North, Gratis-SouthEast", InfoHTML, point); point = new GLatLng(39.853093, -84.570919); footerHtml = "
" + GetDirectionForm(12); + "
"; // Define Marker InfoHTML = "
Harrison-SouthEast, Harrison-West
Lewisburg United Methodist Church
3147 U.S. Route 40
" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[12] = new Array(marker, "Harrison-SouthEast, Harrison-West", InfoHTML, point); point = new GLatLng(39.64063, -84.771734); footerHtml = "
" + GetDirectionForm(13); + "
"; // Define Marker InfoHTML = "
Israel-2

Fairhaven Community Church
7614 State Route 177

" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[13] = new Array(marker, "Israel-2", InfoHTML, point); point = new GLatLng(39.784187, -84.760081); footerHtml = "
" + GetDirectionForm(14); + "
"; // Define Marker InfoHTML = "
Jackson
Jackson Township House
2930 West Florence Campbellstown Road
" + 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, "Jackson", InfoHTML, point); point = new GLatLng(39.858393, -84.792544); footerHtml = "
" + GetDirectionForm(15); + "
"; // Define Marker InfoHTML = "
Jefferson-North
New Paris Fire Station
135 N. Washington St.
" + 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, "Jefferson-North", InfoHTML, point); point = new GLatLng(39.83775, -84.793499); footerHtml = "
" + GetDirectionForm(16); + "
"; // Define Marker InfoHTML = "
Jefferson-South
Jefferson Township House
210 Cedar Springs Road
" + 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, "Jefferson-South", InfoHTML, point); point = new GLatLng(39.724694, -84.535635); footerHtml = "
" + GetDirectionForm(17); + "
"; // Define Marker InfoHTML = "
Lanier-East, Lanier-NorthWest, Lanier-South
American Legion Post 322
1477 State Route 503 S.
" + 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, "Lanier-East, Lanier-NorthWest, Lanier-South", InfoHTML, point); point = new GLatLng(39.850493, -84.538385); footerHtml = "
" + GetDirectionForm(18); + "
"; // Define Marker InfoHTML = "
Lewisburg-North, Lewisburg-South
Trinity Lutheran Church
511 N. Commerce St.
" + 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, "Lewisburg-North, Lewisburg-South", InfoHTML, point); point = new GLatLng(39.902045, -84.626624); footerHtml = "
" + GetDirectionForm(19); + "
"; // Define Marker InfoHTML = "
Monroe
Wares Chapel United Methodist Church
1060 Foos Road
" + 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, "Monroe", InfoHTML, point); point = new GLatLng(39.857388, -84.790206); footerHtml = "
" + GetDirectionForm(20); + "
"; // Define Marker InfoHTML = "
New Paris-North, New Paris-South
St. Paul United Methodist Church
301 E. Main St.
" + 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, "New Paris-North, New Paris-South", InfoHTML, point); point = new GLatLng(39.64116, -84.639188); footerHtml = "
" + GetDirectionForm(21); + "
"; // Define Marker InfoHTML = "
Somers-East, Somers-West
Northside Chapel First Church of God
6820 N. Main St.
" + 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, "Somers-East, Somers-West", InfoHTML, point); point = new GLatLng(39.903724, -84.488124); footerHtml = "
" + GetDirectionForm(22); + "
"; // Define Marker InfoHTML = "
Verona; Harrison-NorthEast
Lion\'s Den
138 Mill St.
" + 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, "Verona; Harrison-NorthEast", InfoHTML, point); point = new GLatLng(39.74874, -84.532626); footerHtml = "
" + GetDirectionForm(23); + "
"; // Define Marker InfoHTML = "
West Alexandria-North, West Alexandria-South, Twin-East, Twin-We

Twin Valley Local Community School
100 Education Drive

" + footerHtml + "
"; iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; marker = createMarker(point, InfoHTML, iconbig, options); map.addOverlay(marker); aLocations[23] = new Array(marker, "West Alexandria-North, West Alexandria-South, Twin-East, Twin-We", InfoHTML, point); point = new GLatLng(39.587357, -84.55467); footerHtml = "
" + GetDirectionForm(24); + "
"; // Define Marker InfoHTML = "
West Elkton; Gratis-SouthWest
West Elkton United Methodist Church
120 S. Main St.
" + 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, "West Elkton; Gratis-SouthWest", InfoHTML, point); point = new GLatLng(39.86545, -84.628009); footerHtml = "
" + GetDirectionForm(25); + "
"; // Define Marker InfoHTML = "
West Manchester

American Legion Post No. 665
450 U.S. 127 N.

" + 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, "West Manchester", InfoHTML, point); }