function addMarkers() { mySelect = document.getElementById('selection'); Greensboro = [];High_Point = [];Brown_Summit = [];Colfax = [];Gibsonville = [];Greenboro = [];Jamestown = [];Summerfield = [];Mcleansville = [];Browns_Summit = [];Liberty = [];Oak_Ridge = [];Pleasant_Garden = [];Sedalia = [];Stokesdale = [];mySelect.options[mySelect.options.length] = new Option("Brown Summit schools",'all=Brown_Summit'); mySelect.options[mySelect.options.length] = new Option("Browns Summit schools",'all=Browns_Summit'); mySelect.options[mySelect.options.length] = new Option("Colfax schools",'all=Colfax'); mySelect.options[mySelect.options.length] = new Option("Gibsonville schools",'all=Gibsonville'); mySelect.options[mySelect.options.length] = new Option("Greenboro schools",'all=Greenboro'); mySelect.options[mySelect.options.length] = new Option("Greensboro schools",'all=Greensboro'); mySelect.options[mySelect.options.length] = new Option("High Point schools",'all=High_Point'); mySelect.options[mySelect.options.length] = new Option("Jamestown schools",'all=Jamestown'); mySelect.options[mySelect.options.length] = new Option("Liberty schools",'all=Liberty'); mySelect.options[mySelect.options.length] = new Option("Mcleansville schools",'all=Mcleansville'); mySelect.options[mySelect.options.length] = new Option("Oak Ridge schools",'all=Oak_Ridge'); mySelect.options[mySelect.options.length] = new Option("Pleasant Garden schools",'all=Pleasant_Garden'); mySelect.options[mySelect.options.length] = new Option("Sedalia schools",'all=Sedalia'); mySelect.options[mySelect.options.length] = new Option("Stokesdale schools",'all=Stokesdale'); mySelect.options[mySelect.options.length] = new Option("Summerfield schools",'all=Summerfield'); mySelect.options[mySelect.options.length] = new Option("---------------------------",''); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.70594025,36.01621628),"
Alamance Elementary School
3600 Williams Dairy Rd
Greensboro, NC 27406

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Alamance Elementary School",'Greensboro=' + Greensboro.length); High_Point[High_Point.length] = createMarker(new GPoint(-79.95558929,35.93131638),"
Allen Jay Elementary School
1311 E Springfield Rd
High Point, NC 27263

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Allen Jay Elementary School",'High_Point=' + High_Point.length); High_Point[High_Point.length] = createMarker(new GPoint(-79.95964813,35.92425919),"
Allen Jay Middle School
1201 E Fairfield Rd
High Point, NC 27263

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Allen Jay Middle School",'High_Point=' + High_Point.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.82369232,36.00905228),"
Allen Middle School
1108 Glendale Dr
Greensboro, NC 27406

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Allen Middle School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.83007050,36.03116608),"
Archer Elementary School
2610 Four Seasons Blvd
Greensboro, NC 27407

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Archer Elementary School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.78067780,36.08313370),"
Aycock Middle School
811 Cypress St
Greensboro, NC 27405

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Aycock Middle School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.84964752,36.03587341),"
Ben L Smith High School
2407 S Holden Rd
Greensboro, NC 27407

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Ben L Smith High School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.73934174,36.08857346),"
Bessemer Elementary School
918 Huffine Mill Rd
Greensboro, NC 27405

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Bessemer Elementary School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.76430511,36.05722046),"
Bluford Elementary School
1901 Tuscaloosa St
Greensboro, NC 27401

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Bluford Elementary School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.75534821,36.14612198),"
Brightwood Elementary School
2500 Lees Chapel Rd
Greensboro, NC 27405

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Brightwood Elementary School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.81369019,36.08659363),"
Brooks Global Elementary School
1215 Westover Ter
Greensboro, NC 27408

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Brooks Global Elementary School",'Greensboro=' + Greensboro.length); Brown_Summit[Brown_Summit.length] = createMarker(new GPoint(-10.00000000,10.00000000),"
Brown Summit Center
4720 Nc Hwy 150 East
Brown Summit, NC 27214

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Brown Summit Center",'Brown_Summit=' + Brown_Summit.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.77043915,36.09359360),"
C D Mciver Special Education
1401 Summit Ave
Greensboro, NC 27405

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("C D Mciver Special Education",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.78111267,36.10757828),"
Ceasar Cone Elementary School
2501 N Church St
Greensboro, NC 27405

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Ceasar Cone Elementary School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.81738281,36.05216217),"
Clara J Peck Elementary School
1601 W Florida St
Greensboro, NC 27403

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Clara J Peck Elementary School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.86162567,36.11099625),"
Claxton Elementary School
3720 Pinetop Rd
Greensboro, NC 27410

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Claxton Elementary School",'Greensboro=' + Greensboro.length); Colfax[Colfax.length] = createMarker(new GPoint(-80.01387024,36.11142731),"
Colfax Elementary School
9112 Us 421
Colfax, NC 27235

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Colfax Elementary School",'Colfax=' + Colfax.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.82347107,36.01315689),"
Cyrus P Frazier Elementary School
4215 Galway Dr
Greensboro, NC 27406

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Cyrus P Frazier Elementary School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.79639435,36.05514908),"
David D Jones Elementary School
502 South St
Greensboro, NC 27406

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("David D Jones Elementary School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.76549530,36.06038284),"
Dudley High School
1200 Lincoln St
Greensboro, NC 27401

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Dudley High School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.88623047,36.08948898),"
Early College At Guilford High School
5608 West Friendly Avenue
Greensboro, NC 27410

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Early College At Guilford High School",'Greensboro=' + Greensboro.length); Gibsonville[Gibsonville.length] = createMarker(new GPoint(-79.61356354,36.09298325),"
Eastern Guilford High School
415 Peeden Dr
Gibsonville, NC 27249

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Eastern Guilford High School",'Gibsonville=' + Gibsonville.length); Gibsonville[Gibsonville.length] = createMarker(new GPoint(-79.61343384,36.09492874),"
Eastern Middle School
435 Peeden Drive
Gibsonville, NC 27249

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Eastern Middle School",'Gibsonville=' + Gibsonville.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.86706543,36.04225159),"
Edwin A Alderman Elementary School
4211 Chateau Dr
Greensboro, NC 27407

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Edwin A Alderman Elementary School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.74660492,36.08466339),"
Erwin Montessori
3012 E Bessemer Ave
Greensboro, NC 27405

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Erwin Montessori",'Greensboro=' + Greensboro.length); High_Point[High_Point.length] = createMarker(new GPoint(-80.00685120,35.94813538),"
Fairview Elementary School
608 Fairview St
High Point, NC 27260

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Fairview Elementary School",'High_Point=' + High_Point.length); High_Point[High_Point.length] = createMarker(new GPoint(-80.01580811,35.95806122),"
Ferndale Middle School
701 Ferndale Blvd
High Point, NC 27262

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Ferndale Middle School",'High_Point=' + High_Point.length); High_Point[High_Point.length] = createMarker(new GPoint(-79.95718384,36.02441025),"
Florence Elementary School
7605 Florence School Rd
High Point, NC 27265

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Florence Elementary School",'High_Point=' + High_Point.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.73763275,36.08773804),"
Gateway Education Center
3205 E Wendover Ave
Greensboro, NC 27405

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Gateway Education Center",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.80137634,36.07055664),"
Gc Middle College High School
108 Odell Street
Greensboro, NC 27401

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Gc Middle College High School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.83158112,36.10248184),"
General Greene Elementary School
1501 Benjamin Pky
Greensboro, NC 27408

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("General Greene Elementary School",'Greensboro=' + Greensboro.length); Gibsonville[Gibsonville.length] = createMarker(new GPoint(-79.54423523,36.10889053),"
Gibsonville Elementary School
500 Church St
Gibsonville, NC 27249

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Gibsonville Elementary School",'Gibsonville=' + Gibsonville.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.77760315,36.01910019),"
Gillespie Park Elementary School
1900 Martin Luther King Jr Dr
Greensboro, NC 27406

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Gillespie Park Elementary School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.88500214,36.11320114),"
Greensboro Academy
4049 Us Hwy 220 N
Greensboro, NC 27410

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Greensboro Academy",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.81338501,36.08203888),"
Grimsley High School
801 Westover Ter
Greensboro, NC 27408

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Grimsley High School",'Greensboro=' + Greensboro.length); Greenboro[Greenboro.length] = createMarker(new GPoint(-79.79621400,36.07043600),"
Gtcc East Middle College High School
501 West Washington Street
Greenboro, NC 27401

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Gtcc East Middle College High School",'Greenboro=' + Greenboro.length); Jamestown[Jamestown.length] = createMarker(new GPoint(-79.91554260,35.99681854),"
Gtcc Middle College High School
601 High Point Road
Jamestown, NC 27282

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Gtcc Middle College High School",'Jamestown=' + Jamestown.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.78745270,36.18303680),"
Guilford Charter
900 Sixteenth Street
Greensboro, NC 27405

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Guilford Charter",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.89333344,36.08190155),"
Guilford Middle School
401 College Rd
Greensboro, NC 27410

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Guilford Middle School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.90467072,36.08152390),"
Guilford Primary
411 Friendway Rd
Greensboro, NC 27410

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Guilford Primary",'Greensboro=' + Greensboro.length); High_Point[High_Point.length] = createMarker(new GPoint(-80.02238464,35.95806122),"
High Point Central High School
801 Ferndale Blvd
High Point, NC 27262

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("High Point Central High School",'High_Point=' + High_Point.length); High_Point[High_Point.length] = createMarker(new GPoint(-80.00265100,35.94634100),"
High Point Gtcc Middle College
901 South Main Street
High Point, NC 27260

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("High Point Gtcc Middle College",'High_Point=' + High_Point.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.85363007,36.05332565),"
Hunter Elementary School
1305 Merritt Dr
Greensboro, NC 27407

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hunter Elementary School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.78665161,36.07303619),"
Imani Institute Charter
201 N Church Street
Greensboro, NC 27401

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Imani Institute Charter",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.81317902,36.09586334),"
Irving Park Elementary School
1310 Sunset Dr
Greensboro, NC 27408

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Irving Park Elementary School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.82669830,36.04730988),"
Jackson Middle School
2200 Ontario St
Greensboro, NC 27403

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Jackson Middle School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.81780243,36.11588287),"
James Y Joyner Elementary School
3300 Normandy Rd
Greensboro, NC 27408

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("James Y Joyner Elementary School",'Greensboro=' + Greensboro.length); Jamestown[Jamestown.length] = createMarker(new GPoint(-79.94074249,35.99425888),"
Jamestown Elementary School
108 Potter Dr
Jamestown, NC 27282

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Jamestown Elementary School",'Jamestown=' + Jamestown.length); Jamestown[Jamestown.length] = createMarker(new GPoint(-79.93577576,35.99411011),"
Jamestown Middle School
4401 Vickery Church Rd
Jamestown, NC 27282

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Jamestown Middle School",'Jamestown=' + Jamestown.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.88461304,36.10678482),"
Jefferson Elementary School
1400 New Garden Road
Greensboro, NC 27410

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Jefferson Elementary School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.83352661,36.16253662),"
Jesse Wharton Elementary School
5813 Lake Brandt Rd
Greensboro, NC 27455

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Jesse Wharton Elementary School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.83046722,36.07133865),"
John Van Lindley Elementary School
2700 Camden Rd
Greensboro, NC 27403

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("John Van Lindley Elementary School",'Greensboro=' + Greensboro.length); High_Point[High_Point.length] = createMarker(new GPoint(-75.52412415,42.53193665),"
Johnson Street Elementary School
1601 Johnson St
High Point, NC 27262

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Johnson Street Elementary School",'High_Point=' + High_Point.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.80925751,36.03832245),"
Julius I Foust Elementary School
2610 Floyd St
Greensboro, NC 27406

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Julius I Foust Elementary School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.87384796,36.13236237),"
Kernodle Middle School
3600 Drawbridge Parkway
Greensboro, NC 27410

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Kernodle Middle School",'Greensboro=' + Greensboro.length); High_Point[High_Point.length] = createMarker(new GPoint(-80.00266266,35.97443771),"
Kirkman Park Elementary School
715 E Farriss Ave
High Point, NC 27262

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Kirkman Park Elementary School",'High_Point=' + High_Point.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.81578827,36.08143997),"
Kiser Middle School
716 Benjamin Pky
Greensboro, NC 27408

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Kiser Middle School",'Greensboro=' + Greensboro.length); Summerfield[Summerfield.length] = createMarker(new GPoint(-79.90809631,36.21272659),"
Laughlin Primary
7911 Summerfield Rd
Summerfield, NC 27358

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Laughlin Primary",'Summerfield=' + Summerfield.length); High_Point[High_Point.length] = createMarker(new GPoint(-79.99118042,35.98162842),"
Laurin Welborn Middle School
1710 Mcguinn Dr
High Point, NC 27265

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Laurin Welborn Middle School",'High_Point=' + High_Point.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.76510300,36.06224400),"
Lincoln Academy
1016 Lincoln Street
Greensboro, NC 27401

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Lincoln Academy",'Greensboro=' + Greensboro.length); Jamestown[Jamestown.length] = createMarker(new GPoint(-79.91558075,35.99654388),"
Lucy Ragsdale High School
602 High Point Rd
Jamestown, NC 27282

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Lucy Ragsdale High School",'Jamestown=' + Jamestown.length); Mcleansville[Mcleansville.length] = createMarker(new GPoint(-79.69709015,36.14557266),"
Madison Elementary School
3600 Hines Chapel Rd
Mcleansville, NC 27301

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Madison Elementary School",'Mcleansville=' + Mcleansville.length); Mcleansville[Mcleansville.length] = createMarker(new GPoint(-79.66026100,36.10594500),"
Mcleansville Elementary School
5315 Frieden Church Road
Mcleansville, NC 27301

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Mcleansville Elementary School",'Mcleansville=' + Mcleansville.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.79803467,36.10956192),"
Mendenhall Middle School
205 Willoughby Blvd
Greensboro, NC 27408

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Mendenhall Middle School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.77290344,36.07059860),"
Middle College High At Bennett
600 Gorrell Street
Greensboro, NC 27406

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Middle College High At Bennett",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.77059937,36.07799911),"
Middle College High At Nc A&t
1601 East Market Street
Greensboro, NC 27411

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Middle College High At Nc A&t",'Greensboro=' + Greensboro.length); Jamestown[Jamestown.length] = createMarker(new GPoint(-79.91197205,35.99646378),"
Millis Road Elementary School
4310 Millis Rd
Jamestown, NC 27282

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Millis Road Elementary School",'Jamestown=' + Jamestown.length); Browns_Summit[Browns_Summit.length] = createMarker(new GPoint(-79.67669678,36.21928787),"
Monticello-brown Summit Elementary School
5006 Nc Highway 150 East
Browns Summit, NC 27214

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Monticello-brown Summit Elementary School",'Browns_Summit=' + Browns_Summit.length); High_Point[High_Point.length] = createMarker(new GPoint(-79.98519135,35.97621536),"
Montlieu Avenue Elementary School
1105 Montlieu Ave
High Point, NC 27262

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Montlieu Avenue Elementary School",'High_Point=' + High_Point.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.86846924,36.07920074),"
Morehead Elementary School
4630 Tower Rd
Greensboro, NC 27410

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Morehead Elementary School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.82910919,36.04668808),"
Murphey Traditional Academy
2306 Ontario St
Greensboro, NC 27403

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Murphey Traditional Academy",'Greensboro=' + Greensboro.length); Liberty[Liberty.length] = createMarker(new GPoint(-79.57196808,35.85343170),"
Nathanael Greene Elementary School
2717 Nc 62 E
Liberty, NC 27298

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Nathanael Greene Elementary School",'Liberty=' + Liberty.length); Mcleansville[Mcleansville.length] = createMarker(new GPoint(-79.67316437,36.15576172),"
Northeast Guilford High School
6700 Mcleansville Rd
Mcleansville, NC 27301

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Northeast Guilford High School",'Mcleansville=' + Mcleansville.length); Mcleansville[Mcleansville.length] = createMarker(new GPoint(-79.67385101,36.15801239),"
Northeast Guilford Middle School
6720 Mcleansville Rd
Mcleansville, NC 27301

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Northeast Guilford Middle School",'Mcleansville=' + Mcleansville.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.95452881,36.15054703),"
Northwest Guilford High School
5240 Nw School Rd
Greensboro, NC 27409

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Northwest Guilford High School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.95452881,36.15333557),"
Northwest Guilford Middle School
5300 Nw School Rd
Greensboro, NC 27409

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Northwest Guilford Middle School",'Greensboro=' + Greensboro.length); High_Point[High_Point.length] = createMarker(new GPoint(-80.03611755,35.97463608),"
Northwood Elementary School
818 W Lexington Ave
High Point, NC 27262

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Northwood Elementary School",'High_Point=' + High_Point.length); High_Point[High_Point.length] = createMarker(new GPoint(-80.02545166,35.93635178),"
Oak Hill Elementary School
320 Wrightenberry St
High Point, NC 27260

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Oak Hill Elementary School",'High_Point=' + High_Point.length); Oak_Ridge[Oak_Ridge.length] = createMarker(new GPoint(-79.99626923,36.16796494),"
Oak Ridge Elementary School
2050 Oak Ridge Rd
Oak Ridge, NC 27310

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Oak Ridge Elementary School",'Oak_Ridge=' + Oak_Ridge.length); High_Point[High_Point.length] = createMarker(new GPoint(-80.01786041,36.00012970),"
Oak View Elementary School
614 Oakview Rd
High Point, NC 27265

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Oak View Elementary School",'High_Point=' + High_Point.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.73283386,36.08075714),"
Otis L Hairston Senior Middle School
3911 Naco Road
Greensboro, NC 27401

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Otis L Hairston Senior Middle School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.78718567,36.10810852),"
Page High School
201 Alma Pinnix Dr
Greensboro, NC 27405

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Page High School",'Greensboro=' + Greensboro.length); High_Point[High_Point.length] = createMarker(new GPoint(-79.98491669,35.96921539),"
Parkview Village Elementary School
506 Henry Pl
High Point, NC 27260

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Parkview Village Elementary School",'High_Point=' + High_Point.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.76087189,36.05121231),"
Peeler Open Elementary School
2200 Randall St
Greensboro, NC 27401

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Peeler Open Elementary School",'Greensboro=' + Greensboro.length); High_Point[High_Point.length] = createMarker(new GPoint(-79.99433899,35.96226120),"
Penn-griffin Middle School
E Washington Dr
High Point, NC 27260

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Penn-griffin Middle School",'High_Point=' + High_Point.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.77290344,36.07059860),"
Philip J Weaver Ed Center
300 S Spring St
Greensboro, NC 27401

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Philip J Weaver Ed Center",'Greensboro=' + Greensboro.length); High_Point[High_Point.length] = createMarker(new GPoint(-80.00879669,36.01459885),"
Phoenix Academy Inc
4020 Meeting Way
High Point, NC 27265

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Phoenix Academy Inc",'High_Point=' + High_Point.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.89422607,36.02630234),"
Pilot Elementary School
4701 Chimney Springs Drive
Greensboro, NC 27407

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Pilot Elementary School",'Greensboro=' + Greensboro.length); Pleasant_Garden[Pleasant_Garden.length] = createMarker(new GPoint(-79.76193237,35.96276093),"
Pleasant Garden Elementary School
4833 Pleasant Garden Rd
Pleasant Garden, NC 27313

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Pleasant Garden Elementary School",'Pleasant_Garden=' + Pleasant_Garden.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.76257324,36.11984634),"
Rankin Elementary School
3301 Summit Ave
Greensboro, NC 27405

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Rankin Elementary School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.79256600,36.13385800),"
Scale School
116 Pisgah Church Road
Greensboro, NC 27455

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Scale School",'Greensboro=' + Greensboro.length); Sedalia[Sedalia.length] = createMarker(new GPoint(-79.62647247,36.06850052),"
Sedalia Elementary School
6120 Burlington Rd
Sedalia, NC 27342

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sedalia Elementary School",'Sedalia=' + Sedalia.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.86630249,36.02952576),"
Sedgefield Elementary School
2905 Groometown Rd
Greensboro, NC 27407

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sedgefield Elementary School",'Greensboro=' + Greensboro.length); High_Point[High_Point.length] = createMarker(new GPoint(-80.02693176,36.00099564),"
Shadybrook Elementary School
503 Shadybrook Dr
High Point, NC 27265

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Shadybrook Elementary School",'High_Point=' + High_Point.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.70127106,35.97696304),"
Southeast Guilford High School
4530 Se School Rd
Greensboro, NC 27406

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Southeast Guilford High School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.69618988,35.97131348),"
Southeast Guilford Middle School
4825 Woody Mill Rd
Greensboro, NC 27406

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Southeast Guilford Middle School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.85433960,35.94900513),"
Southern Elementary School
5720 Drake Rd
Greensboro, NC 27406

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Southern Elementary School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.85475159,35.95122910),"
Southern Guilford High School
5700 Drake Rd
Greensboro, NC 27406

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Southern Guilford High School",'Greensboro=' + Greensboro.length); High_Point[High_Point.length] = createMarker(new GPoint(-79.98796844,36.04867554),"
Southwest Elementary School
4372 Southwest School Rd.
High Point, NC 27265

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Southwest Elementary School",'High_Point=' + High_Point.length); High_Point[High_Point.length] = createMarker(new GPoint(-79.98965454,36.04721069),"
Southwest Guilford High School
4364 Barrow Rd
High Point, NC 27265

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Southwest Guilford High School",'High_Point=' + High_Point.length); High_Point[High_Point.length] = createMarker(new GPoint(-79.98858643,36.04817581),"
Southwest Guilford Middle School
4368 Borrow Rd
High Point, NC 27265

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Southwest Guilford Middle School",'High_Point=' + High_Point.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.84631348,36.08496857),"
Sternberger Elementary School
518 N Holden Rd
Greensboro, NC 27410

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sternberger Elementary School",'Greensboro=' + Greensboro.length); Stokesdale[Stokesdale.length] = createMarker(new GPoint(-79.98066711,36.23592758),"
Stokesdale Elementary School
8025 Us 158
Stokesdale, NC 27357

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Stokesdale Elementary School",'Stokesdale=' + Stokesdale.length); Summerfield[Summerfield.length] = createMarker(new GPoint(-79.90335083,36.19936752),"
Summerfield Elementary School
7515 Trainer Dr
Summerfield, NC 27358

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Summerfield Elementary School",'Summerfield=' + Summerfield.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.82839966,35.98578262),"
Sumner Elementary School
1915 Harris Dr
Greensboro, NC 27406

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sumner Elementary School",'Greensboro=' + Greensboro.length); High_Point[High_Point.length] = createMarker(new GPoint(-79.98926000,35.98409700),"
T Wingate Andrews High School
1920 Mcguinn Dr
High Point, NC 27265

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("T Wingate Andrews High School",'High_Point=' + High_Point.length); High_Point[High_Point.length] = createMarker(new GPoint(-80.02245331,35.95634842),"
Triangle Lake Montessori Elementary School
2401 Triangle Lake
High Point, NC 27262

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Triangle Lake Montessori Elementary School",'High_Point=' + High_Point.length); High_Point[High_Point.length] = createMarker(new GPoint(-79.95006561,35.95988846),"
Union Hill Elementary School
3523 Union Hill Ct
High Point, NC 27260

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Union Hill Elementary School",'High_Point=' + High_Point.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.77881622,36.01653671),"
Vandalia Elementary School
407 E Vandalia Rd
Greensboro, NC 27406

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Vandalia Elementary School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.75487518,36.06587982),"
W M Hampton Elementary School
2301 Trade St
Greensboro, NC 27401

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("W M Hampton Elementary School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.73456573,36.08093262),"
Waldo C Falkener Senior Elementary School
3931 Naco Road
Greensboro, NC 27401

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Waldo C Falkener Senior Elementary School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.77453613,36.06874466),"
Washington Elementary School
1110 E Washington St
Greensboro, NC 27401

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Washington Elementary School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.90467072,36.08149338),"
Western Guilford High School
409 Friendway Rd
Greensboro, NC 27410

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Western Guilford High School",'Greensboro=' + Greensboro.length); Greensboro[Greensboro.length] = createMarker(new GPoint(-79.80193329,36.04823685),"
Wiley Accel/enrichment Elementary School
600 W Terrell St
Greensboro, NC 27406

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Wiley Accel/enrichment Elementary School",'Greensboro=' + Greensboro.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(Brown_Summit); map.removeOverlays(Browns_Summit); map.removeOverlays(Colfax); map.removeOverlays(Gibsonville); map.removeOverlays(Greenboro); map.removeOverlays(Greensboro); map.removeOverlays(High_Point); map.removeOverlays(Jamestown); map.removeOverlays(Liberty); map.removeOverlays(Mcleansville); map.removeOverlays(Oak_Ridge); map.removeOverlays(Pleasant_Garden); map.removeOverlays(Sedalia); map.removeOverlays(Stokesdale); map.removeOverlays(Summerfield); 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(Greensboro);map.removeOverlays(Brown_Summit); map.removeOverlays(Browns_Summit); map.removeOverlays(Colfax); map.removeOverlays(Gibsonville); map.removeOverlays(Greenboro); map.removeOverlays(Greensboro); map.removeOverlays(High_Point); map.removeOverlays(Jamestown); map.removeOverlays(Liberty); map.removeOverlays(Mcleansville); map.removeOverlays(Oak_Ridge); map.removeOverlays(Pleasant_Garden); map.removeOverlays(Sedalia); map.removeOverlays(Stokesdale); map.removeOverlays(Summerfield); map.addOverlays(Brown_Summit); centerByArray(Brown_Summit, false, false); cntMarker += Brown_Summit.length; map.addOverlays(Browns_Summit); centerByArray(Browns_Summit, false, false); cntMarker += Browns_Summit.length; map.addOverlays(Colfax); centerByArray(Colfax, false, false); cntMarker += Colfax.length; map.addOverlays(Gibsonville); centerByArray(Gibsonville, false, false); cntMarker += Gibsonville.length; map.addOverlays(Greenboro); centerByArray(Greenboro, false, false); cntMarker += Greenboro.length; map.addOverlays(Greensboro); centerByArray(Greensboro, false, false); cntMarker += Greensboro.length; map.addOverlays(High_Point); centerByArray(High_Point, false, false); cntMarker += High_Point.length; map.addOverlays(Jamestown); centerByArray(Jamestown, false, false); cntMarker += Jamestown.length; map.addOverlays(Liberty); centerByArray(Liberty, false, false); cntMarker += Liberty.length; map.addOverlays(Mcleansville); centerByArray(Mcleansville, false, false); cntMarker += Mcleansville.length; map.addOverlays(Oak_Ridge); centerByArray(Oak_Ridge, false, false); cntMarker += Oak_Ridge.length; map.addOverlays(Pleasant_Garden); centerByArray(Pleasant_Garden, false, false); cntMarker += Pleasant_Garden.length; map.addOverlays(Sedalia); centerByArray(Sedalia, false, false); cntMarker += Sedalia.length; map.addOverlays(Stokesdale); centerByArray(Stokesdale, false, false); cntMarker += Stokesdale.length; map.addOverlays(Summerfield); centerByArray(Summerfield, false, false); cntMarker += Summerfield.length; centerByArray(Greensboro,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'); } }