// Copyright 2005 MapBuilder.net // You can't use this script or parts of this script without written permission from MapBuilder.net or Andrew Bidochko. // This script is a part of free service provided by MapBuilder.net and the script can be used from MapBuilder.net server only. function include(script_filename) { document.write('<' + 'script'); document.write(' language="javascript"'); document.write(' type="text/javascript"'); document.write(' src="' + script_filename + '">'); document.write(''); } include("http://www.mapbuilder.net/js/direction.php"); // Global Variables // set map variable var map = ""; //set up array of locations var aLocations = new Array; // Storage for sidebar list var listNodeContent = ""; // Create MabBuilder's "tiny" red marker icon var iconsm = new GIcon(); iconsm.image = "http://labs.google.com/ridefinder/images/mm_20_red.png"; iconsm.shadow = "http://labs.google.com/ridefinder/images/mm_20_shadow.png"; iconsm.iconSize = new GSize(12, 20); iconsm.shadowSize = new GSize(22, 25); iconsm.iconAnchor = new GPoint(6, 20); iconsm.infoWindowAnchor = new GPoint(5, 1); // Create MabBuilder's "big" marker icon var iconbig = new GIcon(); iconbig.image = "http://www.google.com/mapfiles/marker.png"; iconbig.shadow = "http://www.google.com/mapfiles/shadow50.png"; iconbig.iconSize = new GSize(20, 34); iconbig.shadowSize = new GSize(37, 34); iconbig.iconAnchor = new GPoint(6, 34); iconbig.infoWindowAnchor = new GPoint(5, 1); // Custom Icon var iconcustom = new GIcon(iconbig); iconcustom.shadow = ''; /* * Copyright (c) 2005 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. */ MapBuilder.prototype.GetGoogleMapsAPIVersion = function() { var v = 0; var scripts = document.getElementsByTagName("SCRIPT") for (var i=0; iPowered By MapBuilder.net v1.0, GMap v'+v+''; try { if (v > 2) { oMap.getContainer().appendChild(info); } else { oMap.div.parentNode.appendChild(info); } } catch (e) { // do nothing } } GMap.prototype.addMapBuilder=function(oMap){ oMap.initialize(this); } MapBuilder.prototype.registerMBEvent=function(oMap){ GEvent.addListener(oMap, "maptypechanged", function() { setCreatedColor(oMap); }); } GMap.prototype.addMapBuilder=function(oMap){ oMap.initialize(this); } //Set "Created By Mapbuilder" color based on map type function setCreatedColor(oMap) { // v1 return ; var info=oMap.ownerDocument.getElementById('CreatedByMapBuilder'); currmaptype = getCurrentMapTypeNumber(oMap); // Regular map if (currmaptype == 0) info.style.color='#000000'; else info.style.color='#FFFFFF'; } //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 7) ? 7 : ((currentZoom == 0) ? 0 : (currentZoom - 1)); map.centerAndZoom(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.centerAtLatLng(aLocations[num][3]); // Use markeropenInfoWindowHtml(html) aLocations[num][0].openInfoWindowHtml(aLocations[num][2]); // Move focus to the map // Depricated //window.scrollTo(10, 10); } // Creates a locations list and put it into side bar function createSideBar() { // write links into document. for (var i=0; i" + GetDirectionForm(0); + ""; // Define Marker iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; InfoHTML = "
Anderson Blitz
AASA Blitz
Anderson, Indiana
" + footerHtml + "
"; marker = createMarker(point, InfoHTML, iconbig); map.addOverlay(marker); aLocations[0] = new Array(marker, "Anderson Blitz", InfoHTML, point); point = new GPoint(-86.41899347305298, 39.773779980818304); footerHtml = "
" + GetDirectionForm(1); + "
"; // Define Marker iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_yellow.png"; InfoHTML = "
Avon Soccer Association
" + footerHtml + "
"; marker = createMarker(point, InfoHTML, iconbig); map.addOverlay(marker); aLocations[1] = new Array(marker, "Avon Soccer Association", InfoHTML, point); point = new GPoint(-85.2157062292099, 39.29107464620125); footerHtml = "
" + GetDirectionForm(2); + "
"; // Define Marker iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_orange.png"; InfoHTML = "
Batesville Soccer Club
" + footerHtml + "
"; marker = createMarker(point, InfoHTML, iconbig); map.addOverlay(marker); aLocations[2] = new Array(marker, "Batesville Soccer Club", InfoHTML, point); point = new GPoint(-86.29574060440063, 39.79745821729238); footerHtml = "
" + GetDirectionForm(3); + "
"; // Define Marker iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_purple.png"; InfoHTML = "
Ben Davis Soccer Club
" + footerHtml + "
"; marker = createMarker(point, InfoHTML, iconbig); map.addOverlay(marker); aLocations[3] = new Array(marker, "Ben Davis Soccer Club", InfoHTML, point); point = new GPoint(-86.59955978393554, 39.14147781873408); footerHtml = "
" + GetDirectionForm(4); + "
"; // Define Marker iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; InfoHTML = "
Bloomington Cutters
" + footerHtml + "
"; marker = createMarker(point, InfoHTML, iconbig); map.addOverlay(marker); aLocations[4] = new Array(marker, "Bloomington Cutters", InfoHTML, point); point = new GPoint(-85.75796842575073, 39.531328414131394); footerHtml = "
" + GetDirectionForm(5); + "
"; // Define Marker iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_blue.png"; InfoHTML = "
Blue River Soccer

http://www.blueriversoccer.com/
Fields are east of Cemetary on Right

" + footerHtml + "
"; marker = createMarker(point, InfoHTML, iconbig); map.addOverlay(marker); aLocations[5] = new Array(marker, "Blue River Soccer", InfoHTML, point); point = new GPoint(-86.38888835906982, 39.82554493915551); footerHtml = "
" + GetDirectionForm(6); + "
"; // Define Marker iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_purple.png"; InfoHTML = "
Brownsburg Royale Soccer Club
http://www.brownsburgsoccer.org/
Soon to be called Fusion Soccer Academy
after a merger with Avon Soccer Association.
" + footerHtml + "
"; marker = createMarker(point, InfoHTML, iconbig); map.addOverlay(marker); aLocations[6] = new Array(marker, "Brownsburg Royale Soccer Club", InfoHTML, point); point = new GPoint(-86.24050855636596, 39.76995376300068); footerHtml = "
" + GetDirectionForm(7); + "
"; // Define Marker iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_green.png"; InfoHTML = "
C.D. Latino
C.D. Latino at Thatcher Park
Indianapolis, IN
" + footerHtml + "
"; marker = createMarker(point, InfoHTML, iconbig); map.addOverlay(marker); aLocations[7] = new Array(marker, "C.D. Latino", InfoHTML, point); point = new GPoint(-86.21332168579101, 39.96883230529159); footerHtml = "
" + GetDirectionForm(8); + "
"; // Define Marker iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_yellow.png"; InfoHTML = "
Carmel United Soccer Club
http://www.carmelunited.org/
Also home to Indy Inferno
" + footerHtml + "
"; marker = createMarker(point, InfoHTML, iconbig); map.addOverlay(marker); aLocations[8] = new Array(marker, "Carmel United Soccer Club", InfoHTML, point); point = new GPoint(-86.51456594467163, 40.548928548063955); footerHtml = "
" + GetDirectionForm(9); + "
"; // Define Marker iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_green.png"; InfoHTML = "
Carroll County Travel Club
Carroll County Travel Club
Flora Indiana
" + footerHtml + "
"; marker = createMarker(point, InfoHTML, iconbig); map.addOverlay(marker); aLocations[9] = new Array(marker, "Carroll County Travel Club", InfoHTML, point); point = new GPoint(-86.1939024925232, 39.54657738154772); footerHtml = "
" + GetDirectionForm(10); + "
"; // Define Marker iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; InfoHTML = "
Center Grove Soccer Club
Center Grove Soccer Club
South Central Select
http://www.centergrovesoccer.org/
" + footerHtml + "
"; marker = createMarker(point, InfoHTML, iconbig); map.addOverlay(marker); aLocations[10] = new Array(marker, "Center Grove Soccer Club", InfoHTML, point); point = new GPoint(-84.99667704105377, 39.813241928029605); footerHtml = "
" + GetDirectionForm(11); + "
"; // Define Marker iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_white.png"; InfoHTML = "
Centerville Soccer Club
Centerville Soccer Club
" + footerHtml + "
"; marker = createMarker(point, InfoHTML, iconbig); map.addOverlay(marker); aLocations[11] = new Array(marker, "Centerville Soccer Club", InfoHTML, point); point = new GPoint(-85.709858, 38.362917); footerHtml = "
" + GetDirectionForm(12); + "
"; // Define Marker iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_white.png"; InfoHTML = "
Clark County Soccer Association
" + footerHtml + "
"; marker = createMarker(point, InfoHTML, iconbig); map.addOverlay(marker); aLocations[12] = new Array(marker, "Clark County Soccer Association", InfoHTML, point); point = new GPoint(-86.35871887207031, 39.625986575007474); footerHtml = "
" + GetDirectionForm(13); + "
"; // Define Marker iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_blue.png"; InfoHTML = "
Komets Soccer Club
Komets Soccer Club
http://komets.org/

Click the \'To Here\' link at the bottom for directions.
" + footerHtml + "
"; marker = createMarker(point, InfoHTML, iconbig); map.addOverlay(marker); aLocations[13] = new Array(marker, "Komets Soccer Club", InfoHTML, point); point = new GPoint(-86.28916382789612, 39.85150340754933); footerHtml = "
" + GetDirectionForm(14); + "
"; // Define Marker iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; InfoHTML = "
Pike & Indy Burn Geisse Fields 56th ST
" + footerHtml + "
"; marker = createMarker(point, InfoHTML, iconbig); map.addOverlay(marker); aLocations[14] = new Array(marker, "Pike & Indy Burn Geisse Fields 56th ST", InfoHTML, point); point = new GPoint(-86.25057220458984, 39.86513364568494); footerHtml = "
" + GetDirectionForm(15); + "
"; // Define Marker iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_red.png"; InfoHTML = "
Pike & Indy Burn North Westway Park
Pike & Indy Burn Soccer Club
http://pikeyouthsoccerclub.org
" + footerHtml + "
"; marker = createMarker(point, InfoHTML, iconbig); map.addOverlay(marker); aLocations[15] = new Array(marker, "Pike & Indy Burn North Westway Park", InfoHTML, point); point = new GPoint(-86.2975001335144, 39.7851584234572); footerHtml = "
" + GetDirectionForm(16); + "
"; // Define Marker iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_purple.png"; InfoHTML = "
Pumas Soccer Club

Pumas Soccer Club
1200 N Girls School Rd
Indianapolis, IN  46214

" + footerHtml + "
"; marker = createMarker(point, InfoHTML, iconbig); map.addOverlay(marker); aLocations[16] = new Array(marker, "Pumas Soccer Club", InfoHTML, point); point = new GPoint(-86.37927532196045, 39.77140511203588); footerHtml = "
" + GetDirectionForm(17); + "
"; // Define Marker iconbig.image = "http://www.mapbuilder.net/img/icons/marker_34_green.png"; InfoHTML = "
Westside United
" + footerHtml + "
"; marker = createMarker(point, InfoHTML, iconbig); map.addOverlay(marker); aLocations[17] = new Array(marker, "Westside United", InfoHTML, point); // And finnaly create sidebar createSideBar(); // Store sidebar listNodeContent = document.getElementById("LocationList").innerHTML; }