function addMarkers() { mySelect = document.getElementById('selection'); Annapolis = [];Arnold = [];Odenton = [];Gambrills = [];Baltimore = [];Severna_Park = [];Pasadena = [];Laurel = [];Severn = [];Edgewater = [];Hanoverrnie = [];Glen_Burnie = [];Crofton = [];Davidsonville = [];Deale = [];Ft_Meade = [];Jessup = [];Linthicum = [];Linthicum_Heights = [];Lothian = [];Fort_Meade = [];Crownsville = [];Millersville = [];North_Linthicum = [];Shady_Side = [];Harwood = [];mySelect.options[mySelect.options.length] = new Option("Annapolis schools",'all=Annapolis'); mySelect.options[mySelect.options.length] = new Option("Arnold schools",'all=Arnold'); mySelect.options[mySelect.options.length] = new Option("Baltimore schools",'all=Baltimore'); mySelect.options[mySelect.options.length] = new Option("Crofton schools",'all=Crofton'); mySelect.options[mySelect.options.length] = new Option("Crownsville schools",'all=Crownsville'); mySelect.options[mySelect.options.length] = new Option("Davidsonville schools",'all=Davidsonville'); mySelect.options[mySelect.options.length] = new Option("Deale schools",'all=Deale'); mySelect.options[mySelect.options.length] = new Option("Edgewater schools",'all=Edgewater'); mySelect.options[mySelect.options.length] = new Option("Fort Meade schools",'all=Fort_Meade'); mySelect.options[mySelect.options.length] = new Option("Ft Meade schools",'all=Ft_Meade'); mySelect.options[mySelect.options.length] = new Option("Gambrills schools",'all=Gambrills'); mySelect.options[mySelect.options.length] = new Option("Glen Burnie schools",'all=Glen_Burnie'); mySelect.options[mySelect.options.length] = new Option("Hanoverrnie schools",'all=Hanoverrnie'); mySelect.options[mySelect.options.length] = new Option("Harwood schools",'all=Harwood'); mySelect.options[mySelect.options.length] = new Option("Jessup schools",'all=Jessup'); mySelect.options[mySelect.options.length] = new Option("Laurel schools",'all=Laurel'); mySelect.options[mySelect.options.length] = new Option("Linthicum schools",'all=Linthicum'); mySelect.options[mySelect.options.length] = new Option("Linthicum Heights schools",'all=Linthicum_Heights'); mySelect.options[mySelect.options.length] = new Option("Lothian schools",'all=Lothian'); mySelect.options[mySelect.options.length] = new Option("Millersville schools",'all=Millersville'); mySelect.options[mySelect.options.length] = new Option("North Linthicum schools",'all=North_Linthicum'); mySelect.options[mySelect.options.length] = new Option("Odenton schools",'all=Odenton'); mySelect.options[mySelect.options.length] = new Option("Pasadena schools",'all=Pasadena'); mySelect.options[mySelect.options.length] = new Option("Severn schools",'all=Severn'); mySelect.options[mySelect.options.length] = new Option("Severna Park schools",'all=Severna_Park'); mySelect.options[mySelect.options.length] = new Option("Shady Side schools",'all=Shady_Side'); mySelect.options[mySelect.options.length] = new Option("---------------------------",''); Annapolis[Annapolis.length] = createMarker(new GPoint(-76.48791504,38.97697449),"
Annapolis Elementary School
180 Green St
Annapolis, MD 21401

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Annapolis Elementary School",'Annapolis=' + Annapolis.length); Annapolis[Annapolis.length] = createMarker(new GPoint(-76.50906372,38.95771027),"
Annapolis Middle School
1399 Forest Dr
Annapolis, MD 21403

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Annapolis Middle School",'Annapolis=' + Annapolis.length); Annapolis[Annapolis.length] = createMarker(new GPoint(-76.56314850,38.97260284),"
Annapolis Senior High School
2700 Riva Rd
Annapolis, MD 21401

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Annapolis Senior High School",'Annapolis=' + Annapolis.length); Arnold[Arnold.length] = createMarker(new GPoint(-76.49776459,39.03437805),"
Arnold Elementary School
90 Church Rd
Arnold, MD 21012

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Arnold Elementary School",'Arnold=' + Arnold.length); Odenton[Odenton.length] = createMarker(new GPoint(-76.68693542,39.07511520),"
Arundel Middle School
1179 Hammond Ln
Odenton, MD 21113

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Arundel Middle School",'Odenton=' + Odenton.length); Gambrills[Gambrills.length] = createMarker(new GPoint(-76.68069458,39.07434464),"
Arundel Senior High School
1001 Annapolis Rd
Gambrills, MD 21054

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Arundel Senior High School",'Gambrills=' + Gambrills.length); Baltimore[Baltimore.length] = createMarker(new GPoint(-76.61986542,39.22961044),"
Belle Grove Elementary School
4502 Belle Grove Rd
Baltimore, MD 21225

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Belle Grove Elementary School",'Baltimore=' + Baltimore.length); Arnold[Arnold.length] = createMarker(new GPoint(-76.50143433,39.05811310),"
Belvedere Elementary School
360 Broadwater Rd
Arnold, MD 21012

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Belvedere Elementary School",'Arnold=' + Arnold.length); Severna_Park[Severna_Park.length] = createMarker(new GPoint(-76.58851624,39.08860016),"
Benfield Elementary School
365 Lynwood Dr
Severna Park, MD 21146

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Benfield Elementary School",'Severna_Park=' + Severna_Park.length); Pasadena[Pasadena.length] = createMarker(new GPoint(-76.45423126,39.11445236),"
Bodkin Elementary School
8320 Ventnor Rd
Pasadena, MD 21122

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Bodkin Elementary School",'Pasadena=' + Pasadena.length); Arnold[Arnold.length] = createMarker(new GPoint(-76.48360443,39.04684067),"
Broadneck Elementary School
470 Shore Acres Rd
Arnold, MD 21012

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Broadneck Elementary School",'Arnold=' + Arnold.length); Annapolis[Annapolis.length] = createMarker(new GPoint(-76.45656586,39.03786087),"
Broadneck Senior High School
1265 Green Holly Dr
Annapolis, MD 21401

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Broadneck Senior High School",'Annapolis=' + Annapolis.length); Laurel[Laurel.length] = createMarker(new GPoint(-76.82282257,39.08812714),"
Brock Bridge Elementary School
405 Brock Bridge Rd
Laurel, MD 20724

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Brock Bridge Elementary School",'Laurel=' + Laurel.length); Baltimore[Baltimore.length] = createMarker(new GPoint(-76.61767578,39.22173691),"
Brooklyn Park Elementary School
200 14th Ave
Baltimore, MD 21225

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Brooklyn Park Elementary School",'Baltimore=' + Baltimore.length); Baltimore[Baltimore.length] = createMarker(new GPoint(-76.61878967,39.21573257),"
Brooklyn Park Middle School
200 Hammonds Ln
Baltimore, MD 21225

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Brooklyn Park Middle School",'Baltimore=' + Baltimore.length); Annapolis[Annapolis.length] = createMarker(new GPoint(-76.44424438,39.03943253),"
Cape Saint Claire Elementary School
931 Blue Ridge Rd
Annapolis, MD 21401

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Cape Saint Claire Elementary School",'Annapolis=' + Annapolis.length); Severn[Severn.length] = createMarker(new GPoint(-76.64965820,39.12816238),"
Center Of Applied Technology-north
800 Stevenson Rd
Severn, MD 21144

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Center Of Applied Technology-north",'Severn=' + Severn.length); Edgewater[Edgewater.length] = createMarker(new GPoint(-76.56269073,38.92600632),"
Center Of Applied Technology-south
211 Central Ave E
Edgewater, MD 21037

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Center Of Applied Technology-south",'Edgewater=' + Edgewater.length); Edgewater[Edgewater.length] = createMarker(new GPoint(-76.56662750,38.92541504),"
Central Elementary School
130 Stepney Ln
Edgewater, MD 21037

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Central Elementary School",'Edgewater=' + Edgewater.length); Edgewater[Edgewater.length] = createMarker(new GPoint(-76.56223297,38.92586517),"
Central Middle School
221 Central Ave E
Edgewater, MD 21037

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Central Middle School",'Edgewater=' + Edgewater.length); Edgewater[Edgewater.length] = createMarker(new GPoint(-76.56645966,38.92548752),"
Central Special Education Center
140 Stepney Ln
Edgewater, MD 21037

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Central Special Education Center",'Edgewater=' + Edgewater.length); Pasadena[Pasadena.length] = createMarker(new GPoint(-76.45764923,39.10881424),"
Chesapeake Bay Middle School
4804 Mountain Rd
Pasadena, MD 21122

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Chesapeake Bay Middle School",'Pasadena=' + Pasadena.length); Hanoverrnie[Hanoverrnie.length] = createMarker(new GPoint(-76.70574000,39.16657600),"
Chesapeake Science Point
1321 Mercedes Dr N-s
Hanoverrnie, MD 21076

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Chesapeake Science Point",'Hanoverrnie=' + Hanoverrnie.length); Pasadena[Pasadena.length] = createMarker(new GPoint(-76.45799255,39.10870743),"
Chesapeake Senior High School
4798 Mountain Rd
Pasadena, MD 21122

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Chesapeake Senior High School",'Pasadena=' + Pasadena.length); Glen_Burnie[Glen_Burnie.length] = createMarker(new GPoint(-76.63160500,39.15409500),"
Corkran Middle School
7600 Quarterfield Rd
Glen Burnie, MD 21061

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Corkran Middle School",'Glen_Burnie=' + Glen_Burnie.length); Crofton[Crofton.length] = createMarker(new GPoint(-76.68947601,39.01250839),"
Crofton Elementary School
1405 Duke Of Kent St
Crofton, MD 21114

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Crofton Elementary School",'Crofton=' + Crofton.length); Crofton[Crofton.length] = createMarker(new GPoint(-76.67039490,39.01508331),"
Crofton Meadows Elementary School
2020 Tilghman Dr
Crofton, MD 21114

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Crofton Meadows Elementary School",'Crofton=' + Crofton.length); Crofton[Crofton.length] = createMarker(new GPoint(-76.67128754,38.99498367),"
Crofton Middle School
2301 Davidsonville Rd
Crofton, MD 21114

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Crofton Middle School",'Crofton=' + Crofton.length); Crofton[Crofton.length] = createMarker(new GPoint(-76.69515228,38.99771881),"
Crofton Woods Elementary School
1750 Urby Dr
Crofton, MD 21114

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Crofton Woods Elementary School",'Crofton=' + Crofton.length); Davidsonville[Davidsonville.length] = createMarker(new GPoint(-76.63792419,38.91821671),"
Davidsonville Elementary School
962 Central Ave W
Davidsonville, MD 21035

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Davidsonville Elementary School",'Davidsonville=' + Davidsonville.length); Deale[Deale.length] = createMarker(new GPoint(-76.55017853,38.77869415),"
Deale Elementary School
759 Mason Beach Rd
Deale, MD 20751

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Deale Elementary School",'Deale=' + Deale.length); Annapolis[Annapolis.length] = createMarker(new GPoint(-76.48343658,38.97059250),"
Eastport Elementary School
420 5th St
Annapolis, MD 21403

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Eastport Elementary School",'Annapolis=' + Annapolis.length); Edgewater[Edgewater.length] = createMarker(new GPoint(-76.55802917,38.93833542),"
Edgewater Elementary School
121 Washington Rd
Edgewater, MD 21037

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Edgewater Elementary School",'Edgewater=' + Edgewater.length); Glen_Burnie[Glen_Burnie.length] = createMarker(new GPoint(-76.64192200,39.18409348),"
Ferndale Early Childhood Center
525 Wellham Ave
Glen Burnie, MD 21061

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Ferndale Early Childhood Center",'Glen_Burnie=' + Glen_Burnie.length); Severna_Park[Severna_Park.length] = createMarker(new GPoint(-76.53884888,39.08436203),"
Folger Mckinsey Elementary School
175 Arundel Beach Rd
Severna Park, MD 21146

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Folger Mckinsey Elementary School",'Severna_Park=' + Severna_Park.length); Pasadena[Pasadena.length] = createMarker(new GPoint(-76.47547913,39.13172913),"
Fort Smallwood Elementary School
1720 Poplar Ridge Rd
Pasadena, MD 21122

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Fort Smallwood Elementary School",'Pasadena=' + Pasadena.length); Gambrills[Gambrills.length] = createMarker(new GPoint(-76.69543457,39.05288696),"
Four Seasons Elementary School
979 Waugh Chapel Rd
Gambrills, MD 21054

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Four Seasons Elementary School",'Gambrills=' + Gambrills.length); Glen_Burnie[Glen_Burnie.length] = createMarker(new GPoint(-76.57907867,39.13962936),"
Freetown Elementary School
7904 Freetown Rd
Glen Burnie, MD 21060

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Freetown Elementary School",'Glen_Burnie=' + Glen_Burnie.length); Glen_Burnie[Glen_Burnie.length] = createMarker(new GPoint(-76.62929535,39.18569183),"
George Cromwell Elementary School
525 Wellham Ave
Glen Burnie, MD 21061

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("George Cromwell Elementary School",'Glen_Burnie=' + Glen_Burnie.length); Pasadena[Pasadena.length] = createMarker(new GPoint(-76.54827881,39.13276672),"
George Fox Middle School
7922 Outing Ave
Pasadena, MD 21122

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("George Fox Middle School",'Pasadena=' + Pasadena.length); Annapolis[Annapolis.length] = createMarker(new GPoint(-76.49030304,38.95320892),"
Georgetown East Elementary School
111 Dogwood Rd
Annapolis, MD 21403

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Georgetown East Elementary School",'Annapolis=' + Annapolis.length); Annapolis[Annapolis.length] = createMarker(new GPoint(-76.51379395,38.98381424),"
Germantown Elementary School
1411 Cedar Park Rd
Annapolis, MD 21401

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Germantown Elementary School",'Annapolis=' + Annapolis.length); Glen_Burnie[Glen_Burnie.length] = createMarker(new GPoint(-76.62102509,39.16246796),"
Glen Burnie Evening High School
7505 Baltimoreannapolis Blvd
Glen Burnie, MD 21061

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Glen Burnie Evening High School",'Glen_Burnie=' + Glen_Burnie.length); Glen_Burnie[Glen_Burnie.length] = createMarker(new GPoint(-76.63753510,39.14121628),"
Glen Burnie Park Elementary School
500 Marlboro Rd
Glen Burnie, MD 21061

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Glen Burnie Park Elementary School",'Glen_Burnie=' + Glen_Burnie.length); Glen_Burnie[Glen_Burnie.length] = createMarker(new GPoint(-76.62526703,39.16250992),"
Glen Burnie Senior High School
7550 Balto-annapolis Blvd Se
Glen Burnie, MD 21060

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Glen Burnie Senior High School",'Glen_Burnie=' + Glen_Burnie.length); Glen_Burnie[Glen_Burnie.length] = createMarker(new GPoint(-76.61157227,39.16197205),"
Glendale Elementary School
105 Carroll Rd
Glen Burnie, MD 21060

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Glendale Elementary School",'Glen_Burnie=' + Glen_Burnie.length); Ft_Meade[Ft_Meade.length] = createMarker(new GPoint(-76.71557617,39.14688110),"
Harman Elementary School
1925 Reece Rd
Ft Meade, MD 20755

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Harman Elementary School",'Ft_Meade=' + Ft_Meade.length); Pasadena[Pasadena.length] = createMarker(new GPoint(-76.54019165,39.14360428),"
High Point Elementary School
924 Duvall Hwy
Pasadena, MD 21122

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("High Point Elementary School",'Pasadena=' + Pasadena.length); Annapolis[Annapolis.length] = createMarker(new GPoint(-76.48619080,38.94357300),"
Hillsmere Elementary School
3052 Arundel On The Bay Rd
Annapolis, MD 21403

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hillsmere Elementary School",'Annapolis=' + Annapolis.length); Glen_Burnie[Glen_Burnie.length] = createMarker(new GPoint(-76.63684845,39.18799210),"
Hilltop Elementary School
415 Melrose Ave
Glen Burnie, MD 21061

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hilltop Elementary School",'Glen_Burnie=' + Glen_Burnie.length); Annapolis[Annapolis.length] = createMarker(new GPoint(-76.50067902,38.97966385),"
J. Albert Adams Academy At Adams Park
245 Clay Street
Annapolis, MD 21401

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("J. Albert Adams Academy At Adams Park",'Annapolis=' + Annapolis.length); Pasadena[Pasadena.length] = createMarker(new GPoint(-76.52471161,39.12356567),"
Jacobsville Elementary School
3801 Mountain Rd
Pasadena, MD 21122

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Jacobsville Elementary School",'Pasadena=' + Pasadena.length); Jessup[Jessup.length] = createMarker(new GPoint(-76.76745605,39.14416122),"
Jessup Elementary School
2900 Elementary School Ln
Jessup, MD 20794

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Jessup Elementary School",'Jessup=' + Jessup.length); Severna_Park[Severna_Park.length] = createMarker(new GPoint(-76.53623962,39.05735016),"
Jones Elementary School
122 Hoyle Ln
Severna Park, MD 21146

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Jones Elementary School",'Severna_Park=' + Severna_Park.length); Edgewater[Edgewater.length] = createMarker(new GPoint(-76.57057000,38.94029600),"
Kipp Harbor Academy At Annapolis
135 Stepney Lane
Edgewater, MD 21037

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Kipp Harbor Academy At Annapolis",'Edgewater=' + Edgewater.length); Pasadena[Pasadena.length] = createMarker(new GPoint(-76.49210358,39.10719299),"
Lake Shore Elementary School
4531 Mountain Rd
Pasadena, MD 21122

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Lake Shore Elementary School",'Pasadena=' + Pasadena.length); Linthicum[Linthicum.length] = createMarker(new GPoint(-76.66259003,39.19742966),"
Lindale Middle School
415 Andover Rd
Linthicum, MD 21090

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Lindale Middle School",'Linthicum=' + Linthicum.length); Linthicum_Heights[Linthicum_Heights.length] = createMarker(new GPoint(-76.65350342,39.20330048),"
Linthicum Elementary School
101 School Ln
Linthicum Heights, MD 21090

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Linthicum Elementary School",'Linthicum_Heights=' + Linthicum_Heights.length); Lothian[Lothian.length] = createMarker(new GPoint(-76.61437988,38.82736969),"
Lothian Elementary School
5175 Solomons Island Rd
Lothian, MD 20711

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Lothian Elementary School",'Lothian=' + Lothian.length); Fort_Meade[Fort_Meade.length] = createMarker(new GPoint(-76.74925232,39.11492538),"
Macarthur Middle School
3500 Rockenbach Road
Fort Meade, MD 20755

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Macarthur Middle School",'Fort_Meade=' + Fort_Meade.length); Arnold[Arnold.length] = createMarker(new GPoint(-76.51538849,39.05831146),"
Magothy River Middle School
241 Peninsula Farm Rd
Arnold, MD 21012

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Magothy River Middle School",'Arnold=' + Arnold.length); Ft_Meade[Ft_Meade.length] = createMarker(new GPoint(-76.73968506,39.11133957),"
Manor View Elementary School
2900 Macarthur Rd
Ft Meade, MD 20755

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Manor View Elementary School",'Ft_Meade=' + Ft_Meade.length); Glen_Burnie[Glen_Burnie.length] = createMarker(new GPoint(-76.59740448,39.14549637),"
Marley Elementary School
715 Cooper Rd
Glen Burnie, MD 21061

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Marley Elementary School",'Glen_Burnie=' + Glen_Burnie.length); Glen_Burnie[Glen_Burnie.length] = createMarker(new GPoint(-76.59474945,39.14389801),"
Marley Glen School
200 Scott Ave
Glen Burnie, MD 21060

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Marley Glen School",'Glen_Burnie=' + Glen_Burnie.length); Glen_Burnie[Glen_Burnie.length] = createMarker(new GPoint(-76.62526703,39.16250992),"
Marley Middle School
7730 Balto-annapolis Blvd
Glen Burnie, MD 21060

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Marley Middle School",'Glen_Burnie=' + Glen_Burnie.length); Crownsville[Crownsville.length] = createMarker(new GPoint(-76.60770416,39.02583694),"
Mary E. Moss Academy
45 Community Pl
Crownsville, MD 21032

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Mary E. Moss Academy",'Crownsville=' + Crownsville.length); Laurel[Laurel.length] = createMarker(new GPoint(-76.81694794,39.09621429),"
Maryland City Elementary School
3359 Crumpton S
Laurel, MD 20724

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Maryland City Elementary School",'Laurel=' + Laurel.length); Edgewater[Edgewater.length] = createMarker(new GPoint(-76.55903625,38.92404175),"
Mayo Elementary School
1260 Mayo Ridge Rd
Edgewater, MD 21037

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Mayo Elementary School",'Edgewater=' + Edgewater.length); Odenton[Odenton.length] = createMarker(new GPoint(-76.71985626,39.11572266),"
Meade Heights Elementary School
1905 Town Center Blvd
Odenton, MD 21037

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Meade Heights Elementary School",'Odenton=' + Odenton.length); Fort_Meade[Fort_Meade.length] = createMarker(new GPoint(-76.74106598,39.12399292),"
Meade Middle School
1103 26th St
Fort Meade, MD 20755

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Meade Middle School",'Fort_Meade=' + Fort_Meade.length); Ft_Meade[Ft_Meade.length] = createMarker(new GPoint(-76.74627686,39.12311935),"
Meade Senior High School
1 Clark Road
Ft Meade, MD 20755

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Meade Senior High School",'Ft_Meade=' + Ft_Meade.length); Millersville[Millersville.length] = createMarker(new GPoint(-76.63877869,39.05565643),"
Millersville Elementary School
1601 Millersville Rd
Millersville, MD 21108

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Millersville Elementary School",'Millersville=' + Millersville.length); Annapolis[Annapolis.length] = createMarker(new GPoint(-76.52369690,38.97900772),"
Mills - Parole Elementary School
103 Chinquapin Round Rd
Annapolis, MD 21401

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Mills - Parole Elementary School",'Annapolis=' + Annapolis.length); Glen_Burnie[Glen_Burnie.length] = createMarker(new GPoint(-76.64153290,39.19136047),"
North County High School
10 East First Avenue
Glen Burnie, MD 21061

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("North County High School",'Glen_Burnie=' + Glen_Burnie.length); Glen_Burnie[Glen_Burnie.length] = createMarker(new GPoint(-76.62429047,39.19254684),"
North Glen Elementary School
615 Furnace Branch Rd
Glen Burnie, MD 21061

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("North Glen Elementary School",'Glen_Burnie=' + Glen_Burnie.length); Pasadena[Pasadena.length] = createMarker(new GPoint(-76.52902222,39.14563370),"
Northeast Senior High School
1121 Duvall Hwy
Pasadena, MD 21122

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Northeast Senior High School",'Pasadena=' + Pasadena.length); Severna_Park[Severna_Park.length] = createMarker(new GPoint(-76.57112122,39.08346558),"
Oak Hill Elementary School
34 Truckhouse Rd
Severna Park, MD 21146

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Oak Hill Elementary School",'Severna_Park=' + Severna_Park.length); Laurel[Laurel.length] = createMarker(new GPoint(-76.78059387,39.10850906),"
Oakhill
3201 Oak Hill Drive
Laurel, MD 20724

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Oakhill",'Laurel=' + Laurel.length); Glen_Burnie[Glen_Burnie.length] = createMarker(new GPoint(-76.62391663,39.14039993),"
Oakwood Elementary School
330 Oak Manor Dr
Glen Burnie, MD 21061

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Oakwood Elementary School",'Glen_Burnie=' + Glen_Burnie.length); Odenton[Odenton.length] = createMarker(new GPoint(-76.69713593,39.08278275),"
Odenton Elementary School
1290 Odenton Rd
Odenton, MD 21113

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Odenton Elementary School",'Odenton=' + Odenton.length); Millersville[Millersville.length] = createMarker(new GPoint(-76.62682343,39.11838913),"
Old Mill Middle North
610 Patriot Ln
Millersville, MD 21108

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Old Mill Middle North",'Millersville=' + Millersville.length); Millersville[Millersville.length] = createMarker(new GPoint(-76.62677002,39.11874390),"
Old Mill Middle South
620 Patriot Ln
Millersville, MD 21108

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Old Mill Middle South",'Millersville=' + Millersville.length); Millersville[Millersville.length] = createMarker(new GPoint(-76.62687683,39.11803436),"
Old Mill Senior High School
600 Patriot Ln
Millersville, MD 21108

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Old Mill Senior High School",'Millersville=' + Millersville.length); North_Linthicum[North_Linthicum.length] = createMarker(new GPoint(-76.65218353,39.21375275),"
Overlook Elementary School
401 Hampton Rd
North Linthicum, MD 21090

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Overlook Elementary School",'North_Linthicum=' + North_Linthicum.length); Baltimore[Baltimore.length] = createMarker(new GPoint(-76.61135864,39.22379303),"
Park Elementary School
201 E 11th Ave
Baltimore, MD 21225

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Park Elementary School",'Baltimore=' + Baltimore.length); Pasadena[Pasadena.length] = createMarker(new GPoint(-76.56936646,39.10883331),"
Pasadena Elementary School
105 Spruce Ave
Pasadena, MD 21122

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Pasadena Elementary School",'Pasadena=' + Pasadena.length); Ft_Meade[Ft_Meade.length] = createMarker(new GPoint(-76.75545502,39.11537170),"
Pershing Hill Elementary School
7600 29th Division Rd
Ft Meade, MD 20755

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Pershing Hill Elementary School",'Ft_Meade=' + Ft_Meade.length); Annapolis[Annapolis.length] = createMarker(new GPoint(-76.51232147,38.98189163),"
Phoenix Center - Annapolis
291 Locust St
Annapolis, MD 21401

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Phoenix Center - Annapolis",'Annapolis=' + Annapolis.length); Odenton[Odenton.length] = createMarker(new GPoint(-76.71775055,39.06139374),"
Piney Orchard Elementary School
2641 Strawberry Lake Way
Odenton, MD 21113

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Piney Orchard Elementary School",'Odenton=' + Odenton.length); Glen_Burnie[Glen_Burnie.length] = createMarker(new GPoint(-76.59451294,39.17268753),"
Point Pleasant Elementary School
1035 Dumbarton Rd
Glen Burnie, MD 21060

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Point Pleasant Elementary School",'Glen_Burnie=' + Glen_Burnie.length); Severn[Severn.length] = createMarker(new GPoint(-76.65658569,39.13472748),"
Quarterfield Elementary School
7967 Quarterfield Rd
Severn, MD 21144

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Quarterfield Elementary School",'Severn=' + Severn.length); Glen_Burnie[Glen_Burnie.length] = createMarker(new GPoint(-76.62950134,39.16040039),"
Richard Henry Lee Elementary School
400 A St Sw At 4th Ave
Glen Burnie, MD 21061

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Richard Henry Lee Elementary School",'Glen_Burnie=' + Glen_Burnie.length); Severn[Severn.length] = createMarker(new GPoint(-76.68638611,39.11502457),"
Ridgeway Elementary School
1440 Evergreen Rd
Severn, MD 21144

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Ridgeway Elementary School",'Severn=' + Severn.length); Glen_Burnie[Glen_Burnie.length] = createMarker(new GPoint(-76.63006592,39.12726593),"
Rippling Woods Elementary School
530 Nolfield Dr
Glen Burnie, MD 21061

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Rippling Woods Elementary School",'Glen_Burnie=' + Glen_Burnie.length); Pasadena[Pasadena.length] = createMarker(new GPoint(-76.51226807,39.15925980),"
Riviera Beach Elementary School
8515 Jenkins Rd
Pasadena, MD 21122

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Riviera Beach Elementary School",'Pasadena=' + Pasadena.length); Annapolis[Annapolis.length] = createMarker(new GPoint(-76.55817413,38.99755859),"
Rolling Knolls Elementary School
1985 Valley Rd
Annapolis, MD 21401

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Rolling Knolls Elementary School",'Annapolis=' + Annapolis.length); Millersville[Millersville.length] = createMarker(new GPoint(-76.63052368,39.11786652),"
Ruth Parker Eason School
648 Old Mill Rd
Millersville, MD 21108

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Ruth Parker Eason School",'Millersville=' + Millersville.length); Severn[Severn.length] = createMarker(new GPoint(-76.69028473,39.13718796),"
Severn Elementary School
838 Reece Rd
Severn, MD 21144

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Severn Elementary School",'Severn=' + Severn.length); Arnold[Arnold.length] = createMarker(new GPoint(-76.51538849,39.05831146),"
Severn River Middle School
241 Peninsula Farm Rd
Arnold, MD 21012

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Severn River Middle School",'Arnold=' + Arnold.length); Severna_Park[Severna_Park.length] = createMarker(new GPoint(-76.54690552,39.07229614),"
Severna Park Elementary School
6 Riggs Ave
Severna Park, MD 21146

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Severna Park Elementary School",'Severna_Park=' + Severna_Park.length); Severna_Park[Severna_Park.length] = createMarker(new GPoint(-76.55879974,39.07559967),"
Severna Park Evening High School
60 Robinson Rd
Severna Park, MD 21146

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Severna Park Evening High School",'Severna_Park=' + Severna_Park.length); Severna_Park[Severna_Park.length] = createMarker(new GPoint(-76.58262634,39.08771896),"
Severna Park Middle School
450 Jumpers Hole Rd
Severna Park, MD 21146

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Severna Park Middle School",'Severna_Park=' + Severna_Park.length); Severna_Park[Severna_Park.length] = createMarker(new GPoint(-76.55720520,39.07661057),"
Severna Park Senior High School
60 Robinson Rd
Severna Park, MD 21146

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Severna Park Senior High School",'Severna_Park=' + Severna_Park.length); Shady_Side[Shady_Side.length] = createMarker(new GPoint(-76.50646973,38.84174347),"
Shady Side Elementary School
4859 Atwell Rd
Shady Side, MD 20764

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Shady Side Elementary School",'Shady_Side=' + Shady_Side.length); Millersville[Millersville.length] = createMarker(new GPoint(-76.60940552,39.09868240),"
Shipley's Choice Elementary School
1310 Governor Stone Pky
Millersville, MD 21108

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Shipley's Choice Elementary School",'Millersville=' + Millersville.length); Glen_Burnie[Glen_Burnie.length] = createMarker(new GPoint(-76.55352020,39.17379761),"
Solley Elementary School
7608 Solley Rd
Glen Burnie, MD 21060

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Solley Elementary School",'Glen_Burnie=' + Glen_Burnie.length); Edgewater[Edgewater.length] = createMarker(new GPoint(-76.56318665,38.92612839),"
South River Evening High School
201 Central Ave East
Edgewater, MD 21037

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("South River Evening High School",'Edgewater=' + Edgewater.length); Edgewater[Edgewater.length] = createMarker(new GPoint(-76.56318665,38.92612839),"
South River Senior High School
201 Central Ave E
Edgewater, MD 21037

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("South River Senior High School",'Edgewater=' + Edgewater.length); Crownsville[Crownsville.length] = createMarker(new GPoint(-76.60417175,39.03459167),"
South Shore Elementary School
1376 Fairfield Loop Rd
Crownsville, MD 21032

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("South Shore Elementary School",'Crownsville=' + Crownsville.length); Lothian[Lothian.length] = createMarker(new GPoint(-76.61035156,38.82250595),"
Southern Middle School
5235 Solomons Island Rd
Lothian, MD 20711

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Southern Middle School",'Lothian=' + Lothian.length); Harwood[Harwood.length] = createMarker(new GPoint(-76.61708832,38.86856461),"
Southern Senior High School
4400 Solomons Island Rd
Harwood, MD 20776

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Southern Senior High School",'Harwood=' + Harwood.length); Glen_Burnie[Glen_Burnie.length] = createMarker(new GPoint(-76.61492920,39.12813568),"
Southgate Elementary School
290 Shetlands Ln
Glen Burnie, MD 21061

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Southgate Elementary School",'Glen_Burnie=' + Glen_Burnie.length); Pasadena[Pasadena.length] = createMarker(new GPoint(-76.52005768,39.15233612),"
Sunset Elementary School
8572 Fort Smallwood Rd
Pasadena, MD 21122

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sunset Elementary School",'Pasadena=' + Pasadena.length); Lothian[Lothian.length] = createMarker(new GPoint(-76.59378815,38.77969360),"
Traceys Elementary School
5235 Solomons Island Rd
Lothian, MD 20711

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Traceys Elementary School",'Lothian=' + Lothian.length); Annapolis[Annapolis.length] = createMarker(new GPoint(-76.50077057,38.95579529),"
Tyler Heights Elementary School
200 Janwal St
Annapolis, MD 21403

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Tyler Heights Elementary School",'Annapolis=' + Annapolis.length); Severn[Severn.length] = createMarker(new GPoint(-76.70648193,39.12222290),"
Van Bokkelen Elementary School
1140 Reece Rd
Severn, MD 21144

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Van Bokkelen Elementary School",'Severn=' + Severn.length); Odenton[Odenton.length] = createMarker(new GPoint(-76.69779968,39.06447983),"
Waugh Chapel Elementary School
840 Sunflower Dr
Odenton, MD 21113

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Waugh Chapel Elementary School",'Odenton=' + Odenton.length); Annapolis[Annapolis.length] = createMarker(new GPoint(-76.50337982,38.99113846),"
West Annapolis Elementary School
210 Annapolis St
Annapolis, MD 21401

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("West Annapolis Elementary School",'Annapolis=' + Annapolis.length); Ft_Meade[Ft_Meade.length] = createMarker(new GPoint(-76.75708771,39.11870575),"
West Meade Elementary School
7722 Ray Street
Ft Meade, MD 20755

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("West Meade Elementary School",'Ft_Meade=' + Ft_Meade.length); Annapolis[Annapolis.length] = createMarker(new GPoint(-76.50405121,38.97262955),"
Wiley H. Bates Middle School
701 Chase Ave
Annapolis, MD 21401

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Wiley H. Bates Middle School",'Annapolis=' + Annapolis.length); Annapolis[Annapolis.length] = createMarker(new GPoint(-76.45409393,39.03207779),"
Windsor Farm Elementary School
591 Broadneck Rd
Annapolis, MD 21401

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Windsor Farm Elementary School",'Annapolis=' + Annapolis.length); Glen_Burnie[Glen_Burnie.length] = createMarker(new GPoint(-76.61462402,39.14065552),"
Woodside Elementary School
160 Funke Rd
Glen Burnie, MD 21061

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Woodside Elementary School",'Glen_Burnie=' + Glen_Burnie.length); } // End addStateMarkers JavaScript Function // Takes an array of markers and centers/zooms map based on marker range function centerByArray(myArray, recenter, newMaxMin) { if (newMaxMin == true) reMaxMin(myArray); for (var i = 0; i < myArray.length; i++) { var markLng = myArray[i].getPoint().x; var markLat = myArray[i].getPoint().y; if (markLat > maxLat) maxLat = markLat; if (markLng > maxLng) maxLng = markLng; if (markLat < minLat) minLat = markLat; if (markLng < minLng) minLng = markLng; } if (recenter) reCenterMap(); } // Reinit max/mins function reMaxMin(myArray) { maxLng = myArray[0].getPoint().x; maxLat = myArray[0].getPoint().y; minLng = myArray[0].getPoint().x; minLat = myArray[0].getPoint().y; } // Recenter map based on global max/mins function reCenterMap() { var bounds = new GLatLngBounds(); bounds.extend(new GLatLng(minLat, minLng)); bounds.extend(new GLatLng(maxLat, maxLng)); var center_lat = (bounds.getNorthEast().lat() + bounds.getSouthWest().lat()) / 2.0; var center_lng = (bounds.getNorthEast().lng() + bounds.getSouthWest().lng()) / 2.0; var center = new GLatLng(center_lat, center_lng); var zoom = map.getBoundsZoomLevel(bounds); map.setCenter(center,zoom); //map.setCenter(center,10); /* var center = new GPoint( (maxLng + minLng)/2, (maxLat+minLat)/2 ); var delta = new GSize(maxLng - minLng, maxLat - minLat); var minZoom = map.spec.getLowestZoomLevel(center, delta, map.viewSize); if (minZoom < 4) minZoom = 4; // Lowest possible zoom is 4 map.centerAndZoom(center, minZoom); */ } // Fires when drop down list of schools changes function selectChange(selection) { var myVal = selection.options[selection.selectedIndex].value; map.closeInfoWindow(); // Add entire array based on variable type if (myVal.indexOf('all') != -1 && myVal != 'all') { var temp = myVal.split('='); var showArray = temp[1]; // If Array is > X amount of markers, then open in a new page if (eval(showArray).length > 20) // New window depends on whether or not we're on the search page if (location.href.indexOf('nearby_schools.php') == -1) window.open(location.href + '/map/' + showArray); else window.open('/search////' + showArray); map.removeOverlays(Annapolis); map.removeOverlays(Arnold); map.removeOverlays(Baltimore); map.removeOverlays(Crofton); map.removeOverlays(Crownsville); map.removeOverlays(Davidsonville); map.removeOverlays(Deale); map.removeOverlays(Edgewater); map.removeOverlays(Fort_Meade); map.removeOverlays(Ft_Meade); map.removeOverlays(Gambrills); map.removeOverlays(Glen_Burnie); map.removeOverlays(Hanoverrnie); map.removeOverlays(Harwood); map.removeOverlays(Jessup); map.removeOverlays(Laurel); map.removeOverlays(Linthicum); map.removeOverlays(Linthicum_Heights); map.removeOverlays(Lothian); map.removeOverlays(Millersville); map.removeOverlays(North_Linthicum); map.removeOverlays(Odenton); map.removeOverlays(Pasadena); map.removeOverlays(Severn); map.removeOverlays(Severna_Park); map.removeOverlays(Shady_Side); map.addOverlays(eval(showArray)); centerByArray(eval(showArray), true, true); // Center and zoom on set of markers } // Add individual markers if (myVal.indexOf('all') == -1 && myVal != 'all' && myVal.length) { var temp = myVal.split('='); var myArray = temp[0]; var myIndex = parseInt(temp[1]) - 1; document.getElementById('map').width = "750"; map.removeOverlay(eval(myArray)[myIndex]); map.addOverlay(eval(myArray)[myIndex]); GEvent.trigger(eval(myArray)[myIndex],'click'); } // Show all markers if (myVal == 'all') { cntMarker = 0; reMaxMin(Annapolis);map.removeOverlays(Annapolis); map.removeOverlays(Arnold); map.removeOverlays(Baltimore); map.removeOverlays(Crofton); map.removeOverlays(Crownsville); map.removeOverlays(Davidsonville); map.removeOverlays(Deale); map.removeOverlays(Edgewater); map.removeOverlays(Fort_Meade); map.removeOverlays(Ft_Meade); map.removeOverlays(Gambrills); map.removeOverlays(Glen_Burnie); map.removeOverlays(Hanoverrnie); map.removeOverlays(Harwood); map.removeOverlays(Jessup); map.removeOverlays(Laurel); map.removeOverlays(Linthicum); map.removeOverlays(Linthicum_Heights); map.removeOverlays(Lothian); map.removeOverlays(Millersville); map.removeOverlays(North_Linthicum); map.removeOverlays(Odenton); map.removeOverlays(Pasadena); map.removeOverlays(Severn); map.removeOverlays(Severna_Park); map.removeOverlays(Shady_Side); map.addOverlays(Annapolis); centerByArray(Annapolis, false, false); cntMarker += Annapolis.length; map.addOverlays(Arnold); centerByArray(Arnold, false, false); cntMarker += Arnold.length; map.addOverlays(Baltimore); centerByArray(Baltimore, false, false); cntMarker += Baltimore.length; map.addOverlays(Crofton); centerByArray(Crofton, false, false); cntMarker += Crofton.length; map.addOverlays(Crownsville); centerByArray(Crownsville, false, false); cntMarker += Crownsville.length; map.addOverlays(Davidsonville); centerByArray(Davidsonville, false, false); cntMarker += Davidsonville.length; map.addOverlays(Deale); centerByArray(Deale, false, false); cntMarker += Deale.length; map.addOverlays(Edgewater); centerByArray(Edgewater, false, false); cntMarker += Edgewater.length; map.addOverlays(Fort_Meade); centerByArray(Fort_Meade, false, false); cntMarker += Fort_Meade.length; map.addOverlays(Ft_Meade); centerByArray(Ft_Meade, false, false); cntMarker += Ft_Meade.length; map.addOverlays(Gambrills); centerByArray(Gambrills, false, false); cntMarker += Gambrills.length; map.addOverlays(Glen_Burnie); centerByArray(Glen_Burnie, false, false); cntMarker += Glen_Burnie.length; map.addOverlays(Hanoverrnie); centerByArray(Hanoverrnie, false, false); cntMarker += Hanoverrnie.length; map.addOverlays(Harwood); centerByArray(Harwood, false, false); cntMarker += Harwood.length; map.addOverlays(Jessup); centerByArray(Jessup, false, false); cntMarker += Jessup.length; map.addOverlays(Laurel); centerByArray(Laurel, false, false); cntMarker += Laurel.length; map.addOverlays(Linthicum); centerByArray(Linthicum, false, false); cntMarker += Linthicum.length; map.addOverlays(Linthicum_Heights); centerByArray(Linthicum_Heights, false, false); cntMarker += Linthicum_Heights.length; map.addOverlays(Lothian); centerByArray(Lothian, false, false); cntMarker += Lothian.length; map.addOverlays(Millersville); centerByArray(Millersville, false, false); cntMarker += Millersville.length; map.addOverlays(North_Linthicum); centerByArray(North_Linthicum, false, false); cntMarker += North_Linthicum.length; map.addOverlays(Odenton); centerByArray(Odenton, false, false); cntMarker += Odenton.length; map.addOverlays(Pasadena); centerByArray(Pasadena, false, false); cntMarker += Pasadena.length; map.addOverlays(Severn); centerByArray(Severn, false, false); cntMarker += Severn.length; map.addOverlays(Severna_Park); centerByArray(Severna_Park, false, false); cntMarker += Severna_Park.length; map.addOverlays(Shady_Side); centerByArray(Shady_Side, false, false); cntMarker += Shady_Side.length; centerByArray(Annapolis,true, false); if (cntMarker > 20) // New window depends on whether or not we're on the search page if (location.href.indexOf('schools-by-distance') == -1) window.open(location.href + '/map/all'); else window.open('/search////all'); } }