function addMarkers() { mySelect = document.getElementById('selection'); Fort_Myers = [];Alva = [];North_Ft_Myers = [];Bonita_Springs = [];Cape_Coral = [];Lehigh_Acres = [];Ft_Myers = [];North_Fort_Myers = [];Estero = [];Fort_Myers_Beach = [];Bookelia = [];Sanibel = [];mySelect.options[mySelect.options.length] = new Option("Alva schools",'all=Alva'); mySelect.options[mySelect.options.length] = new Option("Bonita Springs schools",'all=Bonita_Springs'); mySelect.options[mySelect.options.length] = new Option("Bookelia schools",'all=Bookelia'); mySelect.options[mySelect.options.length] = new Option("Cape Coral schools",'all=Cape_Coral'); mySelect.options[mySelect.options.length] = new Option("Estero schools",'all=Estero'); mySelect.options[mySelect.options.length] = new Option("Fort Myers schools",'all=Fort_Myers'); mySelect.options[mySelect.options.length] = new Option("Fort Myers Beach schools",'all=Fort_Myers_Beach'); mySelect.options[mySelect.options.length] = new Option("Ft Myers schools",'all=Ft_Myers'); mySelect.options[mySelect.options.length] = new Option("Lehigh Acres schools",'all=Lehigh_Acres'); mySelect.options[mySelect.options.length] = new Option("North Fort Myers schools",'all=North_Fort_Myers'); mySelect.options[mySelect.options.length] = new Option("North Ft Myers schools",'all=North_Ft_Myers'); mySelect.options[mySelect.options.length] = new Option("Sanibel schools",'all=Sanibel'); mySelect.options[mySelect.options.length] = new Option("---------------------------",''); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.87714386,26.61587143),"
Allen Park Elementary School
3345 Canelo Drive
Fort Myers, FL 33901

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Allen Park Elementary School",'Fort_Myers=' + Fort_Myers.length); Alva[Alva.length] = createMarker(new GPoint(-81.61199951,26.70689964),"
Alva Elementary School
17500 Church Ave
Alva, FL 33920

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Alva Elementary School",'Alva=' + Alva.length); Alva[Alva.length] = createMarker(new GPoint(-81.61199951,26.70689964),"
Alva Middle School
21219 N River Road
Alva, FL 33920

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Alva Middle School",'Alva=' + Alva.length); North_Ft_Myers[North_Ft_Myers.length] = createMarker(new GPoint(-81.84214783,26.71133995),"
Bayshore Elementary School
17050 Williams Road
North Ft Myers, FL 33917

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Bayshore Elementary School",'North_Ft_Myers=' + North_Ft_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.79907990,26.36815262),"
Bonita Springs Charter School
2055 Central Avenue
Fort Myers, FL 33901

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Bonita Springs Charter School",'Fort_Myers=' + Fort_Myers.length); Bonita_Springs[Bonita_Springs.length] = createMarker(new GPoint(-81.77545166,26.33485031),"
Bonita Springs Elementary School
10701 Dean Street
Bonita Springs, FL 34135

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Bonita Springs Elementary School",'Bonita_Springs=' + Bonita_Springs.length); Bonita_Springs[Bonita_Springs.length] = createMarker(new GPoint(-81.78581238,26.34563637),"
Bonita Springs Middle School
10141 W Terry Street
Bonita Springs, FL 34135

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Bonita Springs Middle School",'Bonita_Springs=' + Bonita_Springs.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.72773743,26.69632912),"
Buckingham Excep. Student Center
3291 Buckingham Road
Fort Myers, FL 33905

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Buckingham Excep. Student Center",'Fort_Myers=' + Fort_Myers.length); Cape_Coral[Cape_Coral.length] = createMarker(new GPoint(-81.94105530,26.64014244),"
Caloosa Elementary School
620 S Del Prado Boulevard
Cape Coral, FL 33990

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Caloosa Elementary School",'Cape_Coral=' + Cape_Coral.length); Cape_Coral[Cape_Coral.length] = createMarker(new GPoint(-81.94105530,26.64028549),"
Caloosa Middle School
610 S Del Prado Boulevard
Cape Coral, FL 33990

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Caloosa Middle School",'Cape_Coral=' + Cape_Coral.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.86413600,26.63906200),"
Cape Coral Charter School
2055 Central Avenue
Fort Myers, FL 33901

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Cape Coral Charter School",'Fort_Myers=' + Fort_Myers.length); Cape_Coral[Cape_Coral.length] = createMarker(new GPoint(-10.00000000,10.00000000),"
Cape Coral High School
2300 Santa Barbara Boulev
Cape Coral, FL 33991

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Cape Coral High School",'Cape_Coral=' + Cape_Coral.length); Cape_Coral[Cape_Coral.length] = createMarker(new GPoint(-81.94984436,26.56849289),"
Cape Elementary School
4519 Vincennes Boulevard
Cape Coral, FL 33904

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Cape Elementary School",'Cape_Coral=' + Cape_Coral.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.86413600,26.63906200),"
City Of Cape Coral Charter School South
2055 Central Avenue
Fort Myers, FL 33901

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("City Of Cape Coral Charter School South",'Fort_Myers=' + Fort_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.86171722,26.63693619),"
Co-wide Exceptional Child Programs
2523 Market Street
Fort Myers, FL 33901

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Co-wide Exceptional Child Programs",'Fort_Myers=' + Fort_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.84155273,26.60484123),"
Colonial Elementary School
3800 Schoolhouse Road E
Fort Myers, FL 33916

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Colonial Elementary School",'Fort_Myers=' + Fort_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.90191900,26.55353600),"
Cypress Lake Center For Arts
6740 Panther Lane
Fort Myers, FL 33919

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Cypress Lake Center For Arts",'Fort_Myers=' + Fort_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.90075684,26.54224205),"
Cypress Lake High School
6750 Panther Lane
Fort Myers, FL 33919

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Cypress Lake High School",'Fort_Myers=' + Fort_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.90244293,26.54566383),"
Cypress Lake Middle School
8901 Cypress Lake Drive
Fort Myers, FL 33919

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Cypress Lake Middle School",'Fort_Myers=' + Fort_Myers.length); Cape_Coral[Cape_Coral.length] = createMarker(new GPoint(-81.95023346,26.68389130),"
Diplomat Elementary School
1115 Ne 16th Terrace
Cape Coral, FL 33909

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Diplomat Elementary School",'Cape_Coral=' + Cape_Coral.length); Cape_Coral[Cape_Coral.length] = createMarker(new GPoint(-81.95161438,26.68392563),"
Diplomat Middle School
1039 Ne 16th Terrace
Cape Coral, FL 33909

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Diplomat Middle School",'Cape_Coral=' + Cape_Coral.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.83574677,26.63376236),"
Dunbar High School
3800 E Edison Avenue
Fort Myers, FL 33916

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Dunbar High School",'Fort_Myers=' + Fort_Myers.length); Lehigh_Acres[Lehigh_Acres.length] = createMarker(new GPoint(-81.64891300,26.60823500),"
East Lee County High School
1200 Homestead Rd
Lehigh Acres, FL 33936

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("East Lee County High School",'Lehigh_Acres=' + Lehigh_Acres.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.84446716,26.66144180),"
Edgewood Renaissance Academy
3464 Edgewood Avenue
Fort Myers, FL 33916

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Edgewood Renaissance Academy",'Fort_Myers=' + Fort_Myers.length); Ft_Myers[Ft_Myers.length] = createMarker(new GPoint(-81.87636566,26.63287163),"
Edison Park Creative & Expressive Arts School (for
2401 Euclid Avenue
Ft. Myers, FL 33901

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Edison Park Creative & Expressive Arts School (for",'Ft_Myers=' + Ft_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.87290192,26.62059975),"
Edison Pk. Creative/expressive Elementary School
2401 Euclid Avenue
Fort Myers, FL 33901

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Edison Pk. Creative/expressive Elementary School",'Fort_Myers=' + Fort_Myers.length); North_Fort_Myers[North_Fort_Myers.length] = createMarker(new GPoint(-81.91130066,26.69389915),"
Elementary Q School
1858 Arts Way
North Fort Myers, FL 33903

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Elementary Q School",'North_Fort_Myers=' + North_Fort_Myers.length); Estero[Estero.length] = createMarker(new GPoint(-81.79470825,26.42186928),"
Estero High School
21900 River Ranch Road
Estero, FL 33928

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Estero High School",'Estero=' + Estero.length); Fort_Myers_Beach[Fort_Myers_Beach.length] = createMarker(new GPoint(-81.93920135,26.44858742),"
Fort Myers Beach Elementary School
2751 Oak Street
Fort Myers Beach, FL 33931

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Fort Myers Beach Elementary School",'Fort_Myers_Beach=' + Fort_Myers_Beach.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.87866211,26.62881279),"
Fort Myers High Edison Center
2645 Cortez Boulevard
Fort Myers, FL 33901

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Fort Myers High Edison Center",'Fort_Myers=' + Fort_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.87774658,26.62899590),"
Fort Myers High School
2635 Cortez Boulevard
Fort Myers, FL 33901

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Fort Myers High School",'Fort_Myers=' + Fort_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.86420441,26.62138557),"
Fort Myers Middle Academy
3050 Central Avenue
Fort Myers, FL 33901

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Fort Myers Middle Academy",'Fort_Myers=' + Fort_Myers.length); Ft_Myers[Ft_Myers.length] = createMarker(new GPoint(-81.86420441,26.62138557),"
Fort Myers Middle Academy (formerly Fort Myers M
3050 Central Avenue
Ft Myers, FL 33901

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Fort Myers Middle Academy (formerly Fort Myers M",'Ft_Myers=' + Ft_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.84794617,26.63431740),"
Franklin Park Elementary School
2323 Ford Street
Fort Myers, FL 33916

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Franklin Park Elementary School",'Fort_Myers=' + Fort_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.86413600,26.63906200),"
Gateway Charter High School
2055 Central Avenue
Fort Myers, FL 33901

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Gateway Charter High School",'Fort_Myers=' + Fort_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.73765564,26.57654190),"
Gateway Elementary School
13280 Griffin Drive
Fort Myers, FL 33913

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Gateway Elementary School",'Fort_Myers=' + Fort_Myers.length); Cape_Coral[Cape_Coral.length] = createMarker(new GPoint(-82.01283300,26.58968500),"
Gulf Elementary School
3400 Sw 17th Place
Cape Coral, FL 33914

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Gulf Elementary School",'Cape_Coral=' + Cape_Coral.length); Cape_Coral[Cape_Coral.length] = createMarker(new GPoint(-82.01194000,26.58473778),"
Gulf Middle School
1809 Sw 36th Terrace
Cape Coral, FL 33914

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Gulf Middle School",'Cape_Coral=' + Cape_Coral.length); North_Fort_Myers[North_Fort_Myers.length] = createMarker(new GPoint(-81.90071869,26.65235710),"
Hancock Creek Elementary School
1601 Skyline Drive
North Fort Myers, FL 33903

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hancock Creek Elementary School",'North_Fort_Myers=' + North_Fort_Myers.length); Lehigh_Acres[Lehigh_Acres.length] = createMarker(new GPoint(-81.69239300,26.62753600),"
Harns Marsh Elementary School
1800 Unice Ave N
Lehigh Acres, FL 33971

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Harns Marsh Elementary School",'Lehigh_Acres=' + Lehigh_Acres.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.82529449,26.64856339),"
Headstart Elementary School
4312 Michigan Avenue
Fort Myers, FL 33905

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Headstart Elementary School",'Fort_Myers=' + Fort_Myers.length); Cape_Coral[Cape_Coral.length] = createMarker(new GPoint(-81.97460600,26.65696300),"
Hector Cafferata Jr Elementary School
250 Santa Barbara Blvd N
Cape Coral, FL 33993

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hector Cafferata Jr Elementary School",'Cape_Coral=' + Cape_Coral.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.92535400,26.51926422),"
Heights Elementary School
15200 Alexandria Court
Fort Myers, FL 33908

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Heights Elementary School",'Fort_Myers=' + Fort_Myers.length); Cape_Coral[Cape_Coral.length] = createMarker(new GPoint(-82.01733400,26.56718200),"
Ida S. Baker High School
3500 Agualinda Blvd
Cape Coral, FL 33914

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Ida S. Baker High School",'Cape_Coral=' + Cape_Coral.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-82.27069855,26.77160072),"
Island School
2055 Central Avenue
Fort Myers, FL 33901

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Island School",'Fort_Myers=' + Fort_Myers.length); North_Fort_Myers[North_Fort_Myers.length] = createMarker(new GPoint(-81.88754272,26.68233681),"
J. Colin English Elementary School
120 Pine Island Road
North Fort Myers, FL 33903

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("J. Colin English Elementary School",'North_Fort_Myers=' + North_Fort_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.84416900,26.64111500),"
Lee Adolescent Mother's Prog.
63650 Michigan Avenue
Fort Myers, FL 33916

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Lee Adolescent Mother's Prog.",'Fort_Myers=' + Fort_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.86413600,26.63906200),"
Lee Charter Academy
2055 Central Avenue
Fort Myers, FL 33901

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Lee Charter Academy",'Fort_Myers=' + Fort_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.83559418,26.64824295),"
Lee Co. Alt. Learning Center/h.s.
3650 Michigan Ave Suite 3
Fort Myers, FL 33916

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Lee Co. Alt. Learning Center/h.s.",'Fort_Myers=' + Fort_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.84300232,26.63829994),"
Lee Co. Alt. Learning Center/m.s.
3650-4 Michigan Avenue
Fort Myers, FL 33916

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Lee Co. Alt. Learning Center/m.s.",'Fort_Myers=' + Fort_Myers.length); Ft_Myers[Ft_Myers.length] = createMarker(new GPoint(-81.82582855,26.64850426),"
Lee County Alternative Learning Center - Middle Sc
3860 Michigan Avenue
Ft. Myers, FL 33916

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Lee County Alternative Learning Center - Middle Sc",'Ft_Myers=' + Ft_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.82592010,26.64849091),"
Lee County High Technical Center Cntrail
3800 Michigan Avenue
Fort Myers, FL 33916

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Lee County High Technical Center Cntrail",'Fort_Myers=' + Fort_Myers.length); Cape_Coral[Cape_Coral.length] = createMarker(new GPoint(-81.97475433,26.66142845),"
Lee County High Technical Center North
360 Santa Barbara Blvd.n
Cape Coral, FL 33993

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Lee County High Technical Center North",'Cape_Coral=' + Cape_Coral.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.86819400,26.64084500),"
Lee County Superintendent's Office
12055 Central Avenue
Fort Myers, FL 33901

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Lee County Superintendent's Office",'Fort_Myers=' + Fort_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.82810974,26.65402603),"
Lee Middle School
1333 Marsh Avenue
Fort Myers, FL 33905

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Lee Middle School",'Fort_Myers=' + Fort_Myers.length); Lehigh_Acres[Lehigh_Acres.length] = createMarker(new GPoint(-81.63079834,26.59946251),"
Lehigh Acres Middle School
104 Arthur Avenue
Lehigh Acres, FL 33936

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Lehigh Acres Middle School",'Lehigh_Acres=' + Lehigh_Acres.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.73159790,26.54470062),"
Lehigh Charter School
2055 Central Avenue
Fort Myers, FL 33901

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Lehigh Charter School",'Fort_Myers=' + Fort_Myers.length); Lehigh_Acres[Lehigh_Acres.length] = createMarker(new GPoint(-81.62487793,26.62487984),"
Lehigh Elementary School
200 School Side Court
Lehigh Acres, FL 33936

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Lehigh Elementary School",'Lehigh_Acres=' + Lehigh_Acres.length); Lehigh_Acres[Lehigh_Acres.length] = createMarker(new GPoint(-81.71515656,26.62065315),"
Lehigh Senior High School
901 Gunnery Road N
Lehigh Acres, FL 33971

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Lehigh Senior High School",'Lehigh_Acres=' + Lehigh_Acres.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.91119500,26.50348400),"
Lexington Middle School
16760 Bass Road
Fort Myers, FL 33908

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Lexington Middle School",'Fort_Myers=' + Fort_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.86413600,26.63906200),"
Life Institute For Education Academy
2055 Central Ave
Fort Myers, FL 33901

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Life Institute For Education Academy",'Fort_Myers=' + Fort_Myers.length); Cape_Coral[Cape_Coral.length] = createMarker(new GPoint(-82.00675964,26.66574478),"
Mariner High School
701 Chiquita Blvd N
Cape Coral, FL 33993

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Mariner High School",'Cape_Coral=' + Cape_Coral.length); Cape_Coral[Cape_Coral.length] = createMarker(new GPoint(-81.91130066,26.69389915),"
Mariner Middle School
425 Chiquita Blvd. North
Cape Coral, FL 33993

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Mariner Middle School",'Cape_Coral=' + Cape_Coral.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.82529449,26.64856339),"
Michigan Montessori Intl Academy
4312 Michigan Avenue
Fort Myers, FL 33905

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Michigan Montessori Intl Academy",'Fort_Myers=' + Fort_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.86789800,26.64244500),"
Migrant Education
2266 Second Street
Fort Myers, FL 33901

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Migrant Education",'Fort_Myers=' + Fort_Myers.length); Lehigh_Acres[Lehigh_Acres.length] = createMarker(new GPoint(-81.61638641,26.56858635),"
Mirror Lakes Elementary School
525 Charwood Avenue S
Lehigh Acres, FL 33936

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Mirror Lakes Elementary School",'Lehigh_Acres=' + Lehigh_Acres.length); North_Fort_Myers[North_Fort_Myers.length] = createMarker(new GPoint(-81.88407898,26.70786285),"
N. Fort Myers Academy For Arts
1856 Arts Way
North Fort Myers, FL 33917

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("N. Fort Myers Academy For Arts",'North_Fort_Myers=' + North_Fort_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.83559418,26.64824295),"
New Directions Center
3650 Michigan Avenue
Fort Myers, FL 33916

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("New Directions Center",'Fort_Myers=' + Fort_Myers.length); North_Fort_Myers[North_Fort_Myers.length] = createMarker(new GPoint(-81.91504669,26.66353607),"
North Fort Myers High School
5000 Orange Grove Bouleva
North Fort Myers, FL 33903

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("North Fort Myers High School",'North_Fort_Myers=' + North_Fort_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.80624390,26.67779732),"
Orange River Elementary School
4501 Underwood Drive
Fort Myers, FL 33905

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Orange River Elementary School",'Fort_Myers=' + Fort_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.87674713,26.60296249),"
Orangewood Elementary School
4001 Deleon Street
Fort Myers, FL 33901

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Orangewood Elementary School",'Fort_Myers=' + Fort_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.81802368,26.60328865),"
Paul Laurence Dunbar Middle School
4750 Winkler Avenue Ext
Fort Myers, FL 33912

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Paul Laurence Dunbar Middle School",'Fort_Myers=' + Fort_Myers.length); Cape_Coral[Cape_Coral.length] = createMarker(new GPoint(-81.97988300,26.58609700),"
Pelican Elementary School
3525 Sw 3rd Avenue
Cape Coral, FL 33914

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Pelican Elementary School",'Cape_Coral=' + Cape_Coral.length); Bookelia[Bookelia.length] = createMarker(new GPoint(-82.11441803,26.61543655),"
Pine Island Elementary School
5360 Ridgewood Drive
Bookelia, FL 33922

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Pine Island Elementary School",'Bookelia=' + Bookelia.length); Estero[Estero.length] = createMarker(new GPoint(-81.76184845,26.43807220),"
Pinewoods Elementary School
11900 Stoneybrook Golf Dr
Estero, FL 33928

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Pinewoods Elementary School",'Estero=' + Estero.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.86811829,26.64266205),"
Price Halfway House High School
2515 Ortiz Avenue
Fort Myers, FL 33905

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Price Halfway House High School",'Fort_Myers=' + Fort_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.81927900,26.60315800),"
Ray V Pottorf Elementary School
4600 Challenger Blvd
Fort Myers, FL 33912

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Ray V Pottorf Elementary School",'Fort_Myers=' + Fort_Myers.length); Ft_Myers[Ft_Myers.length] = createMarker(new GPoint(-81.84838600,26.49147300),"
Rayma C Page Elementary School
17000 S Tamiami Trail
Ft. Myers, FL 33908

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Rayma C Page Elementary School",'Ft_Myers=' + Ft_Myers.length); Ft_Myers[Ft_Myers.length] = createMarker(new GPoint(-81.85995483,26.60690880),"
Richard Milburn Academy
2055 Central Avenue
Ft Myers, FL 33901

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Richard Milburn Academy",'Ft_Myers=' + Ft_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.72309875,26.70603371),"
Riverdale High School
2600 Buckingham Road
Fort Myers, FL 33905

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Riverdale High School",'Fort_Myers=' + Fort_Myers.length); North_Fort_Myers[North_Fort_Myers.length] = createMarker(new GPoint(-81.91584778,26.69493484),"
Robinson Littleton Elementary School
700 Hutto Road
North Fort Myers, FL 33903

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Robinson Littleton Elementary School",'North_Fort_Myers=' + North_Fort_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.85130310,26.64456177),"
Royal Palm Exceptional School Center
3050 Indian Street
Fort Myers, FL 33916

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Royal Palm Exceptional School Center",'Fort_Myers=' + Fort_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.81325531,26.48695374),"
San Carlos Park Elementary School
17282 Lee Road
Fort Myers, FL 33912

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("San Carlos Park Elementary School",'Fort_Myers=' + Fort_Myers.length); Sanibel[Sanibel.length] = createMarker(new GPoint(-82.11712646,26.44673920),"
Sanibel School
3840 Sanibel Captiva Road
Sanibel, FL 33957

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sanibel School",'Sanibel=' + Sanibel.length); Sanibel[Sanibel.length] = createMarker(new GPoint(-82.11712646,26.44673920),"
Sanibel School (formerly Sanibel Elementary
3840 Sanibel Captiva Road
Sanibel, FL 33957

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sanibel School (formerly Sanibel Elementary",'Sanibel=' + Sanibel.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.86413600,26.63906200),"
Six Mile Charter Academy
2055 Central Ave
Fort Myers, FL 33901

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Six Mile Charter Academy",'Fort_Myers=' + Fort_Myers.length); Cape_Coral[Cape_Coral.length] = createMarker(new GPoint(-81.98762512,26.61746216),"
Skyline Elementary School
620 Sw 19th Street
Cape Coral, FL 33991

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Skyline Elementary School",'Cape_Coral=' + Cape_Coral.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.84797100,26.53745000),"
South Fort Myers High School
14021 Plantation Road
Fort Myers, FL 33912

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("South Fort Myers High School",'Fort_Myers=' + Fort_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.86811829,26.64266205),"
Southwest Florida Juvenile Det Center
2525 Ortiz Avenue
Fort Myers, FL 33905

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Southwest Florida Juvenile Det Center",'Fort_Myers=' + Fort_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.86811829,26.64266205),"
Southwest Florida Juvenile Detention Center
2266 Second Street
Fort Myers, FL 33901

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Southwest Florida Juvenile Detention Center",'Fort_Myers=' + Fort_Myers.length); Fort_Myers_Beach[Fort_Myers_Beach.length] = createMarker(new GPoint(-81.86811829,26.64266205),"
Southwest Florida Marine Institute
1190 Main Street
Fort Myers Beach, FL 33931

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Southwest Florida Marine Institute",'Fort_Myers_Beach=' + Fort_Myers_Beach.length); Bonita_Springs[Bonita_Springs.length] = createMarker(new GPoint(-81.80684662,26.36739540),"
Spring Creek Elementary School
25571 Elementary Way
Bonita Springs, FL 34135

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Spring Creek Elementary School",'Bonita_Springs=' + Bonita_Springs.length); Lehigh_Acres[Lehigh_Acres.length] = createMarker(new GPoint(-81.68815613,26.61914825),"
Sunshine Elementary School
601 Sara Avenue N
Lehigh Acres, FL 33971

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sunshine Elementary School",'Lehigh_Acres=' + Lehigh_Acres.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.88590240,26.58106232),"
Tanglewood Elem/riverside Ese
1620 Manchester Boulevard
Fort Myers, FL 33919

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Tanglewood Elem/riverside Ese",'Fort_Myers=' + Fort_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.79445648,26.45576668),"
Three Oaks Elementary School
19600 Cypress View Drive
Fort Myers, FL 33912

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Three Oaks Elementary School",'Fort_Myers=' + Fort_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.79440308,26.47195053),"
Three Oaks Middle School
18500 Three Oaks Parkway
Fort Myers, FL 33912

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Three Oaks Middle School",'Fort_Myers=' + Fort_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.82046509,26.67046356),"
Tice Elementary School
4524 Tice Street
Fort Myers, FL 33905

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Tice Elementary School",'Fort_Myers=' + Fort_Myers.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.82592010,26.64849091),"
Trade Extension
3800 Michigan Avenue
Fort Myers, FL 33916

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Trade Extension",'Fort_Myers=' + Fort_Myers.length); Cape_Coral[Cape_Coral.length] = createMarker(new GPoint(-81.91130066,26.69389915),"
Trafalgar Elementary School
1850 Sw 20th Avenue
Cape Coral, FL 33991

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Trafalgar Elementary School",'Cape_Coral=' + Cape_Coral.length); Cape_Coral[Cape_Coral.length] = createMarker(new GPoint(-82.01734924,26.62246323),"
Trafalgar Middle School
2120 Trafalgar Parkway
Cape Coral, FL 33991

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Trafalgar Middle School",'Cape_Coral=' + Cape_Coral.length); North_Fort_Myers[North_Fort_Myers.length] = createMarker(new GPoint(-81.91555023,26.66481972),"
Tropic Isles Elementary School
5145 Orange Grove Bouleva
North Fort Myers, FL 33903

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Tropic Isles Elementary School",'North_Fort_Myers=' + North_Fort_Myers.length); Lehigh_Acres[Lehigh_Acres.length] = createMarker(new GPoint(-81.71340700,26.60299500),"
Varstiy Lakes Middle School
801 Gunnery Road
Lehigh Acres, FL 33971

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Varstiy Lakes Middle School",'Lehigh_Acres=' + Lehigh_Acres.length); Lehigh_Acres[Lehigh_Acres.length] = createMarker(new GPoint(-81.63715900,26.59547200),"
Veterans Park Academy For Arts
49 Homestead Road S
Lehigh Acres, FL 33936

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Veterans Park Academy For Arts",'Lehigh_Acres=' + Lehigh_Acres.length); Fort_Myers[Fort_Myers.length] = createMarker(new GPoint(-81.86750031,26.56857491),"
Villas Elementary School
8385 Beacon Boulevard
Fort Myers, FL 33907

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Villas Elementary School",'Fort_Myers=' + Fort_Myers.length); North_Fort_Myers[North_Fort_Myers.length] = createMarker(new GPoint(-81.88370500,26.70772000),"
West Zone Alc
1858 Arts Way
North Fort Myers, FL 33903

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("West Zone Alc",'North_Fort_Myers=' + North_Fort_Myers.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(Alva); map.removeOverlays(Bonita_Springs); map.removeOverlays(Bookelia); map.removeOverlays(Cape_Coral); map.removeOverlays(Estero); map.removeOverlays(Fort_Myers); map.removeOverlays(Fort_Myers_Beach); map.removeOverlays(Ft_Myers); map.removeOverlays(Lehigh_Acres); map.removeOverlays(North_Fort_Myers); map.removeOverlays(North_Ft_Myers); map.removeOverlays(Sanibel); 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(Fort_Myers);map.removeOverlays(Alva); map.removeOverlays(Bonita_Springs); map.removeOverlays(Bookelia); map.removeOverlays(Cape_Coral); map.removeOverlays(Estero); map.removeOverlays(Fort_Myers); map.removeOverlays(Fort_Myers_Beach); map.removeOverlays(Ft_Myers); map.removeOverlays(Lehigh_Acres); map.removeOverlays(North_Fort_Myers); map.removeOverlays(North_Ft_Myers); map.removeOverlays(Sanibel); map.addOverlays(Alva); centerByArray(Alva, false, false); cntMarker += Alva.length; map.addOverlays(Bonita_Springs); centerByArray(Bonita_Springs, false, false); cntMarker += Bonita_Springs.length; map.addOverlays(Bookelia); centerByArray(Bookelia, false, false); cntMarker += Bookelia.length; map.addOverlays(Cape_Coral); centerByArray(Cape_Coral, false, false); cntMarker += Cape_Coral.length; map.addOverlays(Estero); centerByArray(Estero, false, false); cntMarker += Estero.length; map.addOverlays(Fort_Myers); centerByArray(Fort_Myers, false, false); cntMarker += Fort_Myers.length; map.addOverlays(Fort_Myers_Beach); centerByArray(Fort_Myers_Beach, false, false); cntMarker += Fort_Myers_Beach.length; map.addOverlays(Ft_Myers); centerByArray(Ft_Myers, false, false); cntMarker += Ft_Myers.length; map.addOverlays(Lehigh_Acres); centerByArray(Lehigh_Acres, false, false); cntMarker += Lehigh_Acres.length; map.addOverlays(North_Fort_Myers); centerByArray(North_Fort_Myers, false, false); cntMarker += North_Fort_Myers.length; map.addOverlays(North_Ft_Myers); centerByArray(North_Ft_Myers, false, false); cntMarker += North_Ft_Myers.length; map.addOverlays(Sanibel); centerByArray(Sanibel, false, false); cntMarker += Sanibel.length; centerByArray(Fort_Myers,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'); } }