function addMarkers() { mySelect = document.getElementById('selection'); Des_Moines = [];Altoona = [];Bondurant = [];Ankeny = [];Johnston = [];West_Des_Moines = [];Clive = [];Maxwell = [];Pleasant_Hill = [];Grimes = [];Island = [];Urbandale = [];Mitchellville = [];Alleman = [];Polk_City = [];Runnells = [];mySelect.options[mySelect.options.length] = new Option("Alleman schools",'all=Alleman'); mySelect.options[mySelect.options.length] = new Option("Altoona schools",'all=Altoona'); mySelect.options[mySelect.options.length] = new Option("Ankeny schools",'all=Ankeny'); mySelect.options[mySelect.options.length] = new Option("Bondurant schools",'all=Bondurant'); mySelect.options[mySelect.options.length] = new Option("Clive schools",'all=Clive'); mySelect.options[mySelect.options.length] = new Option("Des Moines schools",'all=Des_Moines'); mySelect.options[mySelect.options.length] = new Option("Grimes schools",'all=Grimes'); mySelect.options[mySelect.options.length] = new Option("Island schools",'all=Island'); mySelect.options[mySelect.options.length] = new Option("Johnston schools",'all=Johnston'); mySelect.options[mySelect.options.length] = new Option("Maxwell schools",'all=Maxwell'); mySelect.options[mySelect.options.length] = new Option("Mitchellville schools",'all=Mitchellville'); mySelect.options[mySelect.options.length] = new Option("Pleasant Hill schools",'all=Pleasant_Hill'); mySelect.options[mySelect.options.length] = new Option("Polk City schools",'all=Polk_City'); mySelect.options[mySelect.options.length] = new Option("Runnells schools",'all=Runnells'); mySelect.options[mySelect.options.length] = new Option("Urbandale schools",'all=Urbandale'); mySelect.options[mySelect.options.length] = new Option("West Des Moines schools",'all=West_Des_Moines'); mySelect.options[mySelect.options.length] = new Option("---------------------------",''); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.56138611,41.62862396),"
Adams Elementary School
3720 E 29th St
Des Moines, IA 50317

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Adams Elementary School",'Des_Moines=' + Des_Moines.length); Altoona[Altoona.length] = createMarker(new GPoint(-93.46719360,41.64673615),"
Altoona Elementary School
301 6th St Sw
Altoona, IA 50009

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Altoona Elementary School",'Altoona=' + Altoona.length); Bondurant[Bondurant.length] = createMarker(new GPoint(-93.46459961,41.69779968),"
Anderson Elementary School
400 Garfield St. Sw
Bondurant, IA 50035

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Anderson Elementary School",'Bondurant=' + Bondurant.length); Ankeny[Ankeny.length] = createMarker(new GPoint(-93.60058594,41.74324036),"
Ankeny High School
1302 N Ankeny Blvd
Ankeny, IA 50021

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Ankeny High School",'Ankeny=' + Ankeny.length); Johnston[Johnston.length] = createMarker(new GPoint(-93.72039795,41.68030167),"
Beaver Creek Elementary School
8701 Lyndhurst Po Box 10
Johnston, IA 50131

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Beaver Creek Elementary School",'Johnston=' + Johnston.length); Bondurant[Bondurant.length] = createMarker(new GPoint(-93.46478271,41.69856262),"
Bondurant-farrar Junior Senior High School
300 Garfield St. Sw
Bondurant, IA 50035

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Bondurant-farrar Junior Senior High School",'Bondurant=' + Bondurant.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.67539978,41.58729935),"
Bridges
1800 Grand
Des Moines, IA 50312

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Bridges",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.64178300,41.58380400),"
Bridges High School
1800 Grand Ave
Des Moines, IA 50309

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Bridges High School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.65134430,41.55553818),"
Brody Middle School
2501 Park Ave
Des Moines, IA 50321

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Brody Middle School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.55460358,41.61510086),"
Brubaker Elementary School
2900 E 42nd Street
Des Moines, IA 50317

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Brubaker Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.65836334,41.59146118),"
Callanan Middle School
3010 Center Street
Des Moines, IA 50312

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Callanan Middle School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.59190900,41.59262900),"
Capitol View Elementary School
320 E. 16th
Des Moines, IA 50316

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Capitol View Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.60461426,41.62321091),"
Cattell Elementary School
3101 E 12th St
Des Moines, IA 50316

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Cattell Elementary School",'Des_Moines=' + Des_Moines.length); Altoona[Altoona.length] = createMarker(new GPoint(-93.45737457,41.64250565),"
Centennial Elementary School
910 7th Ave Se
Altoona, IA 50009

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Centennial Elementary School",'Altoona=' + Altoona.length); West_Des_Moines[West_Des_Moines.length] = createMarker(new GPoint(-93.71326447,41.58535385),"
Clegg Park Elementary School
1020 8th St
West Des Moines, IA 50265

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Clegg Park Elementary School",'West_Des_Moines=' + West_Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.72920227,41.63140106),"
Clive Elementary School
1020 8th St
Des Moines, IA 50322

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Clive Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.61501312,41.66662979),"
Cornell Elementary School
5817 Ne 3rd St
Des Moines, IA 50313

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Cornell Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.70437622,41.60768509),"
Cowles Elementary School
6401 College Ave
Des Moines, IA 50311

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Cowles Elementary School",'Des_Moines=' + Des_Moines.length); Clive[Clive.length] = createMarker(new GPoint(-93.73350525,41.61133575),"
Crestview Elementary School
8355 Franklin
Clive, IA 50325

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Crestview Elementary School",'Clive=' + Clive.length); Ankeny[Ankeny.length] = createMarker(new GPoint(-93.63231500,41.70109700),"
Crocker Elementary School
2910 Sw Applewood St
Ankeny, IA 50021

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Crocker Elementary School",'Ankeny=' + Ankeny.length); West_Des_Moines[West_Des_Moines.length] = createMarker(new GPoint(-93.77134705,41.58714676),"
Crossroads Park Grade School
1050 50th St
West Des Moines, IA 50266

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Crossroads Park Grade School",'West_Des_Moines=' + West_Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.52211761,41.64011383),"
Delaware Elementary School
4401 Ne 46th St
Des Moines, IA 50317

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Delaware Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.54171753,41.62973785),"
Douglas Elementary School
3800 E Douglas Ave
Des Moines, IA 50317

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Douglas Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.60897064,41.60034943),"
Downtown School
500 Grand Avenue
Des Moines, IA 50309

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Downtown School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.59975000,41.57956600),"
Dunlap Exemplary Preschool
918 Se 11th St
Des Moines, IA 50309

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Dunlap Exemplary Preschool",'Des_Moines=' + Des_Moines.length); Ankeny[Ankeny.length] = createMarker(new GPoint(-93.59036255,41.72983551),"
East Elementary School
710 Se 3rd
Ankeny, IA 50021

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("East Elementary School",'Ankeny=' + Ankeny.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.60172272,41.59638214),"
East High School
815 E 13th St
Des Moines, IA 50316

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("East High School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.63909149,41.59363556),"
Edmunds Fine Arts Academy
1601 Crocker St
Des Moines, IA 50314

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Edmunds Fine Arts Academy",'Des_Moines=' + Des_Moines.length); West_Des_Moines[West_Des_Moines.length] = createMarker(new GPoint(-93.73657227,41.58091736),"
Fair Meadows Elementary School
807 23rd St
West Des Moines, IA 50265

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Fair Meadows Elementary School",'West_Des_Moines=' + West_Des_Moines.length); Maxwell[Maxwell.length] = createMarker(new GPoint(-93.39830017,41.88790131),"
Farrar Elementary School
M
Maxwell, IA 50161

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Farrar Elementary School",'Maxwell=' + Maxwell.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.61658478,41.62243652),"
Findley Elementary School
3000 Cambridge St
Des Moines, IA 50313

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Findley Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.70647100,41.60807800),"
Focus Elementary School
6401 College Ave
Des Moines, IA 50311

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Focus Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.70647100,41.60807800),"
Focus Middle School
6401 College Ave
Des Moines, IA 50311

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Focus Middle School",'Des_Moines=' + Des_Moines.length); Pleasant_Hill[Pleasant_Hill.length] = createMarker(new GPoint(-93.47237396,41.58002472),"
Four Mile Elementary School
670 Se 68th St
Pleasant Hill, IA 50327

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Four Mile Elementary School",'Pleasant_Hill=' + Pleasant_Hill.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.57378387,41.62081146),"
Garton Elementary School
2820 E 24th St
Des Moines, IA 50317

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Garton Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.56138611,41.62495422),"
Goodrell Middle School
3300 E 29th St
Des Moines, IA 50317

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Goodrell Middle School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.61717224,41.54643631),"
Granger Elementary School
1000 Porter Ave
Des Moines, IA 50315

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Granger Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.66782000,41.58239300),"
Greenwood Elementary School
316 37th Street
Des Moines, IA 50312

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Greenwood Elementary School",'Des_Moines=' + Des_Moines.length); Grimes[Grimes.length] = createMarker(new GPoint(-93.78759766,41.68669891),"
Grimes Elementary Building
500 Sw James Po Box 650
Grimes, IA 50111

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Grimes Elementary Building",'Grimes=' + Grimes.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.61979675,41.54759979),"
Hanawalt Elementary At Mann
225 56th Street
Des Moines, IA 50312

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hanawalt Elementary At Mann",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.69351959,41.57995987),"
Hanawalt Elementary School
225 56th St
Des Moines, IA 50312

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hanawalt Elementary School",'Des_Moines=' + Des_Moines.length); Altoona[Altoona.length] = createMarker(new GPoint(-93.46441650,41.65867233),"
Harbor-southeast Polk Alternative School
1301 First Ave N
Altoona, IA 50009

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Harbor-southeast Polk Alternative School",'Altoona=' + Altoona.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.61608887,41.62756348),"
Harding Middle School
203 E Euclid Ave
Des Moines, IA 50313

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Harding Middle School",'Des_Moines=' + Des_Moines.length); Johnston[Johnston.length] = createMarker(new GPoint(-93.72039795,41.68030167),"
Henry A Wallace Elementary School
6510 Nw 62nd Ave Po Box 10
Johnston, IA 50131

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Henry A Wallace Elementary School",'Johnston=' + Johnston.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.59778595,41.60121155),"
Hiatt Middle School
1214 E 15th St
Des Moines, IA 50316

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Hiatt Middle School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.69413757,41.61602783),"
Hillis Elementary School
2401 56th St
Des Moines, IA 50310

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hillis Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.68308258,41.63666153),"
Hoover High School
4800 Aurora Ave
Des Moines, IA 50310

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Hoover High School",'Des_Moines=' + Des_Moines.length); Johnston[Johnston.length] = createMarker(new GPoint(-93.72039795,41.68030167),"
Horizon Elementary School
5905 N W 100th St Po Box 10
Johnston, IA 50131

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Horizon Elementary School",'Johnston=' + Johnston.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.60448456,41.55940628),"
Howe Elementary School
2900 Indianola Road
Des Moines, IA 50315

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Howe Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.53221893,41.62049866),"
Hoyt Middle School
2700 E 42nd St
Des Moines, IA 50317

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Hoyt Middle School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.67448425,41.59243774),"
Hubbell Elementary School
800 42nd St
Des Moines, IA 50312

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hubbell Elementary School",'Des_Moines=' + Des_Moines.length); Clive[Clive.length] = createMarker(new GPoint(-93.74762726,41.60227966),"
Indian Hills Junior High School
9401 Indian Hills Dr
Clive, IA 50325

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Indian Hills Junior High School",'Clive=' + Clive.length); Island[Island.length] = createMarker(new GPoint(-87.14595795,37.44232178),"
Island Alternative Education Program
510 Adams St
Island, IA 42350

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Island Alternative Education Program",'Island=' + Island.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.59276581,41.54929352),"
Jackson Elementary School
3825 Indianola Ave
Des Moines, IA 50320

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Jackson Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.65030670,41.54833603),"
Jefferson Elementary School
2425 Watrous Ave
Des Moines, IA 50321

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Jefferson Elementary School",'Des_Moines=' + Des_Moines.length); Urbandale[Urbandale.length] = createMarker(new GPoint(-93.70406342,41.63673782),"
Jensen Elementary School
6301 Aurora Ave
Urbandale, IA 50322

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Jensen Elementary School",'Urbandale=' + Urbandale.length); Johnston[Johnston.length] = createMarker(new GPoint(-93.72039795,41.68030167),"
Johnston Middle School
6207 Nw 62nd Ave Po Box 10
Johnston, IA 50131

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Johnston Middle School",'Johnston=' + Johnston.length); Johnston[Johnston.length] = createMarker(new GPoint(-93.72039795,41.68030167),"
Johnston Senior High School
6501 Nw 62nd Ave. Po Box 10
Johnston, IA 50131

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Johnston Senior High School",'Johnston=' + Johnston.length); West_Des_Moines[West_Des_Moines.length] = createMarker(new GPoint(-93.75631714,41.55943680),"
Jordan Creek Elementary School
4105 Fuller Rd
West Des Moines, IA 50265

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Jordan Creek Elementary School",'West_Des_Moines=' + West_Des_Moines.length); Urbandale[Urbandale.length] = createMarker(new GPoint(-93.72064972,41.62656021),"
Karen Acres Elementary School
3500 74th Street
Urbandale, IA 50322

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Karen Acres Elementary School",'Urbandale=' + Urbandale.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.64204407,41.60413742),"
King Elementary School
1849 Forest Ave
Des Moines, IA 50314

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("King Elementary School",'Des_Moines=' + Des_Moines.length); Johnston[Johnston.length] = createMarker(new GPoint(-93.72039795,41.68030167),"
Lawson Elementary School
5450 Nw 62nd Ave Po Box 10
Johnston, IA 50131

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Lawson Elementary School",'Johnston=' + Johnston.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.62587738,41.56192398),"
Lincoln High School
2600 Sw 9th St
Des Moines, IA 50315

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Lincoln High School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.62551880,41.59756851),"
Longfellow Elementary School
2115 E 39th Street
Des Moines, IA 50317

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Longfellow Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.60270691,41.53526306),"
Lovejoy Elementary School
801 E Kenyon Ave
Des Moines, IA 50315

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Lovejoy Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.60813141,41.63213730),"
Madison Elementary School
806 E Hoffman St
Des Moines, IA 50316

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Madison Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.61715700,41.51198000),"
Mccombs Middle School
201 Sw County Line Rd
Des Moines, IA 50320

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Mccombs Middle School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.53941345,41.61348343),"
Mckee Elementary School
2115 E 39th St
Des Moines, IA 50317

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Mckee Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.60574400,41.57319800),"
Mckinley Elementary School
1610 Se 6th Street
Des Moines, IA 50315

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Mckinley Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.68398285,41.63323593),"
Meredith Middle School
4827 Madison Ave
Des Moines, IA 50310

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Meredith Middle School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.68936157,41.58328629),"
Merrill Middle School
5301 Grand Ave
Des Moines, IA 50312

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Merrill Middle School",'Des_Moines=' + Des_Moines.length); Grimes[Grimes.length] = createMarker(new GPoint(-93.77675629,41.65836334),"
Metro West Learning Academy
11500 Nw 54th Ave
Grimes, IA 50111

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Metro West Learning Academy",'Grimes=' + Grimes.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.61637878,41.53383636),"
Mitchell Elementary School
111 Porter Ave
Des Moines, IA 50315

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Mitchell Elementary School",'Des_Moines=' + Des_Moines.length); Mitchellville[Mitchellville.length] = createMarker(new GPoint(-93.36288452,41.67000580),"
Mitchellville Elementary School
308 Elm Ave Nw
Mitchellville, IA 50169

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Mitchellville Elementary School",'Mitchellville=' + Mitchellville.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.65858459,41.61448288),"
Monroe Elementary School
2250 30th St
Des Moines, IA 50310

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Monroe Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.68999481,41.62857437),"
Moore Elementary School
3725 52nd St
Des Moines, IA 50310

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Moore Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.62736511,41.53356171),"
Morris Elementary School
1401 Geil Avenue
Des Moines, IA 50315

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Morris Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.62815400,41.60665300),"
Moulton Elementary School
1541 8th Street
Des Moines, IA 50314

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Moulton Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.62352753,41.61674118),"
North High School
501 Holcomb Ave
Des Moines, IA 50313

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("North High School",'Des_Moines=' + Des_Moines.length); Alleman[Alleman.length] = createMarker(new GPoint(-93.60749817,41.81320190),"
North Polk Central Elementary School
311 Ne 141st Ave
Alleman, IA 50007

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("North Polk Central Elementary School",'Alleman=' + Alleman.length); Alleman[Alleman.length] = createMarker(new GPoint(-93.60749817,41.81320190),"
North Polk Junior-senior High School
315 Ne 141st Ave
Alleman, IA 50007

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("North Polk Junior-senior High School",'Alleman=' + Alleman.length); Polk_City[Polk_City.length] = createMarker(new GPoint(-93.72732544,41.77891541),"
North Polk West Elementary School
1400 W Broadway
Polk City, IA 50226

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("North Polk West Elementary School",'Polk_City=' + Polk_City.length); Ankeny[Ankeny.length] = createMarker(new GPoint(-93.58995819,41.74590302),"
Northeast Elementary School
1705 Ne Trilein
Ankeny, IA 50021

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Northeast Elementary School",'Ankeny=' + Ankeny.length); Ankeny[Ankeny.length] = createMarker(new GPoint(-93.61385345,41.73764038),"
Northview Middle School
1010 Nw Prairie Ridge Dr
Ankeny, IA 50021

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Northview Middle School",'Ankeny=' + Ankeny.length); Ankeny[Ankeny.length] = createMarker(new GPoint(-93.61468506,41.73203659),"
Northwest Elementary School
1202 W. First St
Ankeny, IA 50021

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Northwest Elementary School",'Ankeny=' + Ankeny.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.56109619,41.59986115),"
Norwoodville Elementary School
2945 Ne Broadway
Des Moines, IA 50317

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Norwoodville Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.55460358,41.61510086),"
Oak Park At Douglas Elementary School
3928 6th Avenue
Des Moines, IA 50313

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Oak Park At Douglas Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.62488556,41.63187027),"
Oak Park Elementary School
3928 6th Ave
Des Moines, IA 50313

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Oak Park Elementary School",'Des_Moines=' + Des_Moines.length); Urbandale[Urbandale.length] = createMarker(new GPoint(-93.71506500,41.63466263),"
Olmsted Elementary School
7110 Prairie Ave
Urbandale, IA 50322

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Olmsted Elementary School",'Urbandale=' + Urbandale.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.62089400,41.54679000),"
Orchard Place Elementary School
925 Sw Porter
Des Moines, IA 50315

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Orchard Place Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.62625122,41.53383636),"
Orchard Place School
5412 Sw 9th Street
Des Moines, IA 50315

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Orchard Place School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.62805800,41.58825000),"
Pace
620 8th St
Des Moines, IA 50309

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Pace",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.62551880,41.55614853),"
Park Ave Elementary School
3141 Sw 9th St
Des Moines, IA 50315

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Park Ave Elementary School",'Des_Moines=' + Des_Moines.length); Ankeny[Ankeny.length] = createMarker(new GPoint(-93.60441589,41.73199081),"
Parkview Middle School
105 Nw Pleasant St
Ankeny, IA 50021

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Parkview Middle School",'Ankeny=' + Ankeny.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.67659760,41.60773849),"
Perkins Elementary School
3929 Bel Aire Road
Des Moines, IA 50310

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Perkins Elementary School",'Des_Moines=' + Des_Moines.length); West_Des_Moines[West_Des_Moines.length] = createMarker(new GPoint(-93.71141815,41.57423782),"
Phenix Elementary School
415 7th St
West Des Moines, IA 50265

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Phenix Elementary School",'West_Des_Moines=' + West_Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.55460358,41.61510086),"
Phillips Elementary At Mckee
1701 Lay St
Des Moines, IA 50317

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Phillips Elementary At Mckee",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.57221222,41.60881805),"
Phillips Elementary School
1701 Lay St
Des Moines, IA 50317

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Phillips Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.51992035,41.58747864),"
Pleasant Hill Elementary School
4801 E Oakwood Dr
Des Moines, IA 50317

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Pleasant Hill Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.71448300,41.57395000),"
Pomerantz Learning Center
907 Walnut St
Des Moines, IA 50309

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Pomerantz Learning Center",'Des_Moines=' + Des_Moines.length); West_Des_Moines[West_Des_Moines.length] = createMarker(new GPoint(-93.71302800,41.57938400),"
Rex Mathes School
713 8th St
West Des Moines, IA 50265

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Rex Mathes School",'West_Des_Moines=' + West_Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.57731628,41.55814362),"
River Woods Elementary School
2929 Se 22nd St
Des Moines, IA 50320

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("River Woods Elementary School",'Des_Moines=' + Des_Moines.length); Urbandale[Urbandale.length] = createMarker(new GPoint(-93.72938538,41.63286209),"
Rolling Green Elementary School
8100 Airline Ave
Urbandale, IA 50322

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Rolling Green Elementary School",'Urbandale=' + Urbandale.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.67802429,41.59183884),"
Roosevelt High School
4419 Center St
Des Moines, IA 50312

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Roosevelt High School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.65466309,41.59018707),"
Ruby Van Meter School
710 28th St
Des Moines, IA 50312

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Ruby Van Meter School",'Des_Moines=' + Des_Moines.length); Runnells[Runnells.length] = createMarker(new GPoint(-93.35762787,41.51873016),"
Runnells Elementary School
6575 Se 116th Street
Runnells, IA 50237

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Runnells Elementary School",'Runnells=' + Runnells.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.60994720,41.65989304),"
Saydel High School
5601 Ne 7th St
Des Moines, IA 50313

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Saydel High School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.64168549,41.58426285),"
Scavo High School
1800 Grand Avenue
Des Moines, IA 50309

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Scavo High School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.65499115,41.59146118),"
Smouse Opportunity School
2820 Center St
Des Moines, IA 50312

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Smouse Opportunity School",'Des_Moines=' + Des_Moines.length); Ankeny[Ankeny.length] = createMarker(new GPoint(-93.59061432,41.72043610),"
Southeast Elementary School
1005 Se Trilein Dr
Ankeny, IA 50021

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Southeast Elementary School",'Ankeny=' + Ankeny.length); Runnells[Runnells.length] = createMarker(new GPoint(-93.35768890,41.51113892),"
Southeast Polk High School
8325 Ne University
Runnells, IA 50237

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Southeast Polk High School",'Runnells=' + Runnells.length); Runnells[Runnells.length] = createMarker(new GPoint(-93.35768890,41.51113892),"
Southeast Polk Junior High School
8031 Ne University Rr 2
Runnells, IA 50237

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Southeast Polk Junior High School",'Runnells=' + Runnells.length); West_Des_Moines[West_Des_Moines.length] = createMarker(new GPoint(-93.72542300,41.57738000),"
Stilwell Junior High School
1601 Vine St
West Des Moines, IA 50265

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Stilwell Junior High School",'West_Des_Moines=' + West_Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.55141449,41.60531998),"
Stowe Elementary School
1411 E 33rd St
Des Moines, IA 50317

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Stowe Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.61331600,41.51396300),"
Studebaker Elementary School
300 E County Line Rd
Des Moines, IA 50315

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Studebaker Elementary School",'Des_Moines=' + Des_Moines.length); Johnston[Johnston.length] = createMarker(new GPoint(-93.74932500,41.66800300),"
Summit Middle School
P.o. Box 10
Johnston, IA 50131

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Summit Middle School",'Johnston=' + Johnston.length); Ankeny[Ankeny.length] = createMarker(new GPoint(-93.60356140,41.73372269),"
Terrace Elementary School
310 Nw School St
Ankeny, IA 50021

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Terrace Elementary School",'Ankeny=' + Ankeny.length); Urbandale[Urbandale.length] = createMarker(new GPoint(-93.72920227,41.63140106),"
Urbandale High School
7111 Aurora Ave
Urbandale, IA 50322

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Urbandale High School",'Urbandale=' + Urbandale.length); Urbandale[Urbandale.length] = createMarker(new GPoint(-93.72439575,41.63673782),"
Urbandale Middle School
7701 Aurora Ave
Urbandale, IA 50322

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Urbandale Middle School",'Urbandale=' + Urbandale.length); Urbandale[Urbandale.length] = createMarker(new GPoint(-93.74427032,41.62471771),"
Valerius Elementary School
3305 92nd Street
Urbandale, IA 50322

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Valerius Elementary School",'Urbandale=' + Urbandale.length); West_Des_Moines[West_Des_Moines.length] = createMarker(new GPoint(-93.75208282,41.58802032),"
Valley High School
1140 35th St
West Des Moines, IA 50266

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Valley High School",'West_Des_Moines=' + West_Des_Moines.length); West_Des_Moines[West_Des_Moines.length] = createMarker(new GPoint(-93.75244141,41.56221390),"
Valley Southwoods
625 S 35th St
West Des Moines, IA 50265

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Valley Southwoods",'West_Des_Moines=' + West_Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.60461426,41.60524750),"
Wallace Elementary School
1401 E 12th St
Des Moines, IA 50316

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Wallace Elementary School",'Des_Moines=' + Des_Moines.length); West_Des_Moines[West_Des_Moines.length] = createMarker(new GPoint(-93.71273804,41.58127594),"
Walnut Creek Campus High School
815 8th Street
West Des Moines, IA 50265

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Walnut Creek Campus High School",'West_Des_Moines=' + West_Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.60152435,41.55526352),"
Weeks Middle School
901 E Park Ave
Des Moines, IA 50315

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Weeks Middle School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.61979675,41.54759979),"
Weeks Middle School At Kurtz
901 East Park Avenue
Des Moines, IA 50315

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Weeks Middle School At Kurtz",'Des_Moines=' + Des_Moines.length); West_Des_Moines[West_Des_Moines.length] = createMarker(new GPoint(-93.75668335,41.57801819),"
Western Hills Elementary School
600 39th St
West Des Moines, IA 50265

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Western Hills Elementary School",'West_Des_Moines=' + West_Des_Moines.length); West_Des_Moines[West_Des_Moines.length] = createMarker(new GPoint(-93.77860260,41.58079910),"
Westridge Elementary School
5500 E P True Parkway
West Des Moines, IA 50266

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Westridge Elementary School",'West_Des_Moines=' + West_Des_Moines.length); Ankeny[Ankeny.length] = createMarker(new GPoint(-93.63857269,41.73763657),"
Westwood Elementary School
2920 Nw 9th
Ankeny, IA 50021

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Westwood Elementary School",'Ankeny=' + Ankeny.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.55913200,41.59051900),"
Willard Elementary School
2941 Dean Avenue
Des Moines, IA 50317

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Willard Elementary School",'Des_Moines=' + Des_Moines.length); Altoona[Altoona.length] = createMarker(new GPoint(-93.48388672,41.64906311),"
Willowbrook Elementary School
300 17th Street Sw
Altoona, IA 50009

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Willowbrook Elementary School",'Altoona=' + Altoona.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.69909668,41.60026169),"
Windsor Elementary School
5912 University Ave
Des Moines, IA 50311

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Windsor Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.66462708,41.63329315),"
Woodlawn Elementary School
4000 Lower Beaver Rd
Des Moines, IA 50310

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Woodlawn Elementary School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.61370087,41.64379883),"
Woodside Middle School
5810 Ne 14th St
Des Moines, IA 50313

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Woodside Middle School",'Des_Moines=' + Des_Moines.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.63525391,41.53913879),"
Wright Elementary School
5001 Sw 14th St
Des Moines, IA 50315

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Wright Elementary School",'Des_Moines=' + Des_Moines.length); Johnston[Johnston.length] = createMarker(new GPoint(-93.69488525,41.69010925),"
Youth Homes Of Mid America
7085 Nw Beaver Dr
Johnston, IA 50131

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Youth Homes Of Mid America",'Johnston=' + Johnston.length); Des_Moines[Des_Moines.length] = createMarker(new GPoint(-93.62935900,41.59781600),"
Zach Hamlett Preschool
1101 9th St
Des Moines, IA 50309

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Zach Hamlett Preschool",'Des_Moines=' + Des_Moines.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(Alleman); map.removeOverlays(Altoona); map.removeOverlays(Ankeny); map.removeOverlays(Bondurant); map.removeOverlays(Clive); map.removeOverlays(Des_Moines); map.removeOverlays(Grimes); map.removeOverlays(Island); map.removeOverlays(Johnston); map.removeOverlays(Maxwell); map.removeOverlays(Mitchellville); map.removeOverlays(Pleasant_Hill); map.removeOverlays(Polk_City); map.removeOverlays(Runnells); map.removeOverlays(Urbandale); map.removeOverlays(West_Des_Moines); 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(Des_Moines);map.removeOverlays(Alleman); map.removeOverlays(Altoona); map.removeOverlays(Ankeny); map.removeOverlays(Bondurant); map.removeOverlays(Clive); map.removeOverlays(Des_Moines); map.removeOverlays(Grimes); map.removeOverlays(Island); map.removeOverlays(Johnston); map.removeOverlays(Maxwell); map.removeOverlays(Mitchellville); map.removeOverlays(Pleasant_Hill); map.removeOverlays(Polk_City); map.removeOverlays(Runnells); map.removeOverlays(Urbandale); map.removeOverlays(West_Des_Moines); map.addOverlays(Alleman); centerByArray(Alleman, false, false); cntMarker += Alleman.length; map.addOverlays(Altoona); centerByArray(Altoona, false, false); cntMarker += Altoona.length; map.addOverlays(Ankeny); centerByArray(Ankeny, false, false); cntMarker += Ankeny.length; map.addOverlays(Bondurant); centerByArray(Bondurant, false, false); cntMarker += Bondurant.length; map.addOverlays(Clive); centerByArray(Clive, false, false); cntMarker += Clive.length; map.addOverlays(Des_Moines); centerByArray(Des_Moines, false, false); cntMarker += Des_Moines.length; map.addOverlays(Grimes); centerByArray(Grimes, false, false); cntMarker += Grimes.length; map.addOverlays(Island); centerByArray(Island, false, false); cntMarker += Island.length; map.addOverlays(Johnston); centerByArray(Johnston, false, false); cntMarker += Johnston.length; map.addOverlays(Maxwell); centerByArray(Maxwell, false, false); cntMarker += Maxwell.length; map.addOverlays(Mitchellville); centerByArray(Mitchellville, false, false); cntMarker += Mitchellville.length; map.addOverlays(Pleasant_Hill); centerByArray(Pleasant_Hill, false, false); cntMarker += Pleasant_Hill.length; map.addOverlays(Polk_City); centerByArray(Polk_City, false, false); cntMarker += Polk_City.length; map.addOverlays(Runnells); centerByArray(Runnells, false, false); cntMarker += Runnells.length; map.addOverlays(Urbandale); centerByArray(Urbandale, false, false); cntMarker += Urbandale.length; map.addOverlays(West_Des_Moines); centerByArray(West_Des_Moines, false, false); cntMarker += West_Des_Moines.length; centerByArray(Des_Moines,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'); } }