function addMarkers() { mySelect = document.getElementById('selection'); Longwood = [];Sanford = [];Winter_Springs = [];Altamonte_Springs = [];Apopka = [];Oviedo = [];Casselberry = [];Lake_Mary = [];Winter_Park = [];Fern_Park = [];Geneva = [];Chuluota = [];mySelect.options[mySelect.options.length] = new Option("Altamonte Springs schools",'all=Altamonte_Springs'); mySelect.options[mySelect.options.length] = new Option("Apopka schools",'all=Apopka'); mySelect.options[mySelect.options.length] = new Option("Casselberry schools",'all=Casselberry'); mySelect.options[mySelect.options.length] = new Option("Chuluota schools",'all=Chuluota'); mySelect.options[mySelect.options.length] = new Option("Fern Park schools",'all=Fern_Park'); mySelect.options[mySelect.options.length] = new Option("Geneva schools",'all=Geneva'); mySelect.options[mySelect.options.length] = new Option("Lake Mary schools",'all=Lake_Mary'); mySelect.options[mySelect.options.length] = new Option("Longwood schools",'all=Longwood'); mySelect.options[mySelect.options.length] = new Option("Oviedo schools",'all=Oviedo'); mySelect.options[mySelect.options.length] = new Option("Sanford schools",'all=Sanford'); mySelect.options[mySelect.options.length] = new Option("Winter Park schools",'all=Winter_Park'); mySelect.options[mySelect.options.length] = new Option("Winter Springs schools",'all=Winter_Springs'); mySelect.options[mySelect.options.length] = new Option("---------------------------",''); Longwood[Longwood.length] = createMarker(new GPoint(-81.33161163,28.69803619),"
Acs Annex
851 East Senior 434
Longwood, FL 32750

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Acs Annex",'Longwood=' + Longwood.length); Sanford[Sanford.length] = createMarker(new GPoint(-81.25194550,28.77374268),"
Acs Consequence Unit
3026 Carrier Ave Bldg 439
Sanford, FL 32773

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Acs Consequence Unit",'Sanford=' + Sanford.length); Longwood[Longwood.length] = createMarker(new GPoint(-81.33819580,28.70307922),"
Acs First Step Iv
851 E State Road 434, S-1
Longwood, FL 32750

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Acs First Step Iv",'Longwood=' + Longwood.length); Sanford[Sanford.length] = createMarker(new GPoint(-81.26803400,28.81403000),"
Acs Goals Ii
401 Pecan Street
Sanford, FL 32771

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Acs Goals Ii",'Sanford=' + Sanford.length); Winter_Springs[Winter_Springs.length] = createMarker(new GPoint(-81.30067444,28.70708656),"
Acs Grove
480 Old Sanfordoviedo Rd
Winter Springs, FL 32708

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Acs Grove",'Winter_Springs=' + Winter_Springs.length); Sanford[Sanford.length] = createMarker(new GPoint(-81.29421997,28.75759315),"
Acs Seminole Alternatives
520 W Lake Mary Boulevard
Sanford, FL 32773

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Acs Seminole Alternatives",'Sanford=' + Sanford.length); Altamonte_Springs[Altamonte_Springs.length] = createMarker(new GPoint(-81.37268829,28.68023682),"
Altamonte Elementary School
525 Pineview Street
Altamonte Springs, FL 32701

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Altamonte Elementary School",'Altamonte_Springs=' + Altamonte_Springs.length); Apopka[Apopka.length] = createMarker(new GPoint(-81.44659424,28.66663742),"
Bear Lake Elementary School
3399 Gleaves Court
Apopka, FL 32703

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Bear Lake Elementary School",'Apopka=' + Apopka.length); Sanford[Sanford.length] = createMarker(new GPoint(-81.32967377,28.79366684),"
Bentley Elementary School
2190 Oregon Avenue
Sanford, FL 32771

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Bentley Elementary School",'Sanford=' + Sanford.length); Sanford[Sanford.length] = createMarker(new GPoint(-81.26475525,28.76386261),"
Boys Town
400 E Lake Mary Boulevard
Sanford, FL 32773

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Boys Town",'Sanford=' + Sanford.length); Oviedo[Oviedo.length] = createMarker(new GPoint(-81.18050385,28.62317085),"
Carillon Elementary School
3200 Lockwood Boulevard
Oviedo, FL 32765

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Carillon Elementary School",'Oviedo=' + Oviedo.length); Casselberry[Casselberry.length] = createMarker(new GPoint(-81.31529236,28.66166687),"
Casselberry Elementary School
1075 Crystal Bowl Circle
Casselberry, FL 32707

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Casselberry Elementary School",'Casselberry=' + Casselberry.length); Oviedo[Oviedo.length] = createMarker(new GPoint(-81.17984009,28.62478447),"
Chiles Middle School
1240 Sanctuary Drive
Oviedo, FL 32766

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Chiles Middle School",'Oviedo=' + Oviedo.length); Longwood[Longwood.length] = createMarker(new GPoint(-81.36001587,28.68393517),"
Choices In Learning Charter
893 E State Road 434
Longwood, FL 32750

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Choices In Learning Charter",'Longwood=' + Longwood.length); Sanford[Sanford.length] = createMarker(new GPoint(-81.28187561,28.75823975),"
Contracted Services
400 East Lake Mary Boulev
Sanford, FL 32773

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Contracted Services",'Sanford=' + Sanford.length); Sanford[Sanford.length] = createMarker(new GPoint(-81.28975677,28.80083656),"
Crooms Academy/info Technology High School
2200 W 13th Street
Sanford, FL 32771

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Crooms Academy/info Technology High School",'Sanford=' + Sanford.length); Sanford[Sanford.length] = createMarker(new GPoint(-81.29952240,28.78661537),"
Cyber High Charter School (inac
2720 West 25th Street
Sanford, FL 32771

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Cyber High Charter School (inac",'Sanford=' + Sanford.length); Lake_Mary[Lake_Mary.length] = createMarker(new GPoint(-81.31800079,28.75860023),"
Devon Charter School (inactive
P. O. Box 952949
Lake Mary, FL 32795

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Devon Charter School (inactive",'Lake_Mary=' + Lake_Mary.length); Winter_Park[Winter_Park.length] = createMarker(new GPoint(-81.29484558,28.62009048),"
Eastbrook Elementary School
5525 Tangerine Avenue
Winter Park, FL 32792

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Eastbrook Elementary School",'Winter_Park=' + Winter_Park.length); Fern_Park[Fern_Park.length] = createMarker(new GPoint(-81.34049225,28.64717293),"
English Estates Elementary School
299 Oxford Road
Fern Park, FL 32730

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("English Estates Elementary School",'Fern_Park=' + Fern_Park.length); Oviedo[Oviedo.length] = createMarker(new GPoint(-81.20444489,28.64123726),"
Evans Elementary School
100 E. Chapman Road
Oviedo, FL 32765

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Evans Elementary School",'Oviedo=' + Oviedo.length); Altamonte_Springs[Altamonte_Springs.length] = createMarker(new GPoint(-81.42325592,28.67996216),"
Forest City Elementary School
1010 Sand Lake Road
Altamonte Springs, FL 32714

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Forest City Elementary School",'Altamonte_Springs=' + Altamonte_Springs.length); Geneva[Geneva.length] = createMarker(new GPoint(-81.11506653,28.73911667),"
Geneva Elementary School
275 1st Street
Geneva, FL 32732

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Geneva Elementary School",'Geneva=' + Geneva.length); Sanford[Sanford.length] = createMarker(new GPoint(-81.28105164,28.79386330),"
Goldsboro Elementary School
1300 W 20th Street
Sanford, FL 32771

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Goldsboro Elementary School",'Sanford=' + Sanford.length); Lake_Mary[Lake_Mary.length] = createMarker(new GPoint(-81.33975220,28.74459457),"
Greenwood Lakes Middle School
601 Lake Park Drive
Lake Mary, FL 32746

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Greenwood Lakes Middle School",'Lake_Mary=' + Lake_Mary.length); Winter_Springs[Winter_Springs.length] = createMarker(new GPoint(-81.30162811,28.70736885),"
Grove Unique Youth Services (g.u.y.s.)
580 Old Sanfordoviedo Rd
Winter Springs, FL 32708

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Grove Unique Youth Services (g.u.y.s.)",'Winter_Springs=' + Winter_Springs.length); Oviedo[Oviedo.length] = createMarker(new GPoint(-81.17944100,28.62525100),"
Hagerty High School
3225 Lockwood Blvd
Oviedo, FL 32765

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Hagerty High School",'Oviedo=' + Oviedo.length); Sanford[Sanford.length] = createMarker(new GPoint(-81.25417328,28.80526352),"
Hamilton Elementary School
1501 E 8th Street
Sanford, FL 32771

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hamilton Elementary School",'Sanford=' + Sanford.length); Lake_Mary[Lake_Mary.length] = createMarker(new GPoint(-81.38484955,28.78228760),"
Heathrow Elementary School
5715 Markham Woods Road
Lake Mary, FL 32746

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Heathrow Elementary School",'Lake_Mary=' + Lake_Mary.length); Winter_Springs[Winter_Springs.length] = createMarker(new GPoint(-81.31658936,28.71552467),"
Highlands Elementary School
1600 Shepard Road
Winter Springs, FL 32708

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Highlands Elementary School",'Winter_Springs=' + Winter_Springs.length); Sanford[Sanford.length] = createMarker(new GPoint(-81.25784302,28.80254364),"
Hopper Center
1101 Bay Avenue
Sanford, FL 32771

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Hopper Center",'Sanford=' + Sanford.length); Sanford[Sanford.length] = createMarker(new GPoint(-81.28187561,28.75823975),"
Hospital Homebound Program
400 East Lake Mary Boulev
Sanford, FL 32773

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Hospital Homebound Program",'Sanford=' + Sanford.length); Sanford[Sanford.length] = createMarker(new GPoint(-81.30844879,28.79306412),"
Idyllwilde Elementary School
430 Vihlen Road
Sanford, FL 32771

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Idyllwilde Elementary School",'Sanford=' + Sanford.length); Winter_Springs[Winter_Springs.length] = createMarker(new GPoint(-81.26376343,28.69155121),"
Indian Trails Middle School
415 Tuskawilla Road
Winter Springs, FL 32708

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Indian Trails Middle School",'Winter_Springs=' + Winter_Springs.length); Oviedo[Oviedo.length] = createMarker(new GPoint(-81.19545746,28.66994476),"
Jackson Heights Middle School
141 Academy Avenue
Oviedo, FL 32765

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Jackson Heights Middle School",'Oviedo=' + Oviedo.length); Sanford[Sanford.length] = createMarker(new GPoint(-81.28187561,28.75823975),"
John Polk Alternative School
400 East Lake Mary Boulev
Sanford, FL 32773

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("John Polk Alternative School",'Sanford=' + Sanford.length); Winter_Springs[Winter_Springs.length] = createMarker(new GPoint(-81.26381683,28.69130707),"
Keeth Elementary School
425 Tuskawilla Road
Winter Springs, FL 32708

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Keeth Elementary School",'Winter_Springs=' + Winter_Springs.length); Altamonte_Springs[Altamonte_Springs.length] = createMarker(new GPoint(-81.42285919,28.68023682),"
Lake Brantley High School
991 Sand Lake Road
Altamonte Springs, FL 32714

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Lake Brantley High School",'Altamonte_Springs=' + Altamonte_Springs.length); Winter_Park[Winter_Park.length] = createMarker(new GPoint(-81.27175140,28.63693619),"
Lake Howell High School
4200 Dike Road
Winter Park, FL 32792

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Lake Howell High School",'Winter_Park=' + Winter_Park.length); Lake_Mary[Lake_Mary.length] = createMarker(new GPoint(-81.32215881,28.75601578),"
Lake Mary Elementary School
132 S. Country Club Road
Lake Mary, FL 32746

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Lake Mary Elementary School",'Lake_Mary=' + Lake_Mary.length); Lake_Mary[Lake_Mary.length] = createMarker(new GPoint(-81.33435822,28.73574066),"
Lake Mary High School
655 Longwood-lake Mary Rd
Lake Mary, FL 32746

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Lake Mary High School",'Lake_Mary=' + Lake_Mary.length); Altamonte_Springs[Altamonte_Springs.length] = createMarker(new GPoint(-81.37014008,28.65042686),"
Lake Orienta Elementary School
612 Newport Avenue
Altamonte Springs, FL 32701

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Lake Orienta Elementary School",'Altamonte_Springs=' + Altamonte_Springs.length); Oviedo[Oviedo.length] = createMarker(new GPoint(-81.20965576,28.66803932),"
Lawton Elementary School
151 Graham Avenue
Oviedo, FL 32765

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Lawton Elementary School",'Oviedo=' + Oviedo.length); Winter_Springs[Winter_Springs.length] = createMarker(new GPoint(-81.29495200,28.70447800),"
Layer Elementary School
4201 Sr 419
Winter Springs, FL 32708

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Layer Elementary School",'Winter_Springs=' + Winter_Springs.length); Longwood[Longwood.length] = createMarker(new GPoint(-81.33115387,28.70370483),"
Longwood Elementary School
840 Orange Avenue
Longwood, FL 32750

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Longwood Elementary School",'Longwood=' + Longwood.length); Longwood[Longwood.length] = createMarker(new GPoint(-81.34543500,28.68785300),"
Lyman High School
865 S Ronald Reagan Blvd
Longwood, FL 32750

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Lyman High School",'Longwood=' + Longwood.length); Sanford[Sanford.length] = createMarker(new GPoint(-81.22784424,28.78983879),"
Midway Elementary School
2251 Jitway
Sanford, FL 32771

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Midway Elementary School",'Sanford=' + Sanford.length); Sanford[Sanford.length] = createMarker(new GPoint(-81.28354645,28.77626801),"
Millennium Middle School
21 Lakeview Ave
Sanford, FL 32773

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Millennium Middle School",'Sanford=' + Sanford.length); Longwood[Longwood.length] = createMarker(new GPoint(-81.34706879,28.68078423),"
Milwee Middle School
1341 S Ronald Reagan Blvd
Longwood, FL 32750

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Milwee Middle School",'Longwood=' + Longwood.length); Oviedo[Oviedo.length] = createMarker(new GPoint(-81.21801758,28.67233658),"
Oviedo High School
601 King Street
Oviedo, FL 32765

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Oviedo High School",'Oviedo=' + Oviedo.length); Oviedo[Oviedo.length] = createMarker(new GPoint(-81.15682983,28.64972496),"
Partin Elementary School
1500 Twin Rivers Blvd
Oviedo, FL 32765

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Partin Elementary School",'Oviedo=' + Oviedo.length); Sanford[Sanford.length] = createMarker(new GPoint(-81.27144400,28.77830200),"
Pine Crest Elementary School
405 W 27th Street
Sanford, FL 32773

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Pine Crest Elementary School",'Sanford=' + Sanford.length); Sanford[Sanford.length] = createMarker(new GPoint(-81.29758000,28.78551200),"
Quest Academy
1626 West Airport Blvd.
Sanford, FL 32733

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Quest Academy",'Sanford=' + Sanford.length); Winter_Springs[Winter_Springs.length] = createMarker(new GPoint(-81.25331879,28.65151405),"
Rainbow Elementary School
1412 Rainbow Trail
Winter Springs, FL 32708

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Rainbow Elementary School",'Winter_Springs=' + Winter_Springs.length); Sanford[Sanford.length] = createMarker(new GPoint(-81.29766846,28.78839684),"
Rays Of Hope Charter School
1780 Airport Boulevard
Sanford, FL 32771

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Rays Of Hope Charter School",'Sanford=' + Sanford.length); Casselberry[Casselberry.length] = createMarker(new GPoint(-81.30010223,28.64710045),"
Red Bug Elementary School
4000 Red Bug Lake Rd
Casselberry, FL 32707

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Red Bug Elementary School",'Casselberry=' + Casselberry.length); Longwood[Longwood.length] = createMarker(new GPoint(-81.37064362,28.70347786),"
Rock Lake Middle School
250 Slade Drive
Longwood, FL 32750

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Rock Lake Middle School",'Longwood=' + Longwood.length); Altamonte_Springs[Altamonte_Springs.length] = createMarker(new GPoint(-81.35420990,28.66863632),"
Rosenwald Center
1096 Merritt Street
Altamonte Springs, FL 32701

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Rosenwald Center",'Altamonte_Springs=' + Altamonte_Springs.length); Longwood[Longwood.length] = createMarker(new GPoint(-81.41909790,28.70270729),"
Sabal Point Elementary School
960 Wekiva Springs Road
Longwood, FL 32779

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sabal Point Elementary School",'Longwood=' + Longwood.length); Sanford[Sanford.length] = createMarker(new GPoint(-81.27325439,28.79677391),"
Sanford Middle School
1700 S French Avenue
Sanford, FL 32771

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Sanford Middle School",'Sanford=' + Sanford.length); Sanford[Sanford.length] = createMarker(new GPoint(-81.29917145,28.74411964),"
Seminole County Detention Center
200 Bush Boulevard
Sanford, FL 32773

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Seminole County Detention Center",'Sanford=' + Sanford.length); Sanford[Sanford.length] = createMarker(new GPoint(-84.81507400,33.96284000),"
Seminole County Superintendent's Office
6400 East Lake Mary Blvd
Sanford, FL 32773

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Seminole County Superintendent's Office",'Sanford=' + Sanford.length); Sanford[Sanford.length] = createMarker(new GPoint(-81.28354645,28.78105736),"
Seminole High School
2701 Ridgewood Avenue
Sanford, FL 32773

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Seminole High School",'Sanford=' + Sanford.length); Sanford[Sanford.length] = createMarker(new GPoint(-81.28187561,28.75823975),"
South Seminole Hospital
400 East Lake Mary Blvd.
Sanford, FL 32773

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("South Seminole Hospital",'Sanford=' + Sanford.length); Casselberry[Casselberry.length] = createMarker(new GPoint(-81.31994629,28.66215134),"
South Seminole Middle School
101 S Winter Park Drive
Casselberry, FL 32707

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("South Seminole Middle School",'Casselberry=' + Casselberry.length); Altamonte_Springs[Altamonte_Springs.length] = createMarker(new GPoint(-81.41115570,28.66166306),"
Spring Lake Elementary School
695 Orange Avenue
Altamonte Springs, FL 32714

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Spring Lake Elementary School",'Altamonte_Springs=' + Altamonte_Springs.length); Oviedo[Oviedo.length] = createMarker(new GPoint(-81.18981934,28.65448761),"
Stenstrom Elementary School
1800 Alafaya Woods Boulev
Oviedo, FL 32765

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Stenstrom Elementary School",'Oviedo=' + Oviedo.length); Casselberry[Casselberry.length] = createMarker(new GPoint(-81.30823517,28.65276909),"
Sterling Park Elementary School
905 Eagle Circle, S
Casselberry, FL 32707

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sterling Park Elementary School",'Casselberry=' + Casselberry.length); Sanford[Sanford.length] = createMarker(new GPoint(-81.25539398,28.80192566),"
Tapp Childcare Center
1211 Mellonville Avenue
Sanford, FL 32771

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Tapp Childcare Center",'Sanford=' + Sanford.length); Altamonte_Springs[Altamonte_Springs.length] = createMarker(new GPoint(-81.43399048,28.65653610),"
Teague Middle School
1350 Mcneil Road
Altamonte Springs, FL 32714

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Teague Middle School",'Altamonte_Springs=' + Altamonte_Springs.length); Oviedo[Oviedo.length] = createMarker(new GPoint(-81.26614380,28.63526344),"
Tuskawilla Middle School
1801 Tuskawilla Road
Oviedo, FL 32765

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Tuskawilla Middle School",'Oviedo=' + Oviedo.length); Sanford[Sanford.length] = createMarker(new GPoint(-81.26313782,28.74223709),"
Ucp Seminole Child Development Elementary School
301 Oak Street
Sanford, FL 32771

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Ucp Seminole Child Development Elementary School",'Sanford=' + Sanford.length); Chuluota[Chuluota.length] = createMarker(new GPoint(-81.12262600,28.64891300),"
Walker Elementary School
3101 Snow Hill Road
Chuluota, FL 32766

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Walker Elementary School",'Chuluota=' + Chuluota.length); Longwood[Longwood.length] = createMarker(new GPoint(-81.44117737,28.68840218),"
Wekiva Elementary School
1450 E Wekiva Trail
Longwood, FL 32779

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Wekiva Elementary School",'Longwood=' + Longwood.length); Sanford[Sanford.length] = createMarker(new GPoint(-81.29506683,28.77779198),"
Wicklow Elementary School
100 Placid Lake Drive
Sanford, FL 32771

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Wicklow Elementary School",'Sanford=' + Sanford.length); Sanford[Sanford.length] = createMarker(new GPoint(-81.36283875,28.80070686),"
Wilson Elementary School
985 Orange Boulevard
Sanford, FL 32771

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Wilson Elementary School",'Sanford=' + Sanford.length); Winter_Springs[Winter_Springs.length] = createMarker(new GPoint(-81.31234741,28.69794846),"
Winter Springs Elementary School
701 W State Road 434
Winter Springs, FL 32708

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Winter Springs Elementary School",'Winter_Springs=' + Winter_Springs.length); Winter_Springs[Winter_Springs.length] = createMarker(new GPoint(-81.25942230,28.70185661),"
Winter Springs High School
130 Tuskawilla Road
Winter Springs, FL 32708

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Winter Springs High School",'Winter_Springs=' + Winter_Springs.length); Longwood[Longwood.length] = createMarker(new GPoint(-81.37235260,28.71303749),"
Woodlands Elementary School
1420 E.e. Williamson Road
Longwood, FL 32750

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Woodlands Elementary School",'Longwood=' + Longwood.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(Altamonte_Springs); map.removeOverlays(Apopka); map.removeOverlays(Casselberry); map.removeOverlays(Chuluota); map.removeOverlays(Fern_Park); map.removeOverlays(Geneva); map.removeOverlays(Lake_Mary); map.removeOverlays(Longwood); map.removeOverlays(Oviedo); map.removeOverlays(Sanford); map.removeOverlays(Winter_Park); map.removeOverlays(Winter_Springs); 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(Longwood);map.removeOverlays(Altamonte_Springs); map.removeOverlays(Apopka); map.removeOverlays(Casselberry); map.removeOverlays(Chuluota); map.removeOverlays(Fern_Park); map.removeOverlays(Geneva); map.removeOverlays(Lake_Mary); map.removeOverlays(Longwood); map.removeOverlays(Oviedo); map.removeOverlays(Sanford); map.removeOverlays(Winter_Park); map.removeOverlays(Winter_Springs); map.addOverlays(Altamonte_Springs); centerByArray(Altamonte_Springs, false, false); cntMarker += Altamonte_Springs.length; map.addOverlays(Apopka); centerByArray(Apopka, false, false); cntMarker += Apopka.length; map.addOverlays(Casselberry); centerByArray(Casselberry, false, false); cntMarker += Casselberry.length; map.addOverlays(Chuluota); centerByArray(Chuluota, false, false); cntMarker += Chuluota.length; map.addOverlays(Fern_Park); centerByArray(Fern_Park, false, false); cntMarker += Fern_Park.length; map.addOverlays(Geneva); centerByArray(Geneva, false, false); cntMarker += Geneva.length; map.addOverlays(Lake_Mary); centerByArray(Lake_Mary, false, false); cntMarker += Lake_Mary.length; map.addOverlays(Longwood); centerByArray(Longwood, false, false); cntMarker += Longwood.length; map.addOverlays(Oviedo); centerByArray(Oviedo, false, false); cntMarker += Oviedo.length; map.addOverlays(Sanford); centerByArray(Sanford, false, false); cntMarker += Sanford.length; map.addOverlays(Winter_Park); centerByArray(Winter_Park, false, false); cntMarker += Winter_Park.length; map.addOverlays(Winter_Springs); centerByArray(Winter_Springs, false, false); cntMarker += Winter_Springs.length; centerByArray(Longwood,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'); } }