function addMarkers() { mySelect = document.getElementById('selection'); Omaha = [];Omaha[Omaha.length] = createMarker(new GPoint(-96.15827942,41.20833206),"
Ackerman Elementary School
5110 S 156th St
Omaha, NE 68135

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Ackerman Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.03368378,41.29066467),"
Adams Elementary School
3420 N 78th St
Omaha, NE 68134

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Adams Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.16793823,41.26336670),"
Aldrich Elementary School
506 N 162 Ave
Omaha, NE 68118

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Aldrich Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.13461000,41.30252400),"
Alice Buffett Elementary School
14101 Larimore Street
Omaha, NE 68164

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Alice Buffett Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.13461000,41.30252400),"
Alice Buffett Middle School
14101 Larimore Street
Omaha, NE 68164

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Alice Buffett Middle School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.99316406,41.20793533),"
Ashland Park/Robbins School
5050 S 51st St
Omaha, NE 68117

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Ashland Park/Robbins School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.92524719,41.23407364),"
Bancroft Elementary School
2724 Riverview Blvd
Omaha, NE 68108

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Bancroft Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.19990540,41.19533157),"
Beadle Middle School
18201 Jefferson St
Omaha, NE 68135

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Beadle Middle School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.98548126,41.24285507),"
Beals Elementary School
1720 S 48th St
Omaha, NE 68106

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Beals Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.00453949,41.24220657),"
Belle Ryan Elementary School
1807 S 60th St
Omaha, NE 68106

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Belle Ryan Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.96878052,41.31509018),"
Belvedere Elementary School
3775 Curtis Ave
Omaha, NE 68111

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Belvedere Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.99321747,41.28513718),"
Benson High School
5120 Maple St
Omaha, NE 68104

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Benson High School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.01577759,41.28513718),"
Benson West Elementary School
6652 Maple St
Omaha, NE 68104

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Benson West Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.10088348,41.24310303),"
Beveridge Magnet School
1616 S 120th St
Omaha, NE 68144

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Beveridge Magnet School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.16588593,41.19226074),"
Black Elk Elementary School
6708 S 161 Ave
Omaha, NE 68135

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Black Elk Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.95027161,41.27203751),"
Blackburn Alternative High School
5141 F Street
Omaha, NE 68117

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Blackburn Alternative High School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.07232666,41.20879745),"
Blumfield Elementary School
10310 Mockingbird Dr
Omaha, NE 68127

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Blumfield Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.04194641,41.29843521),"
Boyd Elementary School
8314 Boyd St
Omaha, NE 68134

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Boyd Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.08827972,41.18930054),"
Brook Valley School
6949 S 110th
Omaha, NE 68128

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Brook Valley School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.13898468,41.21021652),"
Bryan Elementary School
5010 S 144th St
Omaha, NE 68137

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Bryan Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.98448944,41.17642593),"
Bryan High School
4700 Giles Rd
Omaha, NE 68157

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Bryan High School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.97708130,41.17747879),"
Bryan Middle School
8210 S 42nd St
Omaha, NE 68147

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Bryan Middle School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.10459900,41.25982285),"
Burke High School
12200 Burke Blvd
Omaha, NE 68154

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Burke High School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.04571533,41.25716400),"
Carl A Swanson Elementary School
8601 Harney
Omaha, NE 68114

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Carl A Swanson Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.93980408,41.23792267),"
Castelar Elementary School
2316 S 18th St
Omaha, NE 68108

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Castelar Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.11276245,41.23917770),"
Catlin Elementary School
12736 Marinda St
Omaha, NE 68144

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Catlin Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.94251251,41.25992966),"
Central High School
124 N 20th St
Omaha, NE 68102

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Central High School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.97598267,41.30326462),"
Central Park Elementary School
4904 N 42nd St
Omaha, NE 68111

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Central Park Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.94808197,41.18306351),"
Chandler View Elementary School
7800 S 25th St
Omaha, NE 68147

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Chandler View Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.11311340,41.22739029),"
Cody Elementary School
3320 S 127th St
Omaha, NE 68144

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Cody Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.11098480,41.25727463),"
Columbian Elementary School
330 S 127th St
Omaha, NE 68154

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Columbian Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.94402313,41.27866364),"
Conestoga Elementary School
2115 Burdette St
Omaha, NE 68110

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Conestoga Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.15624237,41.25350571),"
Cottonwood Elementary School
615 Piedmont Dr
Omaha, NE 68154

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Cottonwood Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.09469604,41.25254059),"
Crestridge Elementary School
818 Crestridge Rd
Omaha, NE 68154

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Crestridge Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.06473541,41.29019165),"
Dodge Elementary School
3520 Maplewood Blvd
Omaha, NE 68134

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Dodge Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.95735931,41.29423523),"
Druid Hill Elementary School
4020 N 30 Street
Omaha, NE 68111

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Druid Hill Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.99288177,41.26160431),"
Dundee Elementary School
310 N 51st Street
Omaha, NE 68132

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Dundee Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.08791351,41.18946457),"
Ecse - Arlington Elementary School
6949 S 110th
Omaha, NE 68128

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Ecse - Arlington Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.08791351,41.18946457),"
Ecse - Elkhorn Elementary School
6949 S 110th
Omaha, NE 68128

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Ecse - Elkhorn Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.08791351,41.18946457),"
Ecse - Gretna Elementary School
6949 S 110th
Omaha, NE 68128

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Ecse - Gretna Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.08791351,41.18946457),"
Ecse - Westmont Elementary School
6949 S 110th
Omaha, NE 68128

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Ecse - Westmont Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.08791351,41.18946457),"
Ecse-ft Calhoun Elementary School
6949 S 110th St
Omaha, NE 68128

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Ecse-ft Calhoun Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.08791351,41.18946457),"
Ecse-louisville Elementary School
6949 S 110th
Omaha, NE 68128

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Ecse-louisville Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.08791351,41.18946457),"
Ecse-platteview Central Elementary School
6949 S 110th
Omaha, NE 68128

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Ecse-platteview Central Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.08791351,41.18946457),"
Ecse-valley Elementary School
6949 S 110th St
Omaha, NE 68128

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Ecse-valley Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.08791351,41.18946457),"
Ecse-weeping Water Headstart
6949 S 110th
Omaha, NE 68128

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Ecse-weeping Water Headstart",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.06441498,41.27955246),"
Edison Elementary School
2303 N 97th St
Omaha, NE 68134

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Edison Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.98043823,41.31480026),"
Elkhorn Ridge Middle School
17880 Marcy Street
Omaha, NE 68118

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Elkhorn Ridge Middle School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.13381958,41.27756119),"
Ezra Millard Elementary School
14111 Blondo St
Omaha, NE 68164

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Ezra Millard Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.96412659,41.24253845),"
Field Club Elementary School
3512 Walnut St
Omaha, NE 68105

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Field Club Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.96862030,41.33021927),"
Florence Elementary School
7902 N 36th St
Omaha, NE 68112

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Florence Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.99491882,41.29431534),"
Fontenelle Elementary School
3905 N 52nd St
Omaha, NE 68104

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Fontenelle Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.96475983,41.27473831),"
Franklin Elementary School
3506 Franklin St
Omaha, NE 68111

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Franklin Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.13018799,41.30176926),"
Fullerton Elementary School
4711 N 138th St
Omaha, NE 68164

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Fullerton Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.96924591,41.18346024),"
Gilder Elementary School
3705 Chandler Rd
Omaha, NE 68147

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Gilder Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.93806500,41.20659400),"
Gomez Heritage Elementary School
5101 S 17th Street
Omaha, NE 68107

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Gomez Heritage Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.15861511,41.27200699),"
Grace Abbott Elementary School
1313 N 156th
Omaha, NE 68118

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Grace Abbott Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.00709534,41.32146454),"
Hale Middle School
6143 Whitmore St
Omaha, NE 68152

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Hale Middle School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.99641418,41.27243805),"
Harrison Elementary School
5304 Hamilton St
Omaha, NE 68132

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Harrison Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.15485382,41.19553757),"
Harry Andersen Middle School
15404 Adams St
Omaha, NE 68137

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Harry Andersen Middle School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.01437378,41.30844879),"
Hartman Elementary School
5530 N 66th St
Omaha, NE 68104

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hartman Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.15007019,41.24060059),"
Harvey Oaks Elementary School
15228 Shirley St
Omaha, NE 68144

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Harvey Oaks Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.95109558,41.19556427),"
Highland Elementary School
2625 Jefferson St
Omaha, NE 68107

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Highland Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.02947998,41.27063751),"
Hillside Elementary School
7500 Western Ave
Omaha, NE 68114

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hillside Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.07557678,41.19969177),"
Hitchcock Elementary School
5809 S 104th St
Omaha, NE 68127

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hitchcock Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.12683868,41.19361496),"
Holling Heights Elementary School
6565 S 136th St
Omaha, NE 68137

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Holling Heights Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.95982361,41.20146179),"
Indian Hill Elementary School
3121 U St
Omaha, NE 68107

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Indian Hill Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.16491699,41.24133301),"
J Sterling Morton Elementary School
1805 S 160th
Omaha, NE 68130

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("J Sterling Morton Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.95782471,41.25407028),"
Jackson Elementary School
620 S 31st St
Omaha, NE 68105

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Jackson Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.97355652,41.22819519),"
Jefferson Elementary School
4065 Vinton St
Omaha, NE 68105

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Jefferson Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.08797455,41.27785110),"
Joslyn Elementary School
11220 Blondo St
Omaha, NE 68164

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Joslyn Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.01005554,41.21739578),"
Karen Western Elementary School
6224 H St
Omaha, NE 68117

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Karen Western Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.94681549,41.27121735),"
Kellom Elementary School
1311 N 24th St
Omaha, NE 68102

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Kellom Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.95668030,41.28517914),"
Kennedy Elementary School
2906 N 30th St
Omaha, NE 68111

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Kennedy Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.15872955,41.25526428),"
Kiewit Middle School
15650 Howard St
Omaha, NE 68118

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Kiewit Middle School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.96762085,41.28469086),"
King Elementary School
3706 Maple St
Omaha, NE 68111

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("King Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.94216919,41.29273987),"
King Science Elementary School
3720 Florence Blvd
Omaha, NE 68110

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("King Science Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.94216919,41.29273987),"
King Science Middle School
3720 Florence Blvd
Omaha, NE 68110

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("King Science Middle School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.01930237,41.26676178),"
Lewis & Clark Middle School
6901 Burt St
Omaha, NE 68132

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Lewis & Clark Middle School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.94046900,41.26064500),"
Liberty Elementary School
2021 St Mary''s Avenue
Omaha, NE 68102

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Liberty Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.97878265,41.25700760),"
Lord Elementary School
330 S 44th St
Omaha, NE 68131

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Lord Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.94557953,41.28883743),"
Lothrop Elementary School
3300 North 22nd St
Omaha, NE 68110

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Lothrop Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.04016113,41.24866486),"
Loveland Elementary School
8201 Pacific
Omaha, NE 68114

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Loveland Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.95998383,41.26707840),"
Magnet Career Center
3230 Burt St
Omaha, NE 68131

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Magnet Career Center",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.94021606,41.20180893),"
Marrs Elementary School
5619 S 19th Street
Omaha, NE 68107

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Marrs Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.06681824,41.30833054),"
Masters Elementary School
5505 N 99th St
Omaha, NE 68134

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Masters Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.96990204,41.31763840),"
Mc Millan Middle School
3802 Redick Ave
Omaha, NE 68112

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Mc Millan Middle School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.05856323,41.19859695),"
Meadows Elementary School
9225 Berry
Omaha, NE 68127

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Meadows Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.11485291,41.21023560),"
Middle School Alternative Prog
12820 N St
Omaha, NE 68137

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Middle School Alternative Prog",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.11170959,41.21236038),"
Millard Central Middle School
12801 L St
Omaha, NE 68137

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Millard Central Middle School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.12199402,41.21130371),"
Millard Learning Center
13270 Millard Ave
Omaha, NE 68137

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Millard Learning Center",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.13898468,41.24978256),"
Millard North High School
1010 S 144th St
Omaha, NE 68154

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Millard North High School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.12955475,41.23315048),"
Millard North Middle School
2828 S 139th Plaza
Omaha, NE 68144

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Millard North Middle School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.19218445,41.20080185),"
Millard West High School
5710 S 176 Ave
Omaha, NE 68135

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Millard West High School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.95420074,41.30472183),"
Miller Park Elementary School
5625 N 28th Avenue
Omaha, NE 68111

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Miller Park Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.95264435,41.32153702),"
Minne Lusa Elementary School
2728 Ida St
Omaha, NE 68112

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Minne Lusa Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.05624390,41.20540619),"
Mockingbird Elementary School
5100 S 93rd St
Omaha, NE 68127

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Mockingbird Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.99298096,41.28846359),"
Monroe Middle School
5105 Bedford Ave
Omaha, NE 68104

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Monroe Middle School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.12831879,41.23751831),"
Montclair Elementary School
2405 S 138th
Omaha, NE 68144

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Montclair Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.06599426,41.29985428),"
Morton Middle School
4606 Terrace Dr
Omaha, NE 68134

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Morton Middle School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.99429321,41.30689621),"
Mount View Elementary School
5322 N 52nd St
Omaha, NE 68104

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Mount View Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.15009308,41.19233704),"
Neihardt Elementary School
15130 Drexel
Omaha, NE 68137

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Neihardt Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.13356018,41.19521713),"
Norman Rockwell Elementary School
6370 S 140th Ave
Omaha, NE 68137

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Norman Rockwell Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.10694122,41.20593643),"
Norris Elementary School
12424 Weir St
Omaha, NE 68137

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Norris Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.98121643,41.23834229),"
Norris Middle School
2235 S 46th St
Omaha, NE 68106

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Norris Middle School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.10754395,41.22873306),"
Oak Valley Elementary School
3109 Pedersen Dr
Omaha, NE 68144

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Oak Valley Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.06508636,41.23389053),"
Oakdale Elementary School
9801 W Center Rd
Omaha, NE 68124

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Oakdale Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.96559906,41.29877853),"
Omaha North High School
4410 N 36th St
Omaha, NE 68111

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Omaha North High School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.03969574,41.31268311),"
Omaha Northwest High School
8204 Crown Point Ave
Omaha, NE 68134

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Omaha Northwest High School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.95918274,41.26776123),"
Omaha Public Schools Homebound Elementary School
3215 Cuming St
Omaha, NE 68131

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Omaha Public Schools Homebound Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.94710541,41.21466827),"
Omaha South High School
4519 S 24th St
Omaha, NE 68107

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Omaha South High School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.05725861,41.22708511),"
Paddock Road Elementary School
3535 Paddock Rd
Omaha, NE 68124

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Paddock Road Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.03131104,41.28523636),"
Paralyzed Veteran's Ed Center
7612 Maple St
Omaha, NE 68134

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Paralyzed Veteran's Ed Center",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.98094177,41.25766373),"
Parrish Alternative School
4469 Farnam St
Omaha, NE 68131

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Parrish Alternative School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.98669434,41.18783569),"
Pawnee Elementary School
7310 S 48th St
Omaha, NE 68157

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Pawnee Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.14136505,41.28373718),"
Picotte Elementary School
14506 Ohio St
Omaha, NE 68116

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Picotte Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.00949097,41.31959534),"
Pinewood Elementary School
6717 N 63rd St
Omaha, NE 68152

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Pinewood Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.97743225,41.36140060),"
Ponca Elementary School
11300 N Post Rd
Omaha, NE 68112

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Ponca Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.09271240,41.22933578),"
Prairie Lane Elementary School
11444 Hascall
Omaha, NE 68144

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Prairie Lane Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.08267975,41.31065750),"
Prairie Wind School
10908 Ellison Ave
Omaha, NE 68164

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Prairie Wind School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.93983200,41.20113600),"
R M Marrs Middle School
5619 S 19th Street
Omaha, NE 68107

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("R M Marrs Middle School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.08168030,41.23660278),"
Rockbrook Elementary School
2514 S 108th St
Omaha, NE 68144

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Rockbrook Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.99884033,41.28382492),"
Rose Hill Elementary School
5605 Corby Street
Omaha, NE 68104

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Rose Hill Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.19241333,41.21926117),"
Rowher Elementary School
17701 F St
Omaha, NE 68135

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Rowher Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.18357849,41.20401764),"
Russell Middle School
5304 S 172nd St
Omaha, NE 68135

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Russell Middle School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.10663605,41.19853973),"
Sandoz Elementary School
5959 Oak Hills Dr
Omaha, NE 68137

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sandoz Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.94853973,41.30015182),"
Saratoga Elementary School
2504 Meredith Ave
Omaha, NE 68111

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Saratoga Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.93515778,41.30892181),"
Sherman Elementary School
5618 N 14th Ave
Omaha, NE 68110

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sherman Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.96147919,41.29729080),"
Skinner Magnet Center
4304 N 33rd St
Omaha, NE 68111

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Skinner Magnet Center",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.94158936,41.21852875),"
Spring Lake Magnet Center
4215 S 20th St
Omaha, NE 68107

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Spring Lake Magnet Center",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.19416046,41.24510574),"
Spring Ridge Elementary School
17830 Shadow Ridge Dr
Omaha, NE 68130

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Spring Ridge Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.00399780,41.32479858),"
Springville Elementary School
7300 N 60th St
Omaha, NE 68152

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Springville Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.16194100,41.29781500),"
Standing Bear Elementary School
15860 Taylor Street
Omaha, NE 68116

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Standing Bear Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.08074951,41.29420853),"
Sunny Slope Elementary School
10828 Old Maple Rd
Omaha, NE 68164

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sunny Slope Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.06071472,41.24186325),"
Sunset Hills Elementary School
9503 Walnut St
Omaha, NE 68124

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sunset Hills Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.05318451,41.27066040),"
Underwood Hills Elementary School
9030 Western Ave
Omaha, NE 68114

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Underwood Hills Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.98596191,41.31589890),"
Wakonda Elementary School
4845 Curtis Ave
Omaha, NE 68104

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Wakonda Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.97761536,41.27213669),"
Walnut Hill Elementary School
4370 Hamilton St
Omaha, NE 68131

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Walnut Hill Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.08803558,41.20055008),"
Walt Disney Elementary School
5717 S 112th St
Omaha, NE 68137

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Walt Disney Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-90.69992065,38.81087112),"
Washington Elementary School
5519 Mayberry Street
Omaha, NE 68106

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Washington Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.05414900,41.26343000),"
Westbrook Elementary School
1312 Robertson Drive
Omaha, NE 68114

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Westbrook Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.01149750,41.27040100),"
Western Hills Elementary School
6523 Western Ave
Omaha, NE 68132

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Western Hills Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.03419495,41.23043823),"
Westgate Elementary School
7802 Hascall
Omaha, NE 68124

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Westgate Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.12001038,41.14419937),"
Westmont Elementary School
13210 Glenn St
Omaha, NE 68138

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Westmont Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.04888916,41.24866486),"
Westside High School
8701 Pacific
Omaha, NE 68114

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Westside High School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.04614258,41.23702621),"
Westside Middle School
8601 Arbor St
Omaha, NE 68124

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Westside Middle School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.19438171,41.19201660),"
Wheeler Elementary School
6707 S 178th St
Omaha, NE 68135

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Wheeler Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.12946320,41.23117828),"
Willa Cather Elementary School
3030 S 139th Plaza
Omaha, NE 68144

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Willa Cather Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.17842865,41.20660019),"
Willowdale Elementary School
16901 P St
Omaha, NE 68135

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Willowdale Elementary School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.95008087,41.21941376),"
Wilson Alternative Middle School
4116 S 26 St
Omaha, NE 68107

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Wilson Alternative Middle School",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-95.96058655,41.26189041),"
Yates Alternative Center
3260 Davenport St
Omaha, NE 68131

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Yates Alternative Center",'Omaha=' + Omaha.length); Omaha[Omaha.length] = createMarker(new GPoint(-96.14205170,41.18576050),"
Young Adult Program
12820 N Street
Omaha, NE 68137

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Young Adult Program",'Omaha=' + Omaha.length); maxLng = -90.69992065; maxLat = 41.36140060; minLng = -96.19990540; minLat = 38.81087112; reCenterMap(); } // 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(Omaha); 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(Omaha);map.removeOverlays(Omaha); map.addOverlays(Omaha); centerByArray(Omaha, false, false); cntMarker += Omaha.length; centerByArray(Omaha,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'); } }