function addMarkers() { mySelect = document.getElementById('selection'); Vancouver = [];Vancouver[Vancouver.length] = createMarker(new GPoint(-122.69298553,45.72369766),"
Alki Middle School
1880 Nw Bliss Rd
Vancouver, WA 98685

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Alki Middle School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.67749786,45.66045761),"
Benjamin Franklin Elementary School
5206 Franklin St
Vancouver, WA 98663

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Benjamin Franklin Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.52210236,45.65726471),"
Burnt Bridge Creek Elementary School
14619a Ne 49th Street
Vancouver, WA 98682

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Burnt Bridge Creek Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.52788544,45.64286423),"
Burton Elementary School
14015 Ne 28th Street
Vancouver, WA 98682

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Burton Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.52960205,45.63583755),"
Cascade Middle School
13900 Ne 18th Street
Vancouver, WA 98684

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Cascade Middle School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.69334412,45.72397614),"
Chinook Elementary School
1900 Nw Bliss Rd
Vancouver, WA 98685

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Chinook Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.67619324,45.62973785),"
Clark Co Detention Center
500 W 11th Street
Vancouver, WA 98660

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Clark Co Detention Center",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.54777527,45.64303589),"
Clark County Vocational Skills Center
12200 Ne 28th Street
Vancouver, WA 98682

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Clark County Vocational Skills Center",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.67859650,45.69303513),"
Columbia River High School
800 Nw 99th St
Vancouver, WA 98665

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Columbia River High School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-10.00000000,10.00000000),"
Columbia Valley Elementary School
17500 Se Sequoia Cr
Vancouver, WA 98683

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Columbia Valley Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.55800629,45.66743469),"
Covington Middle School
11200 Ne Rosewood Rd
Vancouver, WA 98662

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Covington Middle School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.53968048,45.61606216),"
Crestline Elementary School
13003 Se Seventh Street
Vancouver, WA 98684

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Crestline Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.66400146,45.65123749),"
Discovery Middle School
800 E 40th St
Vancouver, WA 98663

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Discovery Middle School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.67930603,45.68864059),"
Dwight D Eisenhower Elementary School
9201 Nw 9th Ave
Vancouver, WA 98665

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Dwight D Eisenhower Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.52445221,45.64286423),"
Early Childhood Center
14405 Ne 28th Street
Vancouver, WA 98682

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Early Childhood Center",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.67288208,45.62435913),"
Early Childhood Education Center
301 S Leiser Rd
Vancouver, WA 98664

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Early Childhood Education Center",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.56120300,45.61795044),"
Ellsworth Elementary School
512 Se Ellsworth Avenue
Vancouver, WA 98664

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Ellsworth Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.52573395,45.63583755),"
Evergreen High School
14300 Ne 18th Street
Vancouver, WA 98684

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Evergreen High School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.52573395,45.63583755),"
Evergreen Internet Academy
13501 Ne 28th Street
Vancouver, WA 98682

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Evergreen Internet Academy",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.69926453,45.70738602),"
Felida Elementary School
2700 Nw 119th St
Vancouver, WA 98685

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Felida Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.62879944,45.64252090),"
Fir Grove Childrens Center
2920 Falk Rd
Vancouver, WA 98661

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Fir Grove Childrens Center",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.54959106,45.62816238),"
Fircrest Elementary School
12001 Ne Ninth Street
Vancouver, WA 98684

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Fircrest Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.48624420,45.59416962),"
Fishers Landing Elementary School
3800 Se Hiddenbrook Drive
Vancouver, WA 98683

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Fishers Landing Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.61498260,45.63527679),"
Fort Vancouver High School
5700 E 18th St
Vancouver, WA 98661

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Fort Vancouver High School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.50209808,45.67778397),"
Frontier Middle School
7600 Ne 166th Avenue
Vancouver, WA 98682

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Frontier Middle School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.69223785,45.64559555),"
Fruit Valley Elementary School
3301 Fruit Valley Rd
Vancouver, WA 98680

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Fruit Valley Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.63959503,45.69333649),"
Gaiser Middle School
18814 Se 36th Circle
Vancouver, WA 98613

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Gaiser Middle School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.62652588,45.64237595),"
Gate Work Study Program High School
4100p Lomondon St
Vancouver, WA 98661

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Gate Work Study Program High School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.62597400,45.64314600),"
Ged/re-entry Program
2901 Falk Rd
Vancouver, WA 98668

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Ged/re-entry Program",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.60552216,45.62177277),"
George C Marshall Elementary School
6400 Macarthur Blvd
Vancouver, WA 98661

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("George C Marshall Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.57283020,45.71883011),"
Glenwood Heights Prim Elementary School
9716 Ne 134th St
Vancouver, WA 98662

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Glenwood Heights Prim Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.49370575,45.63589478),"
Harmony Elementary School
17404a Ne 18th Street
Vancouver, WA 98684

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Harmony Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.63686371,45.62604904),"
Harney Elementary School
3212 E Evergreen Blvd
Vancouver, WA 98661

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Harney Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.62859344,45.65465546),"
Harry S Truman Elementary School
4504 Ne 42nd Ave
Vancouver, WA 98661

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Harry S Truman Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.66622925,45.67256165),"
Hazel Dell Elementary School
511 Ne Anderson St
Vancouver, WA 98665

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hazel Dell Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.52750397,45.62784576),"
Hearthwood Elementary School
801 Ne Hearthwood Blvd
Vancouver, WA 98684

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hearthwood Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.53913879,45.67953873),"
Heritage High School
7825 Ne 130th Avenue
Vancouver, WA 98682

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Heritage High School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.67288208,45.62435913),"
Home Choice Academy
13501 Ne 28th Street
Vancouver, WA 98682

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Home Choice Academy",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.67499542,45.63573837),"
Hough Elementary School
1900 Daniels St
Vancouver, WA 98660

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Hough Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.64768400,45.64152500),"
Hudson's Bay High School
31206 E Reserve St
Vancouver, WA 98661

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Hudson's Bay High School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.54779816,45.65383911),"
Image Elementary School
4400 Ne 122nd Avenue
Vancouver, WA 98682

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Image Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.67979431,45.68383789),"
Jason Lee Middle School
8500 Nw 9th Ave
Vancouver, WA 98665

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Jason Lee Middle School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.70252500,45.70722200),"
Jefferson Middle School
3000 Nw 119th St
Vancouver, WA 98685

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Jefferson Middle School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.69290924,45.68879700),"
Lake Shore Elementary School
9300 Nw 21st Ave
Vancouver, WA 98665

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Lake Shore Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.57300568,45.71968079),"
Laurin Middle School
13601 Ne 97th Ave
Vancouver, WA 98662

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Laurin Middle School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.53050232,45.63887024),"
Legacy High School
2205 E 138th Avenue
Vancouver, WA 98684

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Legacy High School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.53050232,45.63887024),"
Legacy Home School
2205 Ne 138th Avenue
Vancouver, WA 98664

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Legacy Home School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.62176514,45.64268112),"
Lewis And Clark High School
2901 General Anderson Rd
Vancouver, WA 98661

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Lewis And Clark High School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.67499542,45.65224838),"
Lincoln Elementary School
4200 Nw Daniels St
Vancouver, WA 98660

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Lincoln Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.56919861,45.63176346),"
Marrion Elementary School
10119 Ne 14th Street
Vancouver, WA 98664

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Marrion Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.62054443,45.63076782),"
Martin Luther King Elementary School
4801 Idaho St
Vancouver, WA 98661

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Martin Luther King Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.61122131,45.62345886),"
Mcloughlin Middle School
5802 Macarthur Blvd
Vancouver, WA 98661

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Mcloughlin Middle School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.50449371,45.61916351),"
Mill Plain Elementary School
400 Se 164th Avenue
Vancouver, WA 98684

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Mill Plain Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.63769531,45.63599014),"
Minnehaha Elementary School
2000 Norris Rd
Vancouver, WA 98661

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Minnehaha Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.51721954,45.61117554),"
Mountain View High School
1500 Se Blairmont Dr
Vancouver, WA 98683

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Mountain View High School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.58425800,45.62044800),"
Nierenberg Center
105 S Lieser Rd
Vancouver, WA 98664

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Nierenberg Center",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.55279541,45.67346191),"
Orchards Elementary School
7000 Ne 117th Avenue
Vancouver, WA 98662

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Orchards Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.49550629,45.63762665),"
Pacific Middle School
2017 Ne 172nd Avenue
Vancouver, WA 98684

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Pacific Middle School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.59191132,45.64280701),"
Peter S Ogden Elementary School
8100 Ne 28th St
Vancouver, WA 98662

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Peter S Ogden Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.50209808,45.67509460),"
Pioneer Elementary School
7212 Ne 166th Avenue
Vancouver, WA 98682

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Pioneer Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.62069702,45.72595978),"
Pleasant Valley Middle School
14320 Ne 50th Ave
Vancouver, WA 98686

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Pleasant Valley Middle School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.54154968,45.60711670),"
Riverview Elementary School
12601 Se Riverridge Drive
Vancouver, WA 98684

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Riverview Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.62844086,45.64263153),"
Roosevelt Elementary School
2921 Fald Rd
Vancouver, WA 98661

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Roosevelt Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.66480255,45.70209885),"
Sacajawea Elementary School
700 Ne 1123th St
Vancouver, WA 98685

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sacajawea Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.65559387,45.71446228),"
Salmon Creek Elementary School
1601 Ne 129th St
Vancouver, WA 98685

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Salmon Creek Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.64865875,45.69656372),"
Sarah J Anderson Elementary School
2215 Ne 104th St
Vancouver, WA 98686

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sarah J Anderson Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.47578430,45.61797333),"
Shahala Middle School
601 Se 192nd Avenue
Vancouver, WA 98683

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Shahala Middle School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.53140259,45.67585373),"
Sifton Elementary School
7301 Ne 137th Avenue
Vancouver, WA 98682

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sifton Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.56600189,45.68443680),"
Silver Star Elementary School
10500 Ne 86th Street
Vancouver, WA 98662

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Silver Star Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.68465424,45.72183990),"
Skyview High School
1300 Nw 139th St
Vancouver, WA 98685

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Skyview High School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.52210236,45.65726471),"
Special Services School
14619b Ne 49th Street
Vancouver, WA 98682

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Special Services School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.58097839,45.69022751),"
Sunset Elementary School
9001 Ne 95th Street
Vancouver, WA 98662

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Sunset Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.62586900,45.64240400),"
Vancouver Home Connection
4100 Plomondon Street
Vancouver, WA 98661

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Vancouver Home Connection",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.66934967,45.64398956),"
Vancouver School Of Arts And Academics
3101 Main Street
Vancouver, WA 98663

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Vancouver School Of Arts And Academics",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.59920502,45.66653442),"
Walnut Grove Elementary School
6103 Ne 72nd Ave
Vancouver, WA 98661

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Walnut Grove Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.64809418,45.63040924),"
Wash State School For Blind
2214 E. 13th St.
Vancouver, WA 98661

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Wash State School For Blind",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.65179443,45.64227295),"
Washington Elementary School
2908 S St
Vancouver, WA 98663

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("Washington Elementary School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.64040375,45.62504959),"
Washington State School For Deaf
611 Grand Blvd
Vancouver, WA 98661

[ View School Profile ]
",iconGr); mySelect.options[mySelect.options.length] = new Option("Washington State School For Deaf",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.53269196,45.61195755),"
Wyeast Middle School
1112 Se 136th Avenue
Vancouver, WA 98683

[ View School Profile ]
",iconBl); mySelect.options[mySelect.options.length] = new Option("Wyeast Middle School",'Vancouver=' + Vancouver.length); Vancouver[Vancouver.length] = createMarker(new GPoint(-122.67288208,45.62435913),"
York Elementary School
9301 Ne 152nd Avenue
Vancouver, WA 98682

[ View School Profile ]
",iconRd); mySelect.options[mySelect.options.length] = new Option("York Elementary School",'Vancouver=' + Vancouver.length); maxLng = -10.00000000; maxLat = 45.72595978; minLng = -122.70252500; minLat = 10.00000000; reCenterMap(); } // End addStateMarkers JavaScript Function // Takes an array of markers and centers/zooms map based on marker range function centerByArray(myArray, recenter, newMaxMin) { if (newMaxMin == true) reMaxMin(myArray); for (var i = 0; i < myArray.length; i++) { var markLng = myArray[i].getPoint().x; var markLat = myArray[i].getPoint().y; if (markLat > maxLat) maxLat = markLat; if (markLng > maxLng) maxLng = markLng; if (markLat < minLat) minLat = markLat; if (markLng < minLng) minLng = markLng; } if (recenter) reCenterMap(); } // Reinit max/mins function reMaxMin(myArray) { maxLng = myArray[0].getPoint().x; maxLat = myArray[0].getPoint().y; minLng = myArray[0].getPoint().x; minLat = myArray[0].getPoint().y; } // Recenter map based on global max/mins function reCenterMap() { var bounds = new GLatLngBounds(); bounds.extend(new GLatLng(minLat, minLng)); bounds.extend(new GLatLng(maxLat, maxLng)); var center_lat = (bounds.getNorthEast().lat() + bounds.getSouthWest().lat()) / 2.0; var center_lng = (bounds.getNorthEast().lng() + bounds.getSouthWest().lng()) / 2.0; var center = new GLatLng(center_lat, center_lng); var zoom = map.getBoundsZoomLevel(bounds); map.setCenter(center,zoom); //map.setCenter(center,10); /* var center = new GPoint( (maxLng + minLng)/2, (maxLat+minLat)/2 ); var delta = new GSize(maxLng - minLng, maxLat - minLat); var minZoom = map.spec.getLowestZoomLevel(center, delta, map.viewSize); if (minZoom < 4) minZoom = 4; // Lowest possible zoom is 4 map.centerAndZoom(center, minZoom); */ } // Fires when drop down list of schools changes function selectChange(selection) { var myVal = selection.options[selection.selectedIndex].value; map.closeInfoWindow(); // Add entire array based on variable type if (myVal.indexOf('all') != -1 && myVal != 'all') { var temp = myVal.split('='); var showArray = temp[1]; // If Array is > X amount of markers, then open in a new page if (eval(showArray).length > 20) // New window depends on whether or not we're on the search page if (location.href.indexOf('nearby_schools.php') == -1) window.open(location.href + '/map/' + showArray); else window.open('/search////' + showArray); map.removeOverlays(Vancouver); 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(Vancouver);map.removeOverlays(Vancouver); map.addOverlays(Vancouver); centerByArray(Vancouver, false, false); cntMarker += Vancouver.length; centerByArray(Vancouver,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'); } }