function addMarkers() { mySelect = document.getElementById('selection'); Boise = [];Meridian = [];Eagle = [];Kuna = [];Hidden_Springs = [];Star = [];mySelect.options[mySelect.options.length] = new Option("Boise schools",'all=Boise'); mySelect.options[mySelect.options.length] = new Option("Eagle schools",'all=Eagle'); mySelect.options[mySelect.options.length] = new Option("Hidden Springs schools",'all=Hidden_Springs'); mySelect.options[mySelect.options.length] = new Option("Kuna schools",'all=Kuna'); mySelect.options[mySelect.options.length] = new Option("Meridian schools",'all=Meridian'); mySelect.options[mySelect.options.length] = new Option("Star schools",'all=Star'); mySelect.options[mySelect.options.length] = new Option("---------------------------",''); Boise[Boise.length] = createMarker(new GPoint(-116.26001740,43.60988998),"
Ada County Juvenile Center
6300 Denton Street
Boise, ID 83704

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Ada County Juvenile Center",'Boise=' + Boise.length); Meridian[Meridian.length] = createMarker(new GPoint(-116.38866425,43.60029221),"
Ada Professional-technical Center
357 E Watertower Ln Ste D
Meridian, ID 83642

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Ada Professional-technical Center",'Meridian=' + Meridian.length); Boise[Boise.length] = createMarker(new GPoint(-116.17421722,43.60332108),"
Adams Elementary School
1725 E Warm Springs Ave
Boise, ID 83712

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Adams Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.29606628,43.56168365),"
Amity Elementary School
10000 West Amity Road
Boise, ID 83709

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Amity Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.21392822,43.61376572),"
Anser Charter School
1187 W River Street
Boise, ID 83702

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Anser Charter School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.28309631,43.57556152),"
Ascent
8201 W Victory Rd
Boise, ID 83709

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Ascent",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.18582153,43.61780930),"
Boise Evening School
6001 Cassia
Boise, ID 83709

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Boise Evening School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.20218658,43.62045288),"
Boise Senior High School
1010 West Washington St
Boise, ID 83702

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Boise Senior High School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.03231812,43.63351822),"
Booth Memorial School
P O Box 1216
Boise, ID 83701

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Booth Memorial School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.25579071,43.59742737),"
Borah Senior High School
6001 Cassia Street
Boise, ID 83709

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Borah Senior High School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.28247833,43.64450836),"
Capital Senior High School
8055 Goddard Road
Boise, ID 83704

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Capital Senior High School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.34540558,43.66003799),"
Cecil D Andrus Elementary School
6100 Park Meadow Drive
Boise, ID 83713

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Cecil D Andrus Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.33688354,43.64857101),"
Centennial High School
12400 West Mc Millan Road
Boise, ID 83713

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Centennial High School",'Boise=' + Boise.length); Meridian[Meridian.length] = createMarker(new GPoint(-116.37449700,43.65863100),"
Central Academy (alt)
6075 N Locust Grove Rd
Meridian, ID 83642

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Central Academy (alt)",'Meridian=' + Meridian.length); Meridian[Meridian.length] = createMarker(new GPoint(-116.43759155,43.61578751),"
Chaparral Elementary School
1155 N Deer Creek Lane
Meridian, ID 83642

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Chaparral Elementary School",'Meridian=' + Meridian.length); Meridian[Meridian.length] = createMarker(new GPoint(-116.37931061,43.62493515),"
Chief Joseph Elementary School
1100 East Chateau
Meridian, ID 83642

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Chief Joseph Elementary School",'Meridian=' + Meridian.length); Boise[Boise.length] = createMarker(new GPoint(-116.27445984,43.61931610),"
Cole Elementary School
7415 Fairview Avenue
Boise, ID 83704

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Cole Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.24362183,43.65529251),"
Collister Elementary School
4426 Catalpa Drive
Boise, ID 83703

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Collister Elementary School",'Boise=' + Boise.length); Meridian[Meridian.length] = createMarker(new GPoint(-116.42553400,43.61919300),"
Compass Public Charter School
2870 South Gold Bar Ave
Meridian, ID 83642

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Compass Public Charter School",'Meridian=' + Meridian.length); Meridian[Meridian.length] = createMarker(new GPoint(-116.37191010,43.61169815),"
Crossroads Middle School
650 N Nola
Meridian, ID 83642

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Crossroads Middle School",'Meridian=' + Meridian.length); Boise[Boise.length] = createMarker(new GPoint(-116.25575256,43.66629028),"
Cynthia Mann Elementary School
5401 West Castle Drive
Boise, ID 83703

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Cynthia Mann Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.28309631,43.57556152),"
Dehryl A. Dennis Professional-technical Education High School
8201 W Victory Rd
Boise, ID 83709

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Dehryl A. Dennis Professional-technical Education High School",'Boise=' + Boise.length); Eagle[Eagle.length] = createMarker(new GPoint(-116.33717346,43.69210434),"
Eagle Academy
100 South Academy Avenue
Eagle, ID 83616

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Eagle Academy",'Eagle=' + Eagle.length); Eagle[Eagle.length] = createMarker(new GPoint(-116.35417175,43.69902802),"
Eagle Elementary School
475 North Eagle Road
Eagle, ID 83616

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Eagle Elementary School",'Eagle=' + Eagle.length); Eagle[Eagle.length] = createMarker(new GPoint(-116.40351105,43.69997406),"
Eagle High School
574 N Park Lane
Eagle, ID 83616

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Eagle High School",'Eagle=' + Eagle.length); Eagle[Eagle.length] = createMarker(new GPoint(-116.34506989,43.70223999),"
Eagle Hills Elementary School
650 Ranch Drive
Eagle, ID 83616

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Eagle Hills Elementary School",'Eagle=' + Eagle.length); Eagle[Eagle.length] = createMarker(new GPoint(-116.36742401,43.70663834),"
Eagle Middle School
1000 W Floating Feather
Eagle, ID 83616

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Eagle Middle School",'Eagle=' + Eagle.length); Boise[Boise.length] = createMarker(new GPoint(-116.19068146,43.61047745),"
East Junior High School
415 E Warm Springs Ave
Boise, ID 83712

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("East Junior High School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.27433014,43.62372208),"
Fairmont Junior High School
2121 North Cole Road
Boise, ID 83704

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Fairmont Junior High School",'Boise=' + Boise.length); Kuna[Kuna.length] = createMarker(new GPoint(-116.41966100,43.49070800),"
Falcon Ridge Public Charter School
P.o. Box 326
Kuna, ID 83634

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Falcon Ridge Public Charter School",'Kuna=' + Kuna.length); Boise[Boise.length] = createMarker(new GPoint(-116.19361877,43.61661911),"
Fort Boise Mid High (alt)
300 W Fort Street
Boise, ID 83702

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Fort Boise Mid High (alt)",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.24317932,43.60251236),"
Franklin Elementary School
5007 Franklin Road
Boise, ID 83705

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Franklin Elementary School",'Boise=' + Boise.length); Kuna[Kuna.length] = createMarker(new GPoint(-116.40843964,43.49786377),"
Fremont H Teed Elementaty School
441 E Porter Road
Kuna, ID 83634

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Fremont H Teed Elementaty School",'Kuna=' + Kuna.length); Boise[Boise.length] = createMarker(new GPoint(-116.33042908,43.63906097),"
Frontier Elementary School
11851 Musket Drive
Boise, ID 83713

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Frontier Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.19358826,43.58934021),"
Garfield Elementary School
1914 Broadway Avenue
Boise, ID 83706

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Garfield Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.21085358,43.58238983),"
Hawthorne Elementary School
2401 Targee Street
Boise, ID 83705

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hawthorne Elementary School",'Boise=' + Boise.length); Hidden_Springs[Hidden_Springs.length] = createMarker(new GPoint(-116.25722504,43.72472763),"
Hidden Springs Charter School
5480 W Hidden Springs
Hidden Springs, ID 83714

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Hidden Springs Charter School",'Hidden_Springs=' + Hidden_Springs.length); Boise[Boise.length] = createMarker(new GPoint(-116.19487000,43.65089417),"
Highlands Elementary School
3434 Bogus Basin Road
Boise, ID 83702

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Highlands Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.23999786,43.58401489),"
Hillcrest Elementary School
2045 South Pond Street
Boise, ID 83705

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hillcrest Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.23240662,43.65475845),"
Hillside Junior High School
3536 Hill Road
Boise, ID 83703

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Hillside Junior High School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.30426025,43.61164474),"
Horizon Elementary School
730 N Mitchell
Boise, ID 83704

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Horizon Elementary School",'Boise=' + Boise.length); Kuna[Kuna.length] = createMarker(new GPoint(-116.41043091,43.49796295),"
Hubbard Elementary School
311 E Porter Road
Kuna, ID 83634

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hubbard Elementary School",'Kuna=' + Kuna.length); Meridian[Meridian.length] = createMarker(new GPoint(-116.41933000,43.64833800),"
Hunter Elementary School
2051 West Mcmillan Road
Meridian, ID 83642

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hunter Elementary School",'Meridian=' + Meridian.length); Boise[Boise.length] = createMarker(new GPoint(-113.29229736,43.58440018),"
Idaho Virtual Academy
1488 S Eagle Road
Boise, ID 83709

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Idaho Virtual Academy",'Boise=' + Boise.length); Kuna[Kuna.length] = createMarker(new GPoint(-116.42398834,43.49185944),"
Indian Creek Elementary School
911 West 4th Street
Kuna, ID 83634

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Indian Creek Elementary School",'Kuna=' + Kuna.length); Eagle[Eagle.length] = createMarker(new GPoint(-116.35953300,43.68527000),"
Inspire Virtual Charter School
508 Willowtrace Drive
Eagle, ID 83616

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Inspire Virtual Charter School",'Eagle=' + Eagle.length); Boise[Boise.length] = createMarker(new GPoint(-116.27432251,43.60174179),"
Jackson Elementary School
334 South Cole Road
Boise, ID 83709

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Jackson Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.22831726,43.60224915),"
Jefferson Elementary School
200 South Latah Street
Boise, ID 83705

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Jefferson Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.33267975,43.65556335),"
Joplin Elementary School
12081 West Demeyer Street
Boise, ID 83713

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Joplin Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.25346375,43.62300110),"
Koelsch Elementary School
2015 North Curtis Road
Boise, ID 83706

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Koelsch Elementary School",'Boise=' + Boise.length); Kuna[Kuna.length] = createMarker(new GPoint(-116.40569305,43.50271225),"
Kuna High School
637 E Deer Flat
Kuna, ID 83634

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Kuna High School",'Kuna=' + Kuna.length); Kuna[Kuna.length] = createMarker(new GPoint(-116.42842102,43.49581528),"
Kuna Middle School
1360 Boise St
Kuna, ID 83634

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Kuna Middle School",'Kuna=' + Kuna.length); Boise[Boise.length] = createMarker(new GPoint(-116.32817841,43.54646301),"
Lake Hazel Elementary School
11711 Lake Hazel Road
Boise, ID 83709

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Lake Hazel Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.32746887,43.55376434),"
Lake Hazel Middle School
11625 La Grange Street
Boise, ID 83709

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Lake Hazel Middle School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.13413239,43.54664230),"
Les Bois Junior High School
4150 E Grand Forest Dr
Boise, ID 83716

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Les Bois Junior High School",'Boise=' + Boise.length); Meridian[Meridian.length] = createMarker(new GPoint(-116.34055328,43.61180115),"
Lewis & Clark Middle School
4141 East Pine Street
Meridian, ID 83642

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Lewis & Clark Middle School",'Meridian=' + Meridian.length); Boise[Boise.length] = createMarker(new GPoint(-116.16195679,43.56739044),"
Liberty Elementary School
1740 E Bergeson Street
Boise, ID 83706

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Liberty Elementary School",'Boise=' + Boise.length); Meridian[Meridian.length] = createMarker(new GPoint(-116.41640472,43.62536621),"
Linder Elementary School
1825 Chateau Drive
Meridian, ID 83642

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Linder Elementary School",'Meridian=' + Meridian.length); Meridian[Meridian.length] = createMarker(new GPoint(-116.38027954,43.64028168),"
Locust Grove Elementary School
2100 E Leigh Field Drive
Meridian, ID 83642

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Locust Grove Elementary School",'Meridian=' + Meridian.length); Boise[Boise.length] = createMarker(new GPoint(-116.19875336,43.62747192),"
Longfellow Elementary School
1511 North 9th Street
Boise, ID 83702

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Longfellow Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.22324371,43.63364410),"
Lowell Elementary School
1507 North 28th Street
Boise, ID 83703

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Lowell Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.35274506,43.64853668),"
Lowell Scott Middle School
13600 West Mcmillan Rd
Boise, ID 83713

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Lowell Scott Middle School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.21694946,43.62528992),"
Madison Elementary School
2215 Madison Avenue
Boise, ID 83702

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Madison Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.29415131,43.57806015),"
Maple Grove Elementary School
2800 South Maple Grove Rd
Boise, ID 83709

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Maple Grove Elementary School",'Boise=' + Boise.length); Meridian[Meridian.length] = createMarker(new GPoint(-116.38120270,43.56126785),"
Mary Mc Pherson Elementary School
1050 East Amity Road
Meridian, ID 83642

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Mary Mc Pherson Elementary School",'Meridian=' + Meridian.length); Boise[Boise.length] = createMarker(new GPoint(-116.26115417,43.59008789),"
Mc Kinley Elementary School
6400 Overland Road
Boise, ID 83709

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Mc Kinley Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.31776428,43.64831161),"
Mc Millan Elementary School
10901 Mc Millan
Boise, ID 83713

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Mc Millan Elementary School",'Boise=' + Boise.length); Meridian[Meridian.length] = createMarker(new GPoint(-116.36549377,43.60676193),"
Meridian Academy
6075 N Locust Grove Rd
Meridian, ID 83642

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Meridian Academy",'Meridian=' + Meridian.length); Meridian[Meridian.length] = createMarker(new GPoint(-116.37430573,43.63888550),"
Meridian Charter High School
3800 N Locust Grove
Meridian, ID 83642

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Meridian Charter High School",'Meridian=' + Meridian.length); Meridian[Meridian.length] = createMarker(new GPoint(-116.39464569,43.61293793),"
Meridian Elementary School
48 West State Avenue
Meridian, ID 83642

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Meridian Elementary School",'Meridian=' + Meridian.length); Meridian[Meridian.length] = createMarker(new GPoint(-116.41645050,43.61213684),"
Meridian High School
1900 West Pine Street
Meridian, ID 83642

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Meridian High School",'Meridian=' + Meridian.length); Meridian[Meridian.length] = createMarker(new GPoint(-116.37430573,43.63846207),"
Meridian Medical Arts Charter High School
1789 E Leigh Field Drive
Meridian, ID 83642

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Meridian Medical Arts Charter High School",'Meridian=' + Meridian.length); Meridian[Meridian.length] = createMarker(new GPoint(-116.40388489,43.61744690),"
Meridian Middle School
1507 West 8th Street
Meridian, ID 83642

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Meridian Middle School",'Meridian=' + Meridian.length); Boise[Boise.length] = createMarker(new GPoint(-116.33433900,43.63948000),"
Meridian Night School (alt)
12400 W Mcmillan Road
Boise, ID 83713

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Meridian Night School (alt)",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.22736359,43.59688950),"
Monroe Elementary School
3615 Cassia Street
Boise, ID 83705

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Monroe Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.18582153,43.61780930),"
Mountain Cove (alt.) High School
911 Mountain Cove Road
Boise, ID 83702

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Mountain Cove (alt.) High School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.27011108,43.63753510),"
Mountain View Elementary School
3500 Cabarton Lane
Boise, ID 83704

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Mountain View Elementary School",'Boise=' + Boise.length); Meridian[Meridian.length] = createMarker(new GPoint(-116.36847687,43.58673859),"
Mountain View High School
2000 S Millennium Way
Meridian, ID 83642

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Mountain View High School",'Meridian=' + Meridian.length); Boise[Boise.length] = createMarker(new GPoint(-116.20335388,43.62558746),"
North Junior High School
1105 North 13th Street
Boise, ID 83702

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("North Junior High School",'Boise=' + Boise.length); Eagle[Eagle.length] = createMarker(new GPoint(-116.35234070,43.69620132),"
North Star Charter School
Po Box 877
Eagle, ID 83616

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("North Star Charter School",'Eagle=' + Eagle.length); Boise[Boise.length] = createMarker(new GPoint(-116.22373199,43.57507324),"
Owyhee Elementary School
3434 Pasadena Drive
Boise, ID 83705

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Owyhee Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.33150300,43.58329400),"
Pepper Ridge Elementary School
2252 S Sumpter Way
Boise, ID 83709

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Pepper Ridge Elementary School",'Boise=' + Boise.length); Meridian[Meridian.length] = createMarker(new GPoint(-116.41719818,43.59743881),"
Peregrine Elementary School
1860 Waltman Street
Meridian, ID 83642

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Peregrine Elementary School",'Meridian=' + Meridian.length); Boise[Boise.length] = createMarker(new GPoint(-116.26821136,43.68088913),"
Pierce Park Elementary School
5015 N Pierce Park Lane
Boise, ID 83714

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Pierce Park Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.34785461,43.64826202),"
Pioneer Elementary School
13255 West Mc Millan Road
Boise, ID 83713

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Pioneer Elementary School",'Boise=' + Boise.length); Meridian[Meridian.length] = createMarker(new GPoint(-116.44351959,43.63315964),"
Ponderosa Elementary School
2950 N Naomi
Meridian, ID 83642

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Ponderosa Elementary School",'Meridian=' + Meridian.length); Boise[Boise.length] = createMarker(new GPoint(-116.31462097,43.53810883),"
Ridgewood Elementary School
7075 South Five Mile Road
Boise, ID 83709

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Ridgewood Elementary School",'Boise=' + Boise.length); Meridian[Meridian.length] = createMarker(new GPoint(-116.35523224,43.62678909),"
River Valley Elementary School
2900 East River Valley St
Meridian, ID 83642

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("River Valley Elementary School",'Meridian=' + Meridian.length); Boise[Boise.length] = createMarker(new GPoint(-116.27939606,43.67948532),"
Riverglen Junior High School
6801 N Gary Ln
Boise, ID 83714

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Riverglen Junior High School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.15987396,43.57459259),"
Riverside Elementary School
2100 East Victory
Boise, ID 83706

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Riverside Elementary School",'Boise=' + Boise.length); Eagle[Eagle.length] = createMarker(new GPoint(-116.35404400,43.69219700),"
Rolling Hills Public Charter School
372 South Eagle Road 155
Eagle, ID 83616

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Rolling Hills Public Charter School",'Eagle=' + Eagle.length); Boise[Boise.length] = createMarker(new GPoint(-116.18374634,43.60954285),"
Roosevelt Elementary School
908 East Jefferson Street
Boise, ID 83712

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Roosevelt Elementary School",'Boise=' + Boise.length); Kuna[Kuna.length] = createMarker(new GPoint(-116.42330933,43.49468231),"
Ross Elementary School
610 North School Avenue
Kuna, ID 83634

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Ross Elementary School",'Kuna=' + Kuna.length); Meridian[Meridian.length] = createMarker(new GPoint(-116.41374000,43.63813900),"
Sawtooth Middle School
3730 N Linder Road
Meridian, ID 83642

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Sawtooth Middle School",'Meridian=' + Meridian.length); Eagle[Eagle.length] = createMarker(new GPoint(-116.35260773,43.69424820),"
Seven Oaks Elementary School
1441 S Sevenoakes Way
Eagle, ID 83616

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Seven Oaks Elementary School",'Eagle=' + Eagle.length); Boise[Boise.length] = createMarker(new GPoint(-116.28926086,43.68269348),"
Shadow Hills Elementary School
8301 W Sloan Street
Boise, ID 83714

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Shadow Hills Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.27770233,43.55793762),"
Silver Sage Elementary School
7700 Snohomish Street
Boise, ID 83709

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Silver Sage Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.21845245,43.59696198),"
South Junior High School
805 Shoshone Street
Boise, ID 83705

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("South Junior High School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.33570099,43.59976196),"
Spalding Elementary School
12311 W Braddock Drive
Boise, ID 83709

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Spalding Elementary School",'Boise=' + Boise.length); Star[Star.length] = createMarker(new GPoint(-116.49311066,43.69790268),"
Star Elementary School
700 North Star Road
Star, ID 83669

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Star Elementary School",'Star=' + Star.length); Boise[Boise.length] = createMarker(new GPoint(-116.30638123,43.63845444),"
Summerwind Elementary School
3675 North Jullion Way
Boise, ID 83704

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Summerwind Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.19103900,43.58208000),"
Timberline High School
701 E Boise Ave
Boise, ID 83706

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Timberline High School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.13824463,43.55263138),"
Trail Wind Elementary School
3701 E Lake Forest Dr
Boise, ID 83716

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Trail Wind Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.27917900,43.67971900),"
Treasure Valley Math/science
6801 North Gary Lane
Boise, ID 83714

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Treasure Valley Math/science",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.33399200,43.63376236),"
Ustick Elementary School
12435 Ustick Road
Boise, ID 83713

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Ustick Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.28446960,43.63716125),"
Valley View Elementary School
3555 N Milwaukee Street
Boise, ID 83704

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Valley View Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.20574951,43.63193893),"
Washington Elementary School
1607 North 15th Street
Boise, ID 83702

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Washington Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.25389099,43.61083221),"
West Junior High School
8371 W. Salt Creek Court
Boise, ID 83709

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("West Junior High School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.17823792,43.57855606),"
White Pine Elementary School
401 East Linden Street
Boise, ID 83706

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("White Pine Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.22325134,43.58958435),"
Whitney Elementary School
1609 South Owyhee Street
Boise, ID 83705

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Whitney Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.22645569,43.62348938),"
Whittier Elementary School
301 North 29th Street
Boise, ID 83702

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Whittier Elementary School",'Boise=' + Boise.length); Boise[Boise.length] = createMarker(new GPoint(-116.23551178,43.64060211),"
William Howard Taft Elementary School
3722 Anderson Street
Boise, ID 83703

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("William Howard Taft Elementary School",'Boise=' + Boise.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(Boise); map.removeOverlays(Eagle); map.removeOverlays(Hidden_Springs); map.removeOverlays(Kuna); map.removeOverlays(Meridian); map.removeOverlays(Star); 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(Boise);map.removeOverlays(Boise); map.removeOverlays(Eagle); map.removeOverlays(Hidden_Springs); map.removeOverlays(Kuna); map.removeOverlays(Meridian); map.removeOverlays(Star); map.addOverlays(Boise); centerByArray(Boise, false, false); cntMarker += Boise.length; map.addOverlays(Eagle); centerByArray(Eagle, false, false); cntMarker += Eagle.length; map.addOverlays(Hidden_Springs); centerByArray(Hidden_Springs, false, false); cntMarker += Hidden_Springs.length; map.addOverlays(Kuna); centerByArray(Kuna, false, false); cntMarker += Kuna.length; map.addOverlays(Meridian); centerByArray(Meridian, false, false); cntMarker += Meridian.length; map.addOverlays(Star); centerByArray(Star, false, false); cntMarker += Star.length; centerByArray(Boise,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'); } }