// VARIABLE DEFINITIONS var OrangeIsOn = false; var BlueIsOn = false; var YellowIsOn = false; var RedIsOn = false; var GreenIsOn = false; var encodedOrangeLine = null; var encodedOrangeCenter = null; var encodedBlueLine = null; var encodedBlueCenter = null; var encodedYellowLine = null; var encodedYellowCenter = null; var encodedRedLine = null; var encodedRedCenter = null; var encodedGreenLine = null; var encodedGreenCenter = null; // SET UP THE ARRAYS var arrYellowStop = new Array(); var arrBlueStop = new Array(); var arrOrangeStop = new Array(); var arrRedStop = new Array(); var arrGreenStop = new Array(); // DETECT IF THE USER AGENT IS CHROME OR SAFARI var ua = navigator.userAgent.toLowerCase(); if ((ua.indexOf('chrome/') != -1)||(ua.indexOf('safari/') != -1)){ ua = "safari"; } if ((ua.indexOf('trident/') != -1)||(ua.indexOf('msie') != -1)){ ua = "msie"; } // SHOW ALL OF THE METRO LINES function ShowAllMetroLines() { HandleMetroLine('Orange'); HandleMetroLine('Blue'); HandleMetroLine('Yellow'); HandleMetroLine('Red'); HandleMetroLine('Green'); } // TURN THE METRO LINES ON/OFF function HandleMetroLine(theLine) { switch(theLine) { case "Orange": if(OrangeIsOn) { map.removeOverlay(encodedOrangeLine); map.removeOverlay(encodedOrangeCenter); for(i in arrOrangeStop) { map.removeOverlay(arrOrangeStop[i].marker); } OrangeIsOn = false; } else { if (ua == "safari"){ encodedOrangeLine = new GPolyline.fromEncoded({ color: "#F3881D", weight: 7, opacity: .7, points: "mihlF`asvMqAwQe@aGs@gZoAcj@mAmm@w@k\\i@}PuAqPaEmUqEsToCmMqFwTgGyT}G{TuG_SkGmNaH{MyKsUiSsb@aHuNmCsFiGeRsBeMKuPFcO`AaG`WweAdCcJ`EmJtVy[`OqR~DoHhCuH|D{OrC{L|Hy\\|I{^vIo_@xAaHr@_HLwHKkTQqScB}LaIcScCudA]oLUwHPcFG}Di@cDwA{EqKk]gBoF{AsEy@eDmGqNsCkKqFiRaDuKwCqDc@_CQiFcGgP}FoPyA_N{DeWq_@}zAA{j@HaT_C_JSs`@Nkg@?eYpzAb@bDsBbBgDH{GNeM?kOoAsc@Iuz@C{i@nJo_@dT}s@yRuq@aNQlHyz@hBu[ug@ih@uOqNqUqYiTeX{Xs^cUw[uJcPyHyQkGsZmXu`AuOum@cKaRgYk^y`@{^eRe[c_@en@iYka@}Yu_@", levels: "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB", zoomFactor: 32, numLevels: 4 }); encodedOrangeCenter = new GPolyline.fromEncoded({ color: "#666666", weight: 4, opacity: .7, points: "mihlF`asvMqAwQe@aGs@gZoAcj@mAmm@w@k\\i@}PuAqPaEmUqEsToCmMqFwTgGyT}G{TuG_SkGmNaH{MyKsUiSsb@aHuNmCsFiGeRsBeMKuPFcO`AaG`WweAdCcJ`EmJtVy[`OqR~DoHhCuH|D{OrC{L|Hy\\|I{^vIo_@xAaHr@_HLwHKkTQqScB}LaIcScCudA]oLUwHPcFG}Di@cDwA{EqKk]gBoF{AsEy@eDmGqNsCkKqFiRaDuKwCqDc@_CQiFcGgP}FoPyA_N{DeWq_@}zAA{j@HaT_C_JSs`@Nkg@?eYpzAb@bDsBbBgDH{GNeM?kOoAsc@Iuz@C{i@nJo_@dT}s@yRuq@aNQlHyz@hBu[ug@ih@uOqNqUqYiTeX{Xs^cUw[uJcPyHyQkGsZmXu`AuOum@cKaRgYk^y`@{^eRe[c_@en@iYka@}Yu_@", levels: "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB", zoomFactor: 32, numLevels: 4 }); map.addOverlay(encodedOrangeLine); map.addOverlay(encodedOrangeCenter); }else{ encodedOrangeLine = new GPolyline.fromEncoded({ color: "#666666", weight: 8, opacity: .7, points: "mihlF`asvMqAwQe@aGs@gZoAcj@mAmm@w@k\\i@}PuAqPaEmUqEsToCmMqFwTgGyT}G{TuG_SkGmNaH{MyKsUiSsb@aHuNmCsFiGeRsBeMKuPFcO`AaG`WweAdCcJ`EmJtVy[`OqR~DoHhCuH|D{OrC{L|Hy\\|I{^vIo_@xAaHr@_HLwHKkTQqScB}LaIcScCudA]oLUwHPcFG}Di@cDwA{EqKk]gBoF{AsEy@eDmGqNsCkKqFiRaDuKwCqDc@_CQiFcGgP}FoPyA_N{DeWq_@}zAA{j@HaT_C_JSs`@Nkg@?eYpzAb@bDsBbBgDH{GNeM?kOoAsc@Iuz@C{i@nJo_@dT}s@yRuq@aNQlHyz@hBu[ug@ih@uOqNqUqYiTeX{Xs^cUw[uJcPyHyQkGsZmXu`AuOum@cKaRgYk^y`@{^eRe[c_@en@iYka@}Yu_@", levels: "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB", zoomFactor: 32, numLevels: 4 }); var orangeLine = new Array(); orangeLine.push (new GLatLng(38.87783735990401,-77.27136254310608)); orangeLine.push (new GLatLng(38.878246618906815,-77.26836919784546)); orangeLine.push (new GLatLng(38.878430367080156,-77.26707100868225)); orangeLine.push (new GLatLng(38.87869777547079,-77.26271510124207)); orangeLine.push (new GLatLng(38.87909853825079,-77.25581645965576)); orangeLine.push (new GLatLng(38.879482733829065,-77.24838137626648)); orangeLine.push (new GLatLng(38.87976670313878,-77.24368214607239)); orangeLine.push (new GLatLng(38.87997550337784,-77.24081754684448)); orangeLine.push (new GLatLng(38.880401453963046,-77.23800659179688)); orangeLine.push (new GLatLng(38.881370273236534,-77.23441243171692)); orangeLine.push (new GLatLng(38.88242259644617,-77.23095774650574)); orangeLine.push (new GLatLng(38.88314919147128,-77.22864031791687)); orangeLine.push (new GLatLng(38.884351815185276,-77.22516417503357)); orangeLine.push (new GLatLng(38.88567968855501,-77.22167730331421)); orangeLine.push (new GLatLng(38.887107751083775,-77.21817970275879)); orangeLine.push (new GLatLng(38.88849402993843,-77.21497178077698)); orangeLine.push (new GLatLng(38.88983852756321,-77.21250414848328)); orangeLine.push (new GLatLng(38.89128320782748,-77.21012234687805)); orangeLine.push (new GLatLng(38.893337442461934,-77.20650672912598)); orangeLine.push (new GLatLng(38.896585684103044,-77.20080971717834)); orangeLine.push (new GLatLng(38.89803022713086,-77.1982991695404)); orangeLine.push (new GLatLng(38.89874845185973,-77.19707608222961)); orangeLine.push (new GLatLng(38.90007591698347,-77.19400763511658)); orangeLine.push (new GLatLng(38.900652039407966,-77.19173312187195)); orangeLine.push (new GLatLng(38.90071048634928,-77.18890070915222)); orangeLine.push (new GLatLng(38.900677088102995,-77.18632578849792)); orangeLine.push (new GLatLng(38.90034310477608,-77.18503832817078)); orangeLine.push (new GLatLng(38.896493833552796,-77.17371940612793)); orangeLine.push (new GLatLng(38.89582582597718,-77.17193841934204)); orangeLine.push (new GLatLng(38.894857342968386,-77.17010378837585)); orangeLine.push (new GLatLng(38.89106609012632,-77.16549038887024)); orangeLine.push (new GLatLng(38.88849416908772,-77.1623682975769)); orangeLine.push (new GLatLng(38.88753379806319,-77.16084480285645)); orangeLine.push (new GLatLng(38.88684051349566,-77.15929985046387)); orangeLine.push (new GLatLng(38.88589682271986,-77.15659618377686)); orangeLine.push (new GLatLng(38.88515355301871,-77.15437531471252)); orangeLine.push (new GLatLng(38.88356677145674,-77.14960098266602)); orangeLine.push (new GLatLng(38.88181291902536,-77.14450478553772)); orangeLine.push (new GLatLng(38.8800924312437,-77.13930130004883)); orangeLine.push (new GLatLng(38.87964991390352,-77.13785290718079)); orangeLine.push (new GLatLng(38.879382648263,-77.1364152431488)); orangeLine.push (new GLatLng(38.87931583169578,-77.13485956192017)); orangeLine.push (new GLatLng(38.87937429619553,-77.13143706321716)); orangeLine.push (new GLatLng(38.87946602971666,-77.12814331054688)); orangeLine.push (new GLatLng(38.87996715138005,-77.12591171264648)); orangeLine.push (new GLatLng(38.88157920792635,-77.12269306182861)); orangeLine.push (new GLatLng(38.8822369098248,-77.11154848337173)); orangeLine.push (new GLatLng(38.8823808378856,-77.10938930511475)); orangeLine.push (new GLatLng(38.88249776179335,-77.10782289505005)); orangeLine.push (new GLatLng(38.88240589302489,-77.10668563842773)); orangeLine.push (new GLatLng(38.882447790731874,-77.10573077201843)); orangeLine.push (new GLatLng(38.88265658309253,-77.1049153804779)); orangeLine.push (new GLatLng(38.883095045052784,-77.1038156747818)); orangeLine.push (new GLatLng(38.88510358382511,-77.09895014762878)); orangeLine.push (new GLatLng(38.88562136839832,-77.09775924682617)); orangeLine.push (new GLatLng(38.886089041543414,-77.09669709205627)); orangeLine.push (new GLatLng(38.886372845297494,-77.09586024284363)); orangeLine.push (new GLatLng(38.88772587330676,-77.09337115287781)); orangeLine.push (new GLatLng(38.888460765096134,-77.09139704704285)); orangeLine.push (new GLatLng(38.88967151060899,-77.08830714225769)); orangeLine.push (new GLatLng(38.89048153917065,-77.08627939224243)); orangeLine.push (new GLatLng(38.891241593618844,-77.08538889884949)); orangeLine.push (new GLatLng(38.89142516904249,-77.08474516868591)); orangeLine.push (new GLatLng(38.89151298997103,-77.08357572555542)); orangeLine.push (new GLatLng(38.89281985327045,-77.08081841468811)); orangeLine.push (new GLatLng(38.89408911601242,-77.07801818847656)); orangeLine.push (new GLatLng(38.89453154341861,-77.07561492919922)); orangeLine.push (new GLatLng(38.89547525862026,-77.07174181938171)); orangeLine.push (new GLatLng(38.900685020289835,-77.05703258514404)); orangeLine.push (new GLatLng(38.900693787228114,-77.05001592636108)); orangeLine.push (new GLatLng(38.90064793418734,-77.04664170742035)); orangeLine.push (new GLatLng(38.90128646450089,-77.04488754272461)); orangeLine.push (new GLatLng(38.90138665833274,-77.0395016670227)); orangeLine.push (new GLatLng(38.90130316348268,-77.03304290771484)); orangeLine.push (new GLatLng(38.901303441731066,-77.02885866165161)); orangeLine.push (new GLatLng(38.88665692622359,-77.02903032302856)); orangeLine.push (new GLatLng(38.8858385027414,-77.02845096588135)); orangeLine.push (new GLatLng(38.88533742248675,-77.0276141166687)); orangeLine.push (new GLatLng(38.885287314266904,-77.02619791030884)); orangeLine.push (new GLatLng(38.88520380048863,-77.02392339706421)); orangeLine.push (new GLatLng(38.88520380048863,-77.02130556106567)); orangeLine.push (new GLatLng(38.88560466572905,-77.01544761657715)); orangeLine.push (new GLatLng(38.88565477372505,-77.00589895248413)); orangeLine.push (new GLatLng(38.88567119807291,-76.999032497406)); orangeLine.push (new GLatLng(38.88383416051788,-76.99383974075317)); orangeLine.push (new GLatLng(38.880443352851955,-76.98536396026611)); orangeLine.push (new GLatLng(38.883617020048916,-76.97725296020508)); orangeLine.push (new GLatLng(38.88602167466609,-76.9771671295166)); orangeLine.push (new GLatLng(38.88451898380375,-76.96759700775146)); orangeLine.push (new GLatLng(38.88398448814609,-76.96300506591797)); orangeLine.push (new GLatLng(38.89049837983867,-76.95639610290527)); orangeLine.push (new GLatLng(38.89316945975395,-76.95390701293945)); orangeLine.push (new GLatLng(38.89677787400279,-76.94965839385986)); orangeLine.push (new GLatLng(38.90018460127184,-76.94562435150146)); orangeLine.push (new GLatLng(38.90432533626381,-76.94056034088135)); orangeLine.push (new GLatLng(38.90786528104376,-76.93596839904785)); orangeLine.push (new GLatLng(38.90973536928964,-76.9332218170166)); orangeLine.push (new GLatLng(38.91130486961216,-76.93021774291992)); orangeLine.push (new GLatLng(38.91264058723131,-76.92579746246338)); orangeLine.push (new GLatLng(38.91671492709221,-76.915283203125)); orangeLine.push (new GLatLng(38.91938557720376,-76.90781593322754)); orangeLine.push (new GLatLng(38.92132213903022,-76.90476894378662)); orangeLine.push (new GLatLng(38.92552897052272,-76.89974784851074)); orangeLine.push (new GLatLng(38.93093738733626,-76.89464092254639)); orangeLine.push (new GLatLng(38.93400865033465,-76.89013481140137)); orangeLine.push (new GLatLng(38.93914937988765,-76.88258171081543)); orangeLine.push (new GLatLng(38.94335515415019,-76.87708854675293)); orangeLine.push (new GLatLng(38.947661363568294,-76.87185287475586)); encodedOrangeCenter = new BDCCPolyline(orangeLine,"#F3881D",5,1,"Orange Line","dot"); map.addOverlay(encodedOrangeLine); map.addOverlay(encodedOrangeCenter); } arrOrangeStop[8] = new ART_Location(); arrOrangeStop[8].point=new GLatLng(38.88209232, -77.11087631); arrOrangeStop[8].theIcon = new GIcon(); arrOrangeStop[8].theIcon.image = "img_map/marker_stop_metro.png"; arrOrangeStop[8].theIcon.iconSize = new GSize(24, 24); arrOrangeStop[8].theIcon.shadow = "img_map/shadow_marker.png"; arrOrangeStop[8].theIcon.shadowSize = new GSize(37, 24); arrOrangeStop[8].theIcon.iconAnchor = new GPoint(7, 16); arrOrangeStop[8].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrOrangeStop[8].theIcon, title:"Ballston-MU"}; arrOrangeStop[8].marker = new GMarker(arrOrangeStop[8].point, markerOptions); map.addOverlay(arrOrangeStop[8].marker); GEvent.addListener(arrOrangeStop[8].marker,"click",function(){clearTimeout(T); pidInfo(8);}); arrOrangeStop[22] = new ART_Location(); arrOrangeStop[22].point=new GLatLng(38.8856213684, -77.0059204102); arrOrangeStop[22].theIcon = new GIcon(); arrOrangeStop[22].theIcon.image = "img_map/marker_stop_metro.png"; arrOrangeStop[22].theIcon.iconSize = new GSize(24, 24); arrOrangeStop[22].theIcon.shadow = "img_map/shadow_marker.png"; arrOrangeStop[22].theIcon.shadowSize = new GSize(37, 24); arrOrangeStop[22].theIcon.iconAnchor = new GPoint(7, 16); arrOrangeStop[22].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrOrangeStop[22].theIcon, title:"Capitol South"}; arrOrangeStop[22].marker = new GMarker(arrOrangeStop[22].point, markerOptions); map.addOverlay(arrOrangeStop[22].marker); GEvent.addListener(arrOrangeStop[22].marker,"click",function(){clearTimeout(T); pidInfo(22);}); arrOrangeStop[28] = new ART_Location(); arrOrangeStop[28].point=new GLatLng(38.916547417, -76.9151115417); arrOrangeStop[28].theIcon = new GIcon(); arrOrangeStop[28].theIcon.image = "img_map/marker_stop_metro.png"; arrOrangeStop[28].theIcon.iconSize = new GSize(24, 24); arrOrangeStop[28].theIcon.shadow = "img_map/shadow_marker.png"; arrOrangeStop[28].theIcon.shadowSize = new GSize(37, 24); arrOrangeStop[28].theIcon.iconAnchor = new GPoint(7, 16); arrOrangeStop[28].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrOrangeStop[28].theIcon, title:"Cheverly"}; arrOrangeStop[28].marker = new GMarker(arrOrangeStop[28].point, markerOptions); map.addOverlay(arrOrangeStop[28].marker); GEvent.addListener(arrOrangeStop[28].marker,"click",function(){clearTimeout(T); pidInfo(28);}); arrOrangeStop[6] = new ART_Location(); arrOrangeStop[6].point=new GLatLng(38.88612189, -77.0964288712); arrOrangeStop[6].theIcon = new GIcon(); arrOrangeStop[6].theIcon.image = "img_map/marker_stop_metro.png"; arrOrangeStop[6].theIcon.iconSize = new GSize(24, 24); arrOrangeStop[6].theIcon.shadow = "img_map/shadow_marker.png"; arrOrangeStop[6].theIcon.shadowSize = new GSize(37, 24); arrOrangeStop[6].theIcon.iconAnchor = new GPoint(7, 16); arrOrangeStop[6].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrOrangeStop[6].theIcon, title:"Clarendon"}; arrOrangeStop[6].marker = new GMarker(arrOrangeStop[6].point, markerOptions); map.addOverlay(arrOrangeStop[6].marker); GEvent.addListener(arrOrangeStop[6].marker,"click",function(){clearTimeout(T); pidInfo(6);}); arrOrangeStop[5] = new ART_Location(); arrOrangeStop[5].point=new GLatLng(38.89154, -77.08503); arrOrangeStop[5].theIcon = new GIcon(); arrOrangeStop[5].theIcon.image = "img_map/marker_stop_metro.png"; arrOrangeStop[5].theIcon.iconSize = new GSize(24, 24); arrOrangeStop[5].theIcon.shadow = "img_map/shadow_marker.png"; arrOrangeStop[5].theIcon.shadowSize = new GSize(37, 24); arrOrangeStop[5].theIcon.iconAnchor = new GPoint(7, 16); arrOrangeStop[5].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrOrangeStop[5].theIcon, title:"Court House"}; arrOrangeStop[5].marker = new GMarker(arrOrangeStop[5].point, markerOptions); map.addOverlay(arrOrangeStop[5].marker); GEvent.addListener(arrOrangeStop[5].marker,"click",function(){clearTimeout(T); pidInfo(5);}); arrOrangeStop[27] = new ART_Location(); arrOrangeStop[27].point=new GLatLng(38.9078986759, -76.9355821609); arrOrangeStop[27].theIcon = new GIcon(); arrOrangeStop[27].theIcon.image = "img_map/marker_stop_metro.png"; arrOrangeStop[27].theIcon.iconSize = new GSize(24, 24); arrOrangeStop[27].theIcon.shadow = "img_map/shadow_marker.png"; arrOrangeStop[27].theIcon.shadowSize = new GSize(37, 24); arrOrangeStop[27].theIcon.iconAnchor = new GPoint(7, 16); arrOrangeStop[27].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrOrangeStop[27].theIcon, title:"Deanwood"}; arrOrangeStop[27].marker = new GMarker(arrOrangeStop[27].point, markerOptions); map.addOverlay(arrOrangeStop[27].marker); GEvent.addListener(arrOrangeStop[27].marker,"click",function(){clearTimeout(T); pidInfo(27);}); arrOrangeStop[12] = new ART_Location(); arrOrangeStop[12].point=new GLatLng(38.883081961, -77.2286510468); arrOrangeStop[12].theIcon = new GIcon(); arrOrangeStop[12].theIcon.image = "img_map/marker_stop_metro.png"; arrOrangeStop[12].theIcon.iconSize = new GSize(24, 24); arrOrangeStop[12].theIcon.shadow = "img_map/shadow_marker.png"; arrOrangeStop[12].theIcon.shadowSize = new GSize(37, 24); arrOrangeStop[12].theIcon.iconAnchor = new GPoint(7, 16); arrOrangeStop[12].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrOrangeStop[12].theIcon, title:"Dunn Loring-Merrifield"}; arrOrangeStop[12].marker = new GMarker(arrOrangeStop[12].point, markerOptions); map.addOverlay(arrOrangeStop[12].marker); GEvent.addListener(arrOrangeStop[12].marker,"click",function(){clearTimeout(T); pidInfo(12);}); arrOrangeStop[10] = new ART_Location(); arrOrangeStop[10].point=new GLatLng(38.88674942, -77.15679011); arrOrangeStop[10].theIcon = new GIcon(); arrOrangeStop[10].theIcon.image = "img_map/marker_stop_metro.png"; arrOrangeStop[10].theIcon.iconSize = new GSize(24, 24); arrOrangeStop[10].theIcon.shadow = "img_map/shadow_marker.png"; arrOrangeStop[10].theIcon.shadowSize = new GSize(37, 24); arrOrangeStop[10].theIcon.iconAnchor = new GPoint(7, 16); arrOrangeStop[10].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrOrangeStop[10].theIcon, title:"East Falls Church"}; arrOrangeStop[10].marker = new GMarker(arrOrangeStop[10].point, markerOptions); map.addOverlay(arrOrangeStop[10].marker); GEvent.addListener(arrOrangeStop[10].marker,"click",function(){clearTimeout(T); pidInfo(10);}); arrOrangeStop[23] = new ART_Location(); arrOrangeStop[23].point=new GLatLng(38.8839505254, -76.9951915741); arrOrangeStop[23].theIcon = new GIcon(); arrOrangeStop[23].theIcon.image = "img_map/marker_stop_metro.png"; arrOrangeStop[23].theIcon.iconSize = new GSize(24, 24); arrOrangeStop[23].theIcon.shadow = "img_map/shadow_marker.png"; arrOrangeStop[23].theIcon.shadowSize = new GSize(37, 24); arrOrangeStop[23].theIcon.iconAnchor = new GPoint(7, 16); arrOrangeStop[23].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrOrangeStop[23].theIcon, title:"Eastern Market"}; arrOrangeStop[23].marker = new GMarker(arrOrangeStop[23].point, markerOptions); map.addOverlay(arrOrangeStop[23].marker); GEvent.addListener(arrOrangeStop[23].marker,"click",function(){clearTimeout(T); pidInfo(23);}); arrOrangeStop[15] = new ART_Location(); arrOrangeStop[15].point=new GLatLng(38.9013618881, -77.0394802094); arrOrangeStop[15].theIcon = new GIcon(); arrOrangeStop[15].theIcon.image = "img_map/marker_stop_metro.png"; arrOrangeStop[15].theIcon.iconSize = new GSize(24, 24); arrOrangeStop[15].theIcon.shadow = "img_map/shadow_marker.png"; arrOrangeStop[15].theIcon.shadowSize = new GSize(37, 24); arrOrangeStop[15].theIcon.iconAnchor = new GPoint(7, 16); arrOrangeStop[15].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrOrangeStop[15].theIcon, title:"Farragut West"}; arrOrangeStop[15].marker = new GMarker(arrOrangeStop[15].point, markerOptions); map.addOverlay(arrOrangeStop[15].marker); GEvent.addListener(arrOrangeStop[15].marker,"click",function(){clearTimeout(T); pidInfo(15);}); arrOrangeStop[21] = new ART_Location(); arrOrangeStop[21].point=new GLatLng(38.8849861076, -77.0155334473); arrOrangeStop[21].theIcon = new GIcon(); arrOrangeStop[21].theIcon.image = "img_map/marker_stop_metro.png"; arrOrangeStop[21].theIcon.iconSize = new GSize(24, 24); arrOrangeStop[21].theIcon.shadow = "img_map/shadow_marker.png"; arrOrangeStop[21].theIcon.shadowSize = new GSize(37, 24); arrOrangeStop[21].theIcon.iconAnchor = new GPoint(7, 16); arrOrangeStop[21].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrOrangeStop[21].theIcon, title:"Federal Center SW"}; arrOrangeStop[21].marker = new GMarker(arrOrangeStop[21].point, markerOptions); map.addOverlay(arrOrangeStop[21].marker); GEvent.addListener(arrOrangeStop[21].marker,"click",function(){clearTimeout(T); pidInfo(21);}); arrOrangeStop[18] = new ART_Location(); arrOrangeStop[18].point=new GLatLng(38.8937044429, -77.0279359818); arrOrangeStop[18].theIcon = new GIcon(); arrOrangeStop[18].theIcon.image = "img_map/marker_stop_metro.png"; arrOrangeStop[18].theIcon.iconSize = new GSize(24, 24); arrOrangeStop[18].theIcon.shadow = "img_map/shadow_marker.png"; arrOrangeStop[18].theIcon.shadowSize = new GSize(37, 24); arrOrangeStop[18].theIcon.iconAnchor = new GPoint(7, 16); arrOrangeStop[18].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrOrangeStop[18].theIcon, title:"Federal Triangle"}; arrOrangeStop[18].marker = new GMarker(arrOrangeStop[18].point, markerOptions); map.addOverlay(arrOrangeStop[18].marker); GEvent.addListener(arrOrangeStop[18].marker,"click",function(){clearTimeout(T); pidInfo(18);}); arrOrangeStop[14] = new ART_Location(); arrOrangeStop[14].point=new GLatLng(38.9007184185, -77.050037384); arrOrangeStop[14].theIcon = new GIcon(); arrOrangeStop[14].theIcon.image = "img_map/marker_stop_metro.png"; arrOrangeStop[14].theIcon.iconSize = new GSize(24, 24); arrOrangeStop[14].theIcon.shadow = "img_map/shadow_marker.png"; arrOrangeStop[14].theIcon.shadowSize = new GSize(37, 24); arrOrangeStop[14].theIcon.iconAnchor = new GPoint(7, 16); arrOrangeStop[14].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrOrangeStop[14].theIcon, title:"Foggy Bottom-GWU"}; arrOrangeStop[14].marker = new GMarker(arrOrangeStop[14].point, markerOptions); map.addOverlay(arrOrangeStop[14].marker); GEvent.addListener(arrOrangeStop[14].marker,"click",function(){clearTimeout(T); pidInfo(14);}); arrOrangeStop[20] = new ART_Location(); arrOrangeStop[20].point=new GLatLng(38.8848858906, -77.0215845108); arrOrangeStop[20].theIcon = new GIcon(); arrOrangeStop[20].theIcon.image = "img_map/marker_stop_metro.png"; arrOrangeStop[20].theIcon.iconSize = new GSize(24, 24); arrOrangeStop[20].theIcon.shadow = "img_map/shadow_marker.png"; arrOrangeStop[20].theIcon.shadowSize = new GSize(37, 24); arrOrangeStop[20].theIcon.iconAnchor = new GPoint(7, 16); arrOrangeStop[20].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrOrangeStop[20].theIcon, title:"L'Enfant Plaza"}; arrOrangeStop[20].marker = new GMarker(arrOrangeStop[20].point, markerOptions); map.addOverlay(arrOrangeStop[20].marker); GEvent.addListener(arrOrangeStop[20].marker,"click",function(){clearTimeout(T); pidInfo(20);}); arrOrangeStop[16] = new ART_Location(); arrOrangeStop[16].point=new GLatLng(38.901299267, -77.0332789421); arrOrangeStop[16].theIcon = new GIcon(); arrOrangeStop[16].theIcon.image = "img_map/marker_stop_metro.png"; arrOrangeStop[16].theIcon.iconSize = new GSize(24, 24); arrOrangeStop[16].theIcon.shadow = "img_map/shadow_marker.png"; arrOrangeStop[16].theIcon.shadowSize = new GSize(37, 24); arrOrangeStop[16].theIcon.iconAnchor = new GPoint(7, 16); arrOrangeStop[16].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrOrangeStop[16].theIcon, title:"McPherson Square"}; arrOrangeStop[16].marker = new GMarker(arrOrangeStop[16].point, markerOptions); map.addOverlay(arrOrangeStop[16].marker); GEvent.addListener(arrOrangeStop[16].marker,"click",function(){clearTimeout(T); pidInfo(16);}); arrOrangeStop[17] = new ART_Location(); arrOrangeStop[17].point=new GLatLng(38.8983184364, -77.0277750492); arrOrangeStop[17].theIcon = new GIcon(); arrOrangeStop[17].theIcon.image = "img_map/marker_stop_metro.png"; arrOrangeStop[17].theIcon.iconSize = new GSize(24, 24); arrOrangeStop[17].theIcon.shadow = "img_map/shadow_marker.png"; arrOrangeStop[17].theIcon.shadowSize = new GSize(37, 24); arrOrangeStop[17].theIcon.iconAnchor = new GPoint(7, 16); arrOrangeStop[17].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrOrangeStop[17].theIcon, title:"Metro Center"}; arrOrangeStop[17].marker = new GMarker(arrOrangeStop[17].point, markerOptions); map.addOverlay(arrOrangeStop[17].marker); GEvent.addListener(arrOrangeStop[17].marker,"click",function(){clearTimeout(T); pidInfo(17);}); arrOrangeStop[26] = new ART_Location(); arrOrangeStop[26].point=new GLatLng(38.8982808621, -76.9477272034); arrOrangeStop[26].theIcon = new GIcon(); arrOrangeStop[26].theIcon.image = "img_map/marker_stop_metro.png"; arrOrangeStop[26].theIcon.iconSize = new GSize(24, 24); arrOrangeStop[26].theIcon.shadow = "img_map/shadow_marker.png"; arrOrangeStop[26].theIcon.shadowSize = new GSize(37, 24); arrOrangeStop[26].theIcon.iconAnchor = new GPoint(7, 16); arrOrangeStop[26].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrOrangeStop[26].theIcon, title:"Minnesota Ave"}; arrOrangeStop[26].marker = new GMarker(arrOrangeStop[26].point, markerOptions); map.addOverlay(arrOrangeStop[26].marker); GEvent.addListener(arrOrangeStop[26].marker,"click",function(){clearTimeout(T); pidInfo(26);}); arrOrangeStop[30] = new ART_Location(); arrOrangeStop[30].point=new GLatLng(38.9468937081, -76.8704795837); arrOrangeStop[30].theIcon = new GIcon(); arrOrangeStop[30].theIcon.image = "img_map/marker_stop_metro.png"; arrOrangeStop[30].theIcon.iconSize = new GSize(24, 24); arrOrangeStop[30].theIcon.shadow = "img_map/shadow_marker.png"; arrOrangeStop[30].theIcon.shadowSize = new GSize(37, 24); arrOrangeStop[30].theIcon.iconAnchor = new GPoint(7, 16); arrOrangeStop[30].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrOrangeStop[30].theIcon, title:"New Carrollton"}; arrOrangeStop[30].marker = new GMarker(arrOrangeStop[30].point, markerOptions); map.addOverlay(arrOrangeStop[30].marker); GEvent.addListener(arrOrangeStop[30].marker,"click",function(){clearTimeout(T); pidInfo(30);}); arrOrangeStop[24] = new ART_Location(); arrOrangeStop[24].point=new GLatLng(38.8809110601, -76.985449791); arrOrangeStop[24].theIcon = new GIcon(); arrOrangeStop[24].theIcon.image = "img_map/marker_stop_metro.png"; arrOrangeStop[24].theIcon.iconSize = new GSize(24, 24); arrOrangeStop[24].theIcon.shadow = "img_map/shadow_marker.png"; arrOrangeStop[24].theIcon.shadowSize = new GSize(37, 24); arrOrangeStop[24].theIcon.iconAnchor = new GPoint(7, 16); arrOrangeStop[24].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrOrangeStop[24].theIcon, title:"Potomac Ave"}; arrOrangeStop[24].marker = new GMarker(arrOrangeStop[24].point, markerOptions); map.addOverlay(arrOrangeStop[24].marker); GEvent.addListener(arrOrangeStop[24].marker,"click",function(){clearTimeout(T); pidInfo(24);}); arrOrangeStop[4] = new ART_Location(); arrOrangeStop[4].point=new GLatLng(38.8959984, -77.07141259); arrOrangeStop[4].theIcon = new GIcon(); arrOrangeStop[4].theIcon.image = "img_map/marker_stop_metro.png"; arrOrangeStop[4].theIcon.iconSize = new GSize(24, 24); arrOrangeStop[4].theIcon.shadow = "img_map/shadow_marker.png"; arrOrangeStop[4].theIcon.shadowSize = new GSize(37, 24); arrOrangeStop[4].theIcon.iconAnchor = new GPoint(7, 16); arrOrangeStop[4].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrOrangeStop[4].theIcon, title:"Rosslyn"}; arrOrangeStop[4].marker = new GMarker(arrOrangeStop[4].point, markerOptions); map.addOverlay(arrOrangeStop[4].marker); GEvent.addListener(arrOrangeStop[4].marker,"click",function(){clearTimeout(T); pidInfo(4);}); arrOrangeStop[19] = new ART_Location(); arrOrangeStop[19].point=new GLatLng(38.888059916, -77.0279788971); arrOrangeStop[19].theIcon = new GIcon(); arrOrangeStop[19].theIcon.image = "img_map/marker_stop_metro.png"; arrOrangeStop[19].theIcon.iconSize = new GSize(24, 24); arrOrangeStop[19].theIcon.shadow = "img_map/shadow_marker.png"; arrOrangeStop[19].theIcon.shadowSize = new GSize(37, 24); arrOrangeStop[19].theIcon.iconAnchor = new GPoint(7, 16); arrOrangeStop[19].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrOrangeStop[19].theIcon, title:"Smithsonian"}; arrOrangeStop[19].marker = new GMarker(arrOrangeStop[19].point, markerOptions); map.addOverlay(arrOrangeStop[19].marker); GEvent.addListener(arrOrangeStop[19].marker,"click",function(){clearTimeout(T); pidInfo(19);}); arrOrangeStop[25] = new ART_Location(); arrOrangeStop[25].point=new GLatLng(38.8859548643, -76.9771671295); arrOrangeStop[25].theIcon = new GIcon(); arrOrangeStop[25].theIcon.image = "img_map/marker_stop_metro.png"; arrOrangeStop[25].theIcon.iconSize = new GSize(24, 24); arrOrangeStop[25].theIcon.shadow = "img_map/shadow_marker.png"; arrOrangeStop[25].theIcon.shadowSize = new GSize(37, 24); arrOrangeStop[25].theIcon.iconAnchor = new GPoint(7, 16); arrOrangeStop[25].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrOrangeStop[25].theIcon, title:"Stadium-Armory"}; arrOrangeStop[25].marker = new GMarker(arrOrangeStop[25].point, markerOptions); map.addOverlay(arrOrangeStop[25].marker); GEvent.addListener(arrOrangeStop[25].marker,"click",function(){clearTimeout(T); pidInfo(25);}); arrOrangeStop[13] = new ART_Location(); arrOrangeStop[13].point=new GLatLng(38.8777367153, -77.2713518143); arrOrangeStop[13].theIcon = new GIcon(); arrOrangeStop[13].theIcon.image = "img_map/marker_stop_metro.png"; arrOrangeStop[13].theIcon.iconSize = new GSize(24, 24); arrOrangeStop[13].theIcon.shadow = "img_map/shadow_marker.png"; arrOrangeStop[13].theIcon.shadowSize = new GSize(37, 24); arrOrangeStop[13].theIcon.iconAnchor = new GPoint(7, 16); arrOrangeStop[13].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrOrangeStop[13].theIcon, title:"Vienna/Fairfax-GMU"}; arrOrangeStop[13].marker = new GMarker(arrOrangeStop[13].point, markerOptions); map.addOverlay(arrOrangeStop[13].marker); GEvent.addListener(arrOrangeStop[13].marker,"click",function(){clearTimeout(T); pidInfo(13);}); arrOrangeStop[9] = new ART_Location(); arrOrangeStop[9].point=new GLatLng(38.8831153675, -77.1037244797); arrOrangeStop[9].theIcon = new GIcon(); arrOrangeStop[9].theIcon.image = "img_map/marker_stop_metro.png"; arrOrangeStop[9].theIcon.iconSize = new GSize(24, 24); arrOrangeStop[9].theIcon.shadow = "img_map/shadow_marker.png"; arrOrangeStop[9].theIcon.shadowSize = new GSize(37, 24); arrOrangeStop[9].theIcon.iconAnchor = new GPoint(7, 16); arrOrangeStop[9].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrOrangeStop[9].theIcon, title:"Virginia Square-GMU"}; arrOrangeStop[9].marker = new GMarker(arrOrangeStop[9].point, markerOptions); map.addOverlay(arrOrangeStop[9].marker); GEvent.addListener(arrOrangeStop[9].marker,"click",function(){clearTimeout(T); pidInfo(9);}); arrOrangeStop[11] = new ART_Location(); arrOrangeStop[11].point=new GLatLng(38.9007184185, -77.188911438); arrOrangeStop[11].theIcon = new GIcon(); arrOrangeStop[11].theIcon.image = "img_map/marker_stop_metro.png"; arrOrangeStop[11].theIcon.iconSize = new GSize(24, 24); arrOrangeStop[11].theIcon.shadow = "img_map/shadow_marker.png"; arrOrangeStop[11].theIcon.shadowSize = new GSize(37, 24); arrOrangeStop[11].theIcon.iconAnchor = new GPoint(7, 16); arrOrangeStop[11].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrOrangeStop[11].theIcon, title:"West Falls Church-VT/UVA"}; arrOrangeStop[11].marker = new GMarker(arrOrangeStop[11].point, markerOptions); map.addOverlay(arrOrangeStop[11].marker); GEvent.addListener(arrOrangeStop[11].marker,"click",function(){clearTimeout(T); pidInfo(11);}); arrOrangeStop[29] = new ART_Location(); arrOrangeStop[29].point=new GLatLng(38.9338751199, -76.8900060654); arrOrangeStop[29].theIcon = new GIcon(); arrOrangeStop[29].theIcon.image = "img_map/marker_stop_metro.png"; arrOrangeStop[29].theIcon.iconSize = new GSize(24, 24); arrOrangeStop[29].theIcon.shadow = "img_map/shadow_marker.png"; arrOrangeStop[29].theIcon.shadowSize = new GSize(37, 24); arrOrangeStop[29].theIcon.iconAnchor = new GPoint(7, 16); arrOrangeStop[29].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrOrangeStop[29].theIcon, title:"Landover"}; arrOrangeStop[29].marker = new GMarker(arrOrangeStop[29].point, markerOptions); map.addOverlay(arrOrangeStop[29].marker); GEvent.addListener(arrOrangeStop[29].marker,"click",function(){clearTimeout(T); pidInfo(29);}); OrangeIsOn = true; } break; case "Red": if(RedIsOn) { map.removeOverlay(encodedRedLine); map.removeOverlay(encodedRedCenter); for(i in arrRedStop) { map.removeOverlay(arrRedStop[i].marker); } RedIsOn = false; } else { if (ua == "safari"){ encodedRedLine = new GPolyline.fromEncoded({ color: "#EF3A31", weight: 7, opacity: .7, points: "{rwmFxf~uMf@m@tAaA`CiB|AmA|BcBrEkDlEgDtDwCrA_AvBoAvCiBvCqAdQaF`NwDtTsF`zAaa@rMqHxEwEd@u@~SiWtUkYrSwVrl@ys@n_@sc@dHiJjG_IbHcIv|@mQxDm@zh@yRn_@oOtSeJrH}BtFmBdHaCtCc@nIe@hHP`K?nGQzEk@bGoCjDaBzLoHtZuNdaAqA|Ls@jQqA~PkBxIgArKwAjM_BhHw@rLuE`_@mNvG{Bv]kD|SaBlLiDxYeLjEiBtK{Dfj@yTjMeCbEiD~FgA~SaKIavA`t@q^|l@_YvMeHdJoEbCeA|GmDtIaEfB_AfAmE|@}@jHyClC_BhGQlAQrAs@lHuDjKgFxCu@nCoAp^sRbBs@`Cm@xIqExDkBlD_HtAkFrA_LCeTB_KBwCGiIMkNAeENiKxL{UFyXMgRcBmGyFwAeP{FiDkDqGaE_^gJgEG{CsAiDcCy@k@iCwCoF{FqDyDal@gLkK_DcPqDyWyAeTpBoAR}Bb@eDv@mBh@uBt@wBr@qBl@qDhA_K~CyiAh^eq@~ScPrNkWnZyHfFaN|G}JlEsJtEoFlCuMdG{RrIqV~L{QlLcLlJaO~NqI~JafAtm@c{@rTsAZsrBbf@iSrGsNjDaP~CoWPwTk@o\\oH}GkBmOXkGvCiJzM", levels: "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB", zoomFactor: 32, numLevels: 4 }); encodedRedCenter = new GPolyline.fromEncoded({ color: "#666666", weight: 4, opacity: .7, points: "{rwmFxf~uMf@m@tAaA`CiB|AmA|BcBrEkDlEgDtDwCrA_AvBoAvCiBvCqAdQaF`NwDtTsF`zAaa@rMqHxEwEd@u@~SiWtUkYrSwVrl@ys@n_@sc@dHiJjG_IbHcIv|@mQxDm@zh@yRn_@oOtSeJrH}BtFmBdHaCtCc@nIe@hHP`K?nGQzEk@bGoCjDaBzLoHtZuNdaAqA|Ls@jQqA~PkBxIgArKwAjM_BhHw@rLuE`_@mNvG{Bv]kD|SaBlLiDxYeLjEiBtK{Dfj@yTjMeCbEiD~FgA~SaKIavA`t@q^|l@_YvMeHdJoEbCeA|GmDtIaEfB_AfAmE|@}@jHyClC_BhGQlAQrAs@lHuDjKgFxCu@nCoAp^sRbBs@`Cm@xIqExDkBlD_HtAkFrA_LCeTB_KBwCGiIMkNAeENiKxL{UFyXMgRcBmGyFwAeP{FiDkDqGaE_^gJgEG{CsAiDcCy@k@iCwCoF{FqDyDal@gLkK_DcPqDyWyAeTpBoAR}Bb@eDv@mBh@uBt@wBr@qBl@qDhA_K~CyiAh^eq@~ScPrNkWnZyHfFaN|G}JlEsJtEoFlCuMdG{RrIqV~L{QlLcLlJaO~NqI~JafAtm@c{@rTsAZsrBbf@iSrGsNjDaP~CoWPwTk@o\\oH}GkBmOXkGvCiJzM", levels: "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB", zoomFactor: 32, numLevels: 4 }); map.addOverlay(encodedRedLine); map.addOverlay(encodedRedCenter); }else{ encodedRedLine = new GPolyline.fromEncoded({ color: "#666666", weight: 8, opacity: .7, points: "{rwmFxf~uMf@m@tAaA`CiB|AmA|BcBrEkDlEgDtDwCrA_AvBoAvCiBvCqAdQaF`NwDtTsF`zAaa@rMqHxEwEd@u@~SiWtUkYrSwVrl@ys@n_@sc@dHiJjG_IbHcIv|@mQxDm@zh@yRn_@oOtSeJrH}BtFmBdHaCtCc@nIe@hHP`K?nGQzEk@bGoCjDaBzLoHtZuNdaAqA|Ls@jQqA~PkBxIgArKwAjM_BhHw@rLuE`_@mNvG{Bv]kD|SaBlLiDxYeLjEiBtK{Dfj@yTjMeCbEiD~FgA~SaKIavA`t@q^|l@_YvMeHdJoEbCeA|GmDtIaEfB_AfAmE|@}@jHyClC_BhGQlAQrAs@lHuDjKgFxCu@nCoAp^sRbBs@`Cm@xIqExDkBlD_HtAkFrA_LCeTB_KBwCGiIMkNAeENiKxL{UFyXMgRcBmGyFwAeP{FiDkDqGaE_^gJgEG{CsAiDcCy@k@iCwCoF{FqDyDal@gLkK_DcPqDyWyAeTpBoAR}Bb@eDv@mBh@uBt@wBr@qBl@qDhA_K~CyiAh^eq@~ScPrNkWnZyHfFaN|G}JlEsJtEoFlCuMdG{RrIqV~L{QlLcLlJaO~NqI~JafAtm@c{@rTsAZsrBbf@iSrGsNjDaP~CoWPwTk@o\\oH}GkBmOXkGvCiJzM", levels: "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB", zoomFactor: 32, numLevels: 4 }); var redLine = new Array(); redLine.push (new GLatLng(39.119980000000005,-77.16477)); redLine.push (new GLatLng(39.119780000000006,-77.16453000000001)); redLine.push (new GLatLng(39.119350000000004,-77.16419)); redLine.push (new GLatLng(39.118700000000004,-77.16368)); redLine.push (new GLatLng(39.118230000000004,-77.16329)); redLine.push (new GLatLng(39.1176,-77.16278000000001)); redLine.push (new GLatLng(39.11654,-77.16191)); redLine.push (new GLatLng(39.11551,-77.16107000000001)); redLine.push (new GLatLng(39.1146,-77.16033)); redLine.push (new GLatLng(39.114180000000005,-77.16000000000001)); redLine.push (new GLatLng(39.113580000000006,-77.15960000000001)); redLine.push (new GLatLng(39.112820000000006,-77.15908)); redLine.push (new GLatLng(39.11206000000001,-77.15865000000001)); redLine.push (new GLatLng(39.10915000000001,-77.15752)); redLine.push (new GLatLng(39.10674,-77.15662)); redLine.push (new GLatLng(39.10327,-77.15538000000001)); redLine.push (new GLatLng(39.0887,-77.14995)); redLine.push (new GLatLng(39.086360000000006,-77.14840000000001)); redLine.push (new GLatLng(39.08527,-77.14732000000001)); redLine.push (new GLatLng(39.085080000000005,-77.14706000000001)); redLine.push (new GLatLng(39.081720000000004,-77.14317000000001)); redLine.push (new GLatLng(39.07809,-77.13894)); redLine.push (new GLatLng(39.07479,-77.13514)); redLine.push (new GLatLng(39.06749000000001,-77.12671)); redLine.push (new GLatLng(39.062290000000004,-77.12085)); redLine.push (new GLatLng(39.06082,-77.11902)); redLine.push (new GLatLng(39.05948,-77.11742000000001)); redLine.push (new GLatLng(39.058020000000006,-77.11580000000001)); redLine.push (new GLatLng(39.048140000000004,-77.11285000000001)); redLine.push (new GLatLng(39.04721,-77.11262)); redLine.push (new GLatLng(39.040510000000005,-77.10947)); redLine.push (new GLatLng(39.03531,-77.10683)); redLine.push (new GLatLng(39.032000000000004,-77.10504)); redLine.push (new GLatLng(39.030460000000005,-77.10441)); redLine.push (new GLatLng(39.029230000000005,-77.10384)); redLine.push (new GLatLng(39.02776,-77.10321)); redLine.push (new GLatLng(39.027010000000004,-77.10303)); redLine.push (new GLatLng(39.025330000000004,-77.10282000000001)); redLine.push (new GLatLng(39.02384,-77.10291000000001)); redLine.push (new GLatLng(39.021910000000005,-77.10291000000001)); redLine.push (new GLatLng(39.02055,-77.10282000000001)); redLine.push (new GLatLng(39.019450000000006,-77.10260000000001)); redLine.push (new GLatLng(39.018150000000006,-77.10188000000001)); redLine.push (new GLatLng(39.01729,-77.10140000000001)); redLine.push (new GLatLng(39.01507,-77.09988000000001)); redLine.push (new GLatLng(39.01064,-77.09738)); redLine.push (new GLatLng(39.00005,-77.09695)); redLine.push (new GLatLng(38.997820000000004,-77.09669000000001)); redLine.push (new GLatLng(38.99488,-77.09629000000001)); redLine.push (new GLatLng(38.992000000000004,-77.09574)); redLine.push (new GLatLng(38.99027,-77.09538)); redLine.push (new GLatLng(38.98825,-77.09495000000001)); redLine.push (new GLatLng(38.98595,-77.09448)); redLine.push (new GLatLng(38.984460000000006,-77.0942)); redLine.push (new GLatLng(38.98228,-77.09313)); redLine.push (new GLatLng(38.97715,-77.09064000000001)); redLine.push (new GLatLng(38.975750000000005,-77.09002000000001)); redLine.push (new GLatLng(38.97083000000001,-77.08916)); redLine.push (new GLatLng(38.96748,-77.08867000000001)); redLine.push (new GLatLng(38.96533,-77.08783000000001)); redLine.push (new GLatLng(38.961040000000004,-77.08571)); redLine.push (new GLatLng(38.96002,-77.0852)); redLine.push (new GLatLng(38.95799,-77.08425000000001)); redLine.push (new GLatLng(38.95107,-77.08075000000001)); redLine.push (new GLatLng(38.94877,-77.0801)); redLine.push (new GLatLng(38.947790000000005,-77.07924000000001)); redLine.push (new GLatLng(38.94651,-77.07887000000001)); redLine.push (new GLatLng(38.94315,-77.07695000000001)); redLine.push (new GLatLng(38.943200000000004,-77.06301)); redLine.push (new GLatLng(38.93471,-77.05798)); redLine.push (new GLatLng(38.92736,-77.05380000000001)); redLine.push (new GLatLng(38.925000000000004,-77.05235)); redLine.push (new GLatLng(38.923210000000005,-77.05131)); redLine.push (new GLatLng(38.92255,-77.05096)); redLine.push (new GLatLng(38.92112,-77.05007)); redLine.push (new GLatLng(38.919410000000006,-77.04911000000001)); redLine.push (new GLatLng(38.918890000000005,-77.04879000000001)); redLine.push (new GLatLng(38.918530000000004,-77.04775000000001)); redLine.push (new GLatLng(38.918220000000005,-77.04745000000001)); redLine.push (new GLatLng(38.916720000000005,-77.04667)); redLine.push (new GLatLng(38.91601,-77.04621)); redLine.push (new GLatLng(38.914680000000004,-77.04610000000001)); redLine.push (new GLatLng(38.91429,-77.04601000000001)); redLine.push (new GLatLng(38.91387,-77.04577)); redLine.push (new GLatLng(38.91236000000001,-77.04486)); redLine.push (new GLatLng(38.91038,-77.04369000000001)); redLine.push (new GLatLng(38.90961,-77.04341000000001)); redLine.push (new GLatLng(38.90889000000001,-77.04301000000001)); redLine.push (new GLatLng(38.90384,-77.03989)); redLine.push (new GLatLng(38.90334,-77.03963)); redLine.push (new GLatLng(38.90269,-77.0394)); redLine.push (new GLatLng(38.90096946135026,-77.03834295272827)); redLine.push (new GLatLng(38.90003430792673,-77.0378065109253)); redLine.push (new GLatLng(38.89916594014848,-77.03636884689331)); redLine.push (new GLatLng(38.89873175227712,-77.03518867492676)); redLine.push (new GLatLng(38.898314261435665,-77.0331072807312)); redLine.push (new GLatLng(38.89833,-77.0297)); redLine.push (new GLatLng(38.89831,-77.02778)); redLine.push (new GLatLng(38.89829,-77.02704)); redLine.push (new GLatLng(38.89833,-77.02537000000001)); redLine.push (new GLatLng(38.8984,-77.02291000000001)); redLine.push (new GLatLng(38.898410000000005,-77.02193000000001)); redLine.push (new GLatLng(38.89833,-77.01997)); redLine.push (new GLatLng(38.89612,-77.01631)); redLine.push (new GLatLng(38.896080000000005,-77.01217000000001)); redLine.push (new GLatLng(38.896150000000006,-77.0091)); redLine.push (new GLatLng(38.89665,-77.00775)); redLine.push (new GLatLng(38.8979,-77.00731)); redLine.push (new GLatLng(38.900650000000006,-77.00605)); redLine.push (new GLatLng(38.901500000000006,-77.00517)); redLine.push (new GLatLng(38.90287,-77.00422)); redLine.push (new GLatLng(38.907830000000004,-77.00242)); redLine.push (new GLatLng(38.90883,-77.00237000000001)); redLine.push (new GLatLng(38.90961,-77.00194)); redLine.push (new GLatLng(38.91046,-77.0013)); redLine.push (new GLatLng(38.91075,-77.00106000000001)); redLine.push (new GLatLng(38.911440000000006,-77.00031000000001)); redLine.push (new GLatLng(38.91264,-76.99904000000001)); redLine.push (new GLatLng(38.91353,-76.99813)); redLine.push (new GLatLng(38.92074,-76.99599)); redLine.push (new GLatLng(38.922720000000005,-76.99520000000001)); redLine.push (new GLatLng(38.92546,-76.99430000000001)); redLine.push (new GLatLng(38.92943,-76.99387)); redLine.push (new GLatLng(38.93282000000001,-76.99442)); redLine.push (new GLatLng(38.933220000000006,-76.99454)); redLine.push (new GLatLng(38.93385000000001,-76.99470000000001)); redLine.push (new GLatLng(38.93468,-76.995)); redLine.push (new GLatLng(38.935230000000004,-76.99520000000001)); redLine.push (new GLatLng(38.93582,-76.99547000000001)); redLine.push (new GLatLng(38.936420000000005,-76.99572)); redLine.push (new GLatLng(38.93699,-76.99597)); redLine.push (new GLatLng(38.93788,-76.99634)); redLine.push (new GLatLng(38.939800000000005,-76.99713000000001)); redLine.push (new GLatLng(38.95177,-77.00214000000001)); redLine.push (new GLatLng(38.9598,-77.00550000000001)); redLine.push (new GLatLng(38.962540000000004,-77.00799)); redLine.push (new GLatLng(38.966440000000006,-77.01241)); redLine.push (new GLatLng(38.96801000000001,-77.01355000000001)); redLine.push (new GLatLng(38.970420000000004,-77.01498000000001)); redLine.push (new GLatLng(38.97233000000001,-77.01602000000001)); redLine.push (new GLatLng(38.97419,-77.01709000000001)); redLine.push (new GLatLng(38.975390000000004,-77.01779)); redLine.push (new GLatLng(38.977740000000004,-77.01910000000001)); redLine.push (new GLatLng(38.980920000000005,-77.02082)); redLine.push (new GLatLng(38.98469,-77.02305000000001)); redLine.push (new GLatLng(38.98771,-77.02519000000001)); redLine.push (new GLatLng(38.989810000000006,-77.02704)); redLine.push (new GLatLng(38.992380000000004,-77.02959000000001)); redLine.push (new GLatLng(38.99407,-77.03152)); redLine.push (new GLatLng(39.00544,-77.03897)); redLine.push (new GLatLng(39.015060000000005,-77.04243000000001)); redLine.push (new GLatLng(39.015480000000004,-77.04259)); redLine.push (new GLatLng(39.03398,-77.04884000000001)); redLine.push (new GLatLng(39.03723,-77.05021)); redLine.push (new GLatLng(39.039730000000006,-77.05109)); redLine.push (new GLatLng(39.042460000000005,-77.05187000000001)); redLine.push (new GLatLng(39.046380000000006,-77.05197000000001)); redLine.push (new GLatLng(39.04986,-77.05176)); redLine.push (new GLatLng(39.05458,-77.05024)); redLine.push (new GLatLng(39.05601,-77.04968000000001)); redLine.push (new GLatLng(39.058640000000004,-77.04983)); redLine.push (new GLatLng(39.05998,-77.05058000000001)); redLine.push (new GLatLng(39.06179,-77.05296000000001)); encodedRedCenter = new BDCCPolyline(redLine,"#EF3A31",5,1,"Red Line","dot"); map.addOverlay(encodedRedLine); map.addOverlay(encodedRedCenter); } arrRedStop[597] = new ART_Location(); arrRedStop[597].point=new GLatLng(38.9844615196, -77.0941972733); arrRedStop[597].theIcon = new GIcon(); arrRedStop[597].theIcon.image = "img_map/marker_stop_metro.png"; arrRedStop[597].theIcon.iconSize = new GSize(24, 24); arrRedStop[597].theIcon.shadow = "img_map/shadow_marker.png"; arrRedStop[597].theIcon.shadowSize = new GSize(37, 24); arrRedStop[597].theIcon.iconAnchor = new GPoint(7, 16); arrRedStop[597].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrRedStop[597].theIcon, title:"Bethesda"}; arrRedStop[597].marker = new GMarker(arrRedStop[597].point, markerOptions); map.addOverlay(arrRedStop[597].marker); GEvent.addListener(arrRedStop[597].marker,"click",function(){clearTimeout(T); pidInfo(597);}); arrRedStop[937] = new ART_Location(); arrRedStop[937].point=new GLatLng(38.9332246423, -76.9945371151); arrRedStop[937].theIcon = new GIcon(); arrRedStop[937].theIcon.image = "img_map/marker_stop_metro.png"; arrRedStop[937].theIcon.iconSize = new GSize(24, 24); arrRedStop[937].theIcon.shadow = "img_map/shadow_marker.png"; arrRedStop[937].theIcon.shadowSize = new GSize(37, 24); arrRedStop[937].theIcon.iconAnchor = new GPoint(7, 16); arrRedStop[937].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrRedStop[937].theIcon, title:"Brookland-CUA"}; arrRedStop[937].marker = new GMarker(arrRedStop[937].point, markerOptions); map.addOverlay(arrRedStop[937].marker); GEvent.addListener(arrRedStop[937].marker,"click",function(){clearTimeout(T); pidInfo(937);}); arrRedStop[934] = new ART_Location(); arrRedStop[934].point=new GLatLng(38.934709959, -77.057890892); arrRedStop[934].theIcon = new GIcon(); arrRedStop[934].theIcon.image = "img_map/marker_stop_metro.png"; arrRedStop[934].theIcon.iconSize = new GSize(24, 24); arrRedStop[934].theIcon.shadow = "img_map/shadow_marker.png"; arrRedStop[934].theIcon.shadowSize = new GSize(37, 24); arrRedStop[934].theIcon.iconAnchor = new GPoint(7, 16); arrRedStop[934].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrRedStop[934].theIcon, title:"Cleveland Park"}; arrRedStop[934].marker = new GMarker(arrRedStop[934].point, markerOptions); map.addOverlay(arrRedStop[934].marker); GEvent.addListener(arrRedStop[934].marker,"click",function(){clearTimeout(T); pidInfo(934);}); arrRedStop[783] = new ART_Location(); arrRedStop[783].point=new GLatLng(38.9096357263, -77.0433399081); arrRedStop[783].theIcon = new GIcon(); arrRedStop[783].theIcon.image = "img_map/marker_stop_metro.png"; arrRedStop[783].theIcon.iconSize = new GSize(24, 24); arrRedStop[783].theIcon.shadow = "img_map/shadow_marker.png"; arrRedStop[783].theIcon.shadowSize = new GSize(37, 24); arrRedStop[783].theIcon.iconAnchor = new GPoint(7, 16); arrRedStop[783].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrRedStop[783].theIcon, title:"Dupont Circle"}; arrRedStop[783].marker = new GMarker(arrRedStop[783].point, markerOptions); map.addOverlay(arrRedStop[783].marker); GEvent.addListener(arrRedStop[783].marker,"click",function(){clearTimeout(T); pidInfo(783);}); arrRedStop[196] = new ART_Location(); arrRedStop[196].point=new GLatLng(38.9033511246, -77.0395043492); arrRedStop[196].theIcon = new GIcon(); arrRedStop[196].theIcon.image = "img_map/marker_stop_metro.png"; arrRedStop[196].theIcon.iconSize = new GSize(24, 24); arrRedStop[196].theIcon.shadow = "img_map/shadow_marker.png"; arrRedStop[196].theIcon.shadowSize = new GSize(37, 24); arrRedStop[196].theIcon.iconAnchor = new GPoint(7, 16); arrRedStop[196].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrRedStop[196].theIcon, title:"Farragut North"}; arrRedStop[196].marker = new GMarker(arrRedStop[196].point, markerOptions); map.addOverlay(arrRedStop[196].marker); GEvent.addListener(arrRedStop[196].marker,"click",function(){clearTimeout(T); pidInfo(196);}); arrRedStop[968] = new ART_Location(); arrRedStop[968].point=new GLatLng(39.0154804636, -77.0425862074); arrRedStop[968].theIcon = new GIcon(); arrRedStop[968].theIcon.image = "img_map/marker_stop_metro.png"; arrRedStop[968].theIcon.iconSize = new GSize(24, 24); arrRedStop[968].theIcon.shadow = "img_map/shadow_marker.png"; arrRedStop[968].theIcon.shadowSize = new GSize(37, 24); arrRedStop[968].theIcon.iconAnchor = new GPoint(7, 16); arrRedStop[968].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrRedStop[968].theIcon, title:"Forest Glen"}; arrRedStop[968].marker = new GMarker(arrRedStop[968].point, markerOptions); map.addOverlay(arrRedStop[968].marker); GEvent.addListener(arrRedStop[968].marker,"click",function(){clearTimeout(T); pidInfo(968);}); arrRedStop[947] = new ART_Location(); arrRedStop[947].point=new GLatLng(38.9518061074, -77.0018595457); arrRedStop[947].theIcon = new GIcon(); arrRedStop[947].theIcon.image = "img_map/marker_stop_metro.png"; arrRedStop[947].theIcon.iconSize = new GSize(24, 24); arrRedStop[947].theIcon.shadow = "img_map/shadow_marker.png"; arrRedStop[947].theIcon.shadowSize = new GSize(37, 24); arrRedStop[947].theIcon.iconAnchor = new GPoint(7, 16); arrRedStop[947].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrRedStop[947].theIcon, title:"Fort Totten"}; arrRedStop[947].marker = new GMarker(arrRedStop[947].point, markerOptions); map.addOverlay(arrRedStop[947].marker); GEvent.addListener(arrRedStop[947].marker,"click",function(){clearTimeout(T); pidInfo(947);}); arrRedStop[769] = new ART_Location(); arrRedStop[769].point=new GLatLng(38.9600261113, -77.085198462); arrRedStop[769].theIcon = new GIcon(); arrRedStop[769].theIcon.image = "img_map/marker_stop_metro.png"; arrRedStop[769].theIcon.iconSize = new GSize(24, 24); arrRedStop[769].theIcon.shadow = "img_map/shadow_marker.png"; arrRedStop[769].theIcon.shadowSize = new GSize(37, 24); arrRedStop[769].theIcon.iconAnchor = new GPoint(7, 16); arrRedStop[769].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrRedStop[769].theIcon, title:"Friendship Heights"}; arrRedStop[769].marker = new GMarker(arrRedStop[769].point, markerOptions); map.addOverlay(arrRedStop[769].marker); GEvent.addListener(arrRedStop[769].marker,"click",function(){clearTimeout(T); pidInfo(769);}); arrRedStop[801] = new ART_Location(); arrRedStop[801].point=new GLatLng(38.8983517661, -77.0219278336); arrRedStop[801].theIcon = new GIcon(); arrRedStop[801].theIcon.image = "img_map/marker_stop_metro.png"; arrRedStop[801].theIcon.iconSize = new GSize(24, 24); arrRedStop[801].theIcon.shadow = "img_map/shadow_marker.png"; arrRedStop[801].theIcon.shadowSize = new GSize(37, 24); arrRedStop[801].theIcon.iconAnchor = new GPoint(7, 16); arrRedStop[801].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrRedStop[801].theIcon, title:"Gallery Pl-Chinatown"}; arrRedStop[801].marker = new GMarker(arrRedStop[801].point, markerOptions); map.addOverlay(arrRedStop[801].marker); GEvent.addListener(arrRedStop[801].marker,"click",function(){clearTimeout(T); pidInfo(801);}); arrRedStop[1001] = new ART_Location(); arrRedStop[1001].point=new GLatLng(39.0616989061, -77.0526981354); arrRedStop[1001].theIcon = new GIcon(); arrRedStop[1001].theIcon.image = "img_map/marker_stop_metro.png"; arrRedStop[1001].theIcon.iconSize = new GSize(24, 24); arrRedStop[1001].theIcon.shadow = "img_map/shadow_marker.png"; arrRedStop[1001].theIcon.shadowSize = new GSize(37, 24); arrRedStop[1001].theIcon.iconAnchor = new GPoint(7, 16); arrRedStop[1001].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrRedStop[1001].theIcon, title:"Glenmont"}; arrRedStop[1001].marker = new GMarker(arrRedStop[1001].point, markerOptions); map.addOverlay(arrRedStop[1001].marker); GEvent.addListener(arrRedStop[1001].marker,"click",function(){clearTimeout(T); pidInfo(1001);}); arrRedStop[1269] = new ART_Location(); arrRedStop[1269].point=new GLatLng(39.0292377708, -77.1038344502); arrRedStop[1269].theIcon = new GIcon(); arrRedStop[1269].theIcon.image = "img_map/marker_stop_metro.png"; arrRedStop[1269].theIcon.iconSize = new GSize(24, 24); arrRedStop[1269].theIcon.shadow = "img_map/shadow_marker.png"; arrRedStop[1269].theIcon.shadowSize = new GSize(37, 24); arrRedStop[1269].theIcon.iconAnchor = new GPoint(7, 16); arrRedStop[1269].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrRedStop[1269].theIcon, title:"Grosvenor-Strathmore"}; arrRedStop[1269].marker = new GMarker(arrRedStop[1269].point, markerOptions); map.addOverlay(arrRedStop[1269].marker); GEvent.addListener(arrRedStop[1269].marker,"click",function(){clearTimeout(T); pidInfo(1269);}); arrRedStop[1271] = new ART_Location(); arrRedStop[1271].point=new GLatLng(38.8961516196, -77.0163542032); arrRedStop[1271].theIcon = new GIcon(); arrRedStop[1271].theIcon.image = "img_map/marker_stop_metro.png"; arrRedStop[1271].theIcon.iconSize = new GSize(24, 24); arrRedStop[1271].theIcon.shadow = "img_map/shadow_marker.png"; arrRedStop[1271].theIcon.shadowSize = new GSize(37, 24); arrRedStop[1271].theIcon.iconAnchor = new GPoint(7, 16); arrRedStop[1271].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrRedStop[1271].theIcon, title:"Judiciary Square"}; arrRedStop[1271].marker = new GMarker(arrRedStop[1271].point, markerOptions); map.addOverlay(arrRedStop[1271].marker); GEvent.addListener(arrRedStop[1271].marker,"click",function(){clearTimeout(T); pidInfo(1271);}); arrRedStop[598] = new ART_Location(); arrRedStop[598].point=new GLatLng(39.0000570951, -77.0969438553); arrRedStop[598].theIcon = new GIcon(); arrRedStop[598].theIcon.image = "img_map/marker_stop_metro.png"; arrRedStop[598].theIcon.iconSize = new GSize(24, 24); arrRedStop[598].theIcon.shadow = "img_map/shadow_marker.png"; arrRedStop[598].theIcon.shadowSize = new GSize(37, 24); arrRedStop[598].theIcon.iconAnchor = new GPoint(7, 16); arrRedStop[598].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrRedStop[598].theIcon, title:"Medical Center"}; arrRedStop[598].marker = new GMarker(arrRedStop[598].point, markerOptions); map.addOverlay(arrRedStop[598].marker); GEvent.addListener(arrRedStop[598].marker,"click",function(){clearTimeout(T); pidInfo(598);}); arrRedStop[17] = new ART_Location(); arrRedStop[17].point=new GLatLng(38.8983184364, -77.0277750492); arrRedStop[17].theIcon = new GIcon(); arrRedStop[17].theIcon.image = "img_map/marker_stop_metro.png"; arrRedStop[17].theIcon.iconSize = new GSize(24, 24); arrRedStop[17].theIcon.shadow = "img_map/shadow_marker.png"; arrRedStop[17].theIcon.shadowSize = new GSize(37, 24); arrRedStop[17].theIcon.iconAnchor = new GPoint(7, 16); arrRedStop[17].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrRedStop[17].theIcon, title:"Metro Center"}; arrRedStop[17].marker = new GMarker(arrRedStop[17].point, markerOptions); map.addOverlay(arrRedStop[17].marker); GEvent.addListener(arrRedStop[17].marker,"click",function(){clearTimeout(T); pidInfo(17);}); arrRedStop[1272] = new ART_Location(); arrRedStop[1272].point=new GLatLng(38.9074139617, -77.0029807091); arrRedStop[1272].theIcon = new GIcon(); arrRedStop[1272].theIcon.image = "img_map/marker_stop_metro.png"; arrRedStop[1272].theIcon.iconSize = new GSize(24, 24); arrRedStop[1272].theIcon.shadow = "img_map/shadow_marker.png"; arrRedStop[1272].theIcon.shadowSize = new GSize(37, 24); arrRedStop[1272].theIcon.iconAnchor = new GPoint(7, 16); arrRedStop[1272].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrRedStop[1272].theIcon, title:"New York Ave-Florida Ave-Gallaudet U"}; arrRedStop[1272].marker = new GMarker(arrRedStop[1272].point, markerOptions); map.addOverlay(arrRedStop[1272].marker); GEvent.addListener(arrRedStop[1272].marker,"click",function(){clearTimeout(T); pidInfo(1272);}); arrRedStop[810] = new ART_Location(); arrRedStop[810].point=new GLatLng(38.9207424976, -76.9959801435); arrRedStop[810].theIcon = new GIcon(); arrRedStop[810].theIcon.image = "img_map/marker_stop_metro.png"; arrRedStop[810].theIcon.iconSize = new GSize(24, 24); arrRedStop[810].theIcon.shadow = "img_map/shadow_marker.png"; arrRedStop[810].theIcon.shadowSize = new GSize(37, 24); arrRedStop[810].theIcon.iconAnchor = new GPoint(7, 16); arrRedStop[810].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrRedStop[810].theIcon, title:"Rhode Island Ave-Brentwood"}; arrRedStop[810].marker = new GMarker(arrRedStop[810].point, markerOptions); map.addOverlay(arrRedStop[810].marker); GEvent.addListener(arrRedStop[810].marker,"click",function(){clearTimeout(T); pidInfo(810);}); arrRedStop[970] = new ART_Location(); arrRedStop[970].point=new GLatLng(39.0851333553, -77.1470743418); arrRedStop[970].theIcon = new GIcon(); arrRedStop[970].theIcon.image = "img_map/marker_stop_metro.png"; arrRedStop[970].theIcon.iconSize = new GSize(24, 24); arrRedStop[970].theIcon.shadow = "img_map/shadow_marker.png"; arrRedStop[970].theIcon.shadowSize = new GSize(37, 24); arrRedStop[970].theIcon.iconAnchor = new GPoint(7, 16); arrRedStop[970].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrRedStop[970].theIcon, title:"Rockville"}; arrRedStop[970].marker = new GMarker(arrRedStop[970].point, markerOptions); map.addOverlay(arrRedStop[970].marker); GEvent.addListener(arrRedStop[970].marker,"click",function(){clearTimeout(T); pidInfo(970);}); arrRedStop[972] = new ART_Location(); arrRedStop[972].point=new GLatLng(39.1199892687, -77.1647635102); arrRedStop[972].theIcon = new GIcon(); arrRedStop[972].theIcon.image = "img_map/marker_stop_metro.png"; arrRedStop[972].theIcon.iconSize = new GSize(24, 24); arrRedStop[972].theIcon.shadow = "img_map/shadow_marker.png"; arrRedStop[972].theIcon.shadowSize = new GSize(37, 24); arrRedStop[972].theIcon.iconAnchor = new GPoint(7, 16); arrRedStop[972].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrRedStop[972].theIcon, title:"Shady Grove"}; arrRedStop[972].marker = new GMarker(arrRedStop[972].point, markerOptions); map.addOverlay(arrRedStop[972].marker); GEvent.addListener(arrRedStop[972].marker,"click",function(){clearTimeout(T); pidInfo(972);}); arrRedStop[197] = new ART_Location(); arrRedStop[197].point=new GLatLng(38.9940720963, -77.031519413); arrRedStop[197].theIcon = new GIcon(); arrRedStop[197].theIcon.image = "img_map/marker_stop_metro.png"; arrRedStop[197].theIcon.iconSize = new GSize(24, 24); arrRedStop[197].theIcon.shadow = "img_map/shadow_marker.png"; arrRedStop[197].theIcon.shadowSize = new GSize(37, 24); arrRedStop[197].theIcon.iconAnchor = new GPoint(7, 16); arrRedStop[197].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrRedStop[197].theIcon, title:"Silver Spring"}; arrRedStop[197].marker = new GMarker(arrRedStop[197].point, markerOptions); map.addOverlay(arrRedStop[197].marker); GEvent.addListener(arrRedStop[197].marker,"click",function(){clearTimeout(T); pidInfo(197);}); arrRedStop[793] = new ART_Location(); arrRedStop[793].point=new GLatLng(38.9754290111, -77.0174109936); arrRedStop[793].theIcon = new GIcon(); arrRedStop[793].theIcon.image = "img_map/marker_stop_metro.png"; arrRedStop[793].theIcon.iconSize = new GSize(24, 24); arrRedStop[793].theIcon.shadow = "img_map/shadow_marker.png"; arrRedStop[793].theIcon.shadowSize = new GSize(37, 24); arrRedStop[793].theIcon.iconAnchor = new GPoint(7, 16); arrRedStop[793].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrRedStop[793].theIcon, title:"Takoma"}; arrRedStop[793].marker = new GMarker(arrRedStop[793].point, markerOptions); map.addOverlay(arrRedStop[793].marker); GEvent.addListener(arrRedStop[793].marker,"click",function(){clearTimeout(T); pidInfo(793);}); arrRedStop[771] = new ART_Location(); arrRedStop[771].point=new GLatLng(38.9477906612, -77.079230547); arrRedStop[771].theIcon = new GIcon(); arrRedStop[771].theIcon.image = "img_map/marker_stop_metro.png"; arrRedStop[771].theIcon.iconSize = new GSize(24, 24); arrRedStop[771].theIcon.shadow = "img_map/shadow_marker.png"; arrRedStop[771].theIcon.shadowSize = new GSize(37, 24); arrRedStop[771].theIcon.iconAnchor = new GPoint(7, 16); arrRedStop[771].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrRedStop[771].theIcon, title:"Tenleytown-AU"}; arrRedStop[771].marker = new GMarker(arrRedStop[771].point, markerOptions); map.addOverlay(arrRedStop[771].marker); GEvent.addListener(arrRedStop[771].marker,"click",function(){clearTimeout(T); pidInfo(771);}); arrRedStop[878] = new ART_Location(); arrRedStop[878].point=new GLatLng(39.0622987065, -77.120847702); arrRedStop[878].theIcon = new GIcon(); arrRedStop[878].theIcon.image = "img_map/marker_stop_metro.png"; arrRedStop[878].theIcon.iconSize = new GSize(24, 24); arrRedStop[878].theIcon.shadow = "img_map/shadow_marker.png"; arrRedStop[878].theIcon.shadowSize = new GSize(37, 24); arrRedStop[878].theIcon.iconAnchor = new GPoint(7, 16); arrRedStop[878].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrRedStop[878].theIcon, title:"Twinbrook"}; arrRedStop[878].marker = new GMarker(arrRedStop[878].point, markerOptions); map.addOverlay(arrRedStop[878].marker); GEvent.addListener(arrRedStop[878].marker,"click",function(){clearTimeout(T); pidInfo(878);}); arrRedStop[911] = new ART_Location(); arrRedStop[911].point=new GLatLng(38.8979447452, -77.0072802901); arrRedStop[911].theIcon = new GIcon(); arrRedStop[911].theIcon.image = "img_map/marker_stop_metro.png"; arrRedStop[911].theIcon.iconSize = new GSize(24, 24); arrRedStop[911].theIcon.shadow = "img_map/shadow_marker.png"; arrRedStop[911].theIcon.shadowSize = new GSize(37, 24); arrRedStop[911].theIcon.iconAnchor = new GPoint(7, 16); arrRedStop[911].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrRedStop[911].theIcon, title:"Union Station"}; arrRedStop[911].marker = new GMarker(arrRedStop[911].point, markerOptions); map.addOverlay(arrRedStop[911].marker); GEvent.addListener(arrRedStop[911].marker,"click",function(){clearTimeout(T); pidInfo(911);}); arrRedStop[932] = new ART_Location(); arrRedStop[932].point=new GLatLng(38.9436476992, -77.063190937); arrRedStop[932].theIcon = new GIcon(); arrRedStop[932].theIcon.image = "img_map/marker_stop_metro.png"; arrRedStop[932].theIcon.iconSize = new GSize(24, 24); arrRedStop[932].theIcon.shadow = "img_map/shadow_marker.png"; arrRedStop[932].theIcon.shadowSize = new GSize(37, 24); arrRedStop[932].theIcon.iconAnchor = new GPoint(7, 16); arrRedStop[932].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrRedStop[932].theIcon, title:"Van Ness-UDC"}; arrRedStop[932].marker = new GMarker(arrRedStop[932].point, markerOptions); map.addOverlay(arrRedStop[932].marker); GEvent.addListener(arrRedStop[932].marker,"click",function(){clearTimeout(T); pidInfo(932);}); arrRedStop[880] = new ART_Location(); arrRedStop[880].point=new GLatLng(39.0385695924, -77.0507079363); arrRedStop[880].theIcon = new GIcon(); arrRedStop[880].theIcon.image = "img_map/marker_stop_metro.png"; arrRedStop[880].theIcon.iconSize = new GSize(24, 24); arrRedStop[880].theIcon.shadow = "img_map/shadow_marker.png"; arrRedStop[880].theIcon.shadowSize = new GSize(37, 24); arrRedStop[880].theIcon.iconAnchor = new GPoint(7, 16); arrRedStop[880].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrRedStop[880].theIcon, title:"Wheaton"}; arrRedStop[880].marker = new GMarker(arrRedStop[880].point, markerOptions); map.addOverlay(arrRedStop[880].marker); GEvent.addListener(arrRedStop[880].marker,"click",function(){clearTimeout(T); pidInfo(880);}); arrRedStop[1268] = new ART_Location(); arrRedStop[1268].point=new GLatLng(39.048144003, -77.1128439903); arrRedStop[1268].theIcon = new GIcon(); arrRedStop[1268].theIcon.image = "img_map/marker_stop_metro.png"; arrRedStop[1268].theIcon.iconSize = new GSize(24, 24); arrRedStop[1268].theIcon.shadow = "img_map/shadow_marker.png"; arrRedStop[1268].theIcon.shadowSize = new GSize(37, 24); arrRedStop[1268].theIcon.iconAnchor = new GPoint(7, 16); arrRedStop[1268].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrRedStop[1268].theIcon, title:"White Flint"}; arrRedStop[1268].marker = new GMarker(arrRedStop[1268].point, markerOptions); map.addOverlay(arrRedStop[1268].marker); GEvent.addListener(arrRedStop[1268].marker,"click",function(){clearTimeout(T); pidInfo(1268);}); arrRedStop[1270] = new ART_Location(); arrRedStop[1270].point=new GLatLng(38.9250036865, -77.0523494482); arrRedStop[1270].theIcon = new GIcon(); arrRedStop[1270].theIcon.image = "img_map/marker_stop_metro.png"; arrRedStop[1270].theIcon.iconSize = new GSize(24, 24); arrRedStop[1270].theIcon.shadow = "img_map/shadow_marker.png"; arrRedStop[1270].theIcon.shadowSize = new GSize(37, 24); arrRedStop[1270].theIcon.iconAnchor = new GPoint(7, 16); arrRedStop[1270].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrRedStop[1270].theIcon, title:"Woodley Park-Zoo/Adams Morgan"}; arrRedStop[1270].marker = new GMarker(arrRedStop[1270].point, markerOptions); map.addOverlay(arrRedStop[1270].marker); GEvent.addListener(arrRedStop[1270].marker,"click",function(){clearTimeout(T); pidInfo(1270);}); RedIsOn = true; } break; case "Blue": if(BlueIsOn) { map.removeOverlay(encodedBlueLine); map.removeOverlay(encodedBlueCenter); for(i in arrBlueStop) { map.removeOverlay(arrBlueStop[i].marker); } BlueIsOn = false; } else { if (ua == "safari"){ encodedBlueLine = new GPolyline.fromEncoded({ color: "#3399FF", weight: 7, opacity: .7, points: "qprkFx~~uMmI}\\qLsRgMqKiYsIeqAeLuNmEeLeJ{IkSwPczBwGcx@uIac@iJqToOw]kCgOm@yOxDuZxCs^pGijCoAeQ_CwQgEaK_RkU_[sU{x@ue@{WaGaj@`B_tBoQe|@t`B_j@{`@k}Atv@{bApv@q_@}zAA{j@HaT_C_JSs`@Nkg@?eYpzAb@bDsBbBgDH{GNeM?kOoAsc@Iuz@C{i@nJo_@dT}s@yRuq@aNQlHyz@hBu[ug@ih@X}sBb@wg@PurAR}Z|A}RpGaVdGm]KyZr@{VOoOOyLeAsLuGk\\aFqPsE{PgEeOyCoI_FuRkDgK_EmTqAwSoBah@{AeVuEeGkNiT", levels: "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB", zoomFactor: 32, numLevels: 4 }); encodedBlueCenter = new GPolyline.fromEncoded({ color: "#666666", weight: 4, opacity: .7, points: "qprkFx~~uMmI}\\qLsRgMqKiYsIeqAeLuNmEeLeJ{IkSwPczBwGcx@uIac@iJqToOw]kCgOm@yOxDuZxCs^pGijCoAeQ_CwQgEaK_RkU_[sU{x@ue@{WaGaj@`B_tBoQe|@t`B_j@{`@k}Atv@{bApv@q_@}zAA{j@HaT_C_JSs`@Nkg@?eYpzAb@bDsBbBgDH{GNeM?kOoAsc@Iuz@C{i@nJo_@dT}s@yRuq@aNQlHyz@hBu[ug@ih@X}sBb@wg@PurAR}Z|A}RpGaVdGm]KyZr@{VOoOOyLeAsLuGk\\aFqPsE{PgEeOyCoI_FuRkDgK_EmTqAwSoBah@{AeVuEeGkNiT", levels: "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB", zoomFactor: 32, numLevels: 4 }); map.addOverlay(encodedBlueLine); map.addOverlay(encodedBlueCenter); }else{ encodedBlueLine = new GPolyline.fromEncoded({ color: "#666666", weight: 8, opacity: .7, points: "qprkFx~~uMmI}\\qLsRgMqKiYsIeqAeLuNmEeLeJ{IkSwPczBwGcx@uIac@iJqToOw]kCgOm@yOxDuZxCs^pGijCoAeQ_CwQgEaK_RkU_[sU{x@ue@{WaGaj@`B_tBoQe|@t`B_j@{`@k}Atv@{bApv@q_@}zAA{j@HaT_C_JSs`@Nkg@?eYpzAb@bDsBbBgDH{GNeM?kOoAsc@Iuz@C{i@nJo_@dT}s@yRuq@aNQlHyz@hBu[ug@ih@X}sBb@wg@PurAR}Z|A}RpGaVdGm]KyZr@{VOoOOyLeAsLuGk\\aFqPsE{PgEeOyCoI_FuRkDgK_EmTqAwSoBah@{AeVuEeGkNiT", levels: "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB", zoomFactor: 32, numLevels: 4 }); var blueLine = new Array(); blueLine.push (new GLatLng(38.76633,-77.16861)); blueLine.push (new GLatLng(38.768,-77.16381000000001)); blueLine.push (new GLatLng(38.77017,-77.16068)); blueLine.push (new GLatLng(38.772450000000006,-77.15867)); blueLine.push (new GLatLng(38.77666,-77.15697)); blueLine.push (new GLatLng(38.78981,-77.15486)); blueLine.push (new GLatLng(38.792320000000004,-77.15383)); blueLine.push (new GLatLng(38.794430000000006,-77.15204)); blueLine.push (new GLatLng(38.796170000000004,-77.14878)); blueLine.push (new GLatLng(38.79901,-77.12908)); blueLine.push (new GLatLng(38.80041000000001,-77.11994)); blueLine.push (new GLatLng(38.80212,-77.11417)); blueLine.push (new GLatLng(38.80393,-77.11072)); blueLine.push (new GLatLng(38.80657,-77.10579000000001)); blueLine.push (new GLatLng(38.80727,-77.10319000000001)); blueLine.push (new GLatLng(38.807500000000005,-77.10051)); blueLine.push (new GLatLng(38.80657,-77.09608)); blueLine.push (new GLatLng(38.805800000000005,-77.09102)); blueLine.push (new GLatLng(38.80443,-77.06873)); blueLine.push (new GLatLng(38.80483,-77.06582)); blueLine.push (new GLatLng(38.80547,-77.06281000000001)); blueLine.push (new GLatLng(38.806470000000004,-77.06089)); blueLine.push (new GLatLng(38.80951,-77.05731)); blueLine.push (new GLatLng(38.813990000000004,-77.05369)); blueLine.push (new GLatLng(38.82325,-77.0475)); blueLine.push (new GLatLng(38.82723,-77.04621)); blueLine.push (new GLatLng(38.834120000000006,-77.04669000000001)); blueLine.push (new GLatLng(38.85284,-77.04374)); blueLine.push (new GLatLng(38.86263,-77.05937)); blueLine.push (new GLatLng(38.869510000000005,-77.05395)); blueLine.push (new GLatLng(38.88461,-77.06286)); blueLine.push (new GLatLng(38.89547525862026,-77.07174181938171)); blueLine.push (new GLatLng(38.900685020289835,-77.05703258514404)); blueLine.push (new GLatLng(38.900693787228114,-77.05001592636108)); blueLine.push (new GLatLng(38.90064793418734,-77.04664170742035)); blueLine.push (new GLatLng(38.90128646450089,-77.04488754272461)); blueLine.push (new GLatLng(38.90138665833274,-77.0395016670227)); blueLine.push (new GLatLng(38.90130316348268,-77.03304290771484)); blueLine.push (new GLatLng(38.901303441731066,-77.02885866165161)); blueLine.push (new GLatLng(38.88665692622359,-77.02903032302856)); blueLine.push (new GLatLng(38.8858385027414,-77.02845096588135)); blueLine.push (new GLatLng(38.88533742248675,-77.0276141166687)); blueLine.push (new GLatLng(38.885287314266904,-77.02619791030884)); blueLine.push (new GLatLng(38.88520380048863,-77.02392339706421)); blueLine.push (new GLatLng(38.88520380048863,-77.02130556106567)); blueLine.push (new GLatLng(38.88560466572905,-77.01544761657715)); blueLine.push (new GLatLng(38.88565477372505,-77.00589895248413)); blueLine.push (new GLatLng(38.88567119807291,-76.999032497406)); blueLine.push (new GLatLng(38.88383416051788,-76.99383974075317)); blueLine.push (new GLatLng(38.880443352851955,-76.98536396026611)); blueLine.push (new GLatLng(38.883617020048916,-76.97725296020508)); blueLine.push (new GLatLng(38.88602167466609,-76.9771671295166)); blueLine.push (new GLatLng(38.88451898380375,-76.96759700775146)); blueLine.push (new GLatLng(38.88398448814609,-76.96300506591797)); blueLine.push (new GLatLng(38.89049837983867,-76.95639610290527)); blueLine.push (new GLatLng(38.8903636543829,-76.93768501281738)); blueLine.push (new GLatLng(38.89018077194573,-76.93116188049316)); blueLine.push (new GLatLng(38.89009726392006,-76.91777229309082)); blueLine.push (new GLatLng(38.88999705415964,-76.91330909729004)); blueLine.push (new GLatLng(38.88952940674187,-76.91011190414429)); blueLine.push (new GLatLng(38.88815985016496,-76.9064211845398)); blueLine.push (new GLatLng(38.88684037434314,-76.90155029296875)); blueLine.push (new GLatLng(38.88690718383454,-76.89710855484009)); blueLine.push (new GLatLng(38.88664022379776,-76.89328908920288)); blueLine.push (new GLatLng(38.886723457581994,-76.89064979553223)); blueLine.push (new GLatLng(38.88680696957387,-76.88843965530396)); blueLine.push (new GLatLng(38.88715771886775,-76.8862509727478)); blueLine.push (new GLatLng(38.88854427504568,-76.88155174255371)); blueLine.push (new GLatLng(38.88967972231906,-76.8787407875061)); blueLine.push (new GLatLng(38.89073192245295,-76.87588691711426)); blueLine.push (new GLatLng(38.89173400332791,-76.87329053878784)); blueLine.push (new GLatLng(38.89250225575791,-76.87161684036255)); blueLine.push (new GLatLng(38.8936212172575,-76.86846256256104)); blueLine.push (new GLatLng(38.8944896528381,-76.8665099143982)); blueLine.push (new GLatLng(38.8954415796403,-76.86307668685913)); blueLine.push (new GLatLng(38.89585908737033,-76.85975074768066)); blueLine.push (new GLatLng(38.8964101938157,-76.8531847000122)); blueLine.push (new GLatLng(38.89687779593067,-76.8494725227356)); blueLine.push (new GLatLng(38.897946589203265,-76.84816360473633)); blueLine.push (new GLatLng(38.90040169109764,-76.84475183486938)); encodedBlueCenter = new BDCCPolyline(blueLine,"#3399FF",5,1,"Blue Line","dot"); map.addOverlay(encodedBlueLine); map.addOverlay(encodedBlueCenter); } arrBlueStop[838] = new ART_Location(); arrBlueStop[838].point=new GLatLng(38.8866229648, -76.8932676315); arrBlueStop[838].theIcon = new GIcon(); arrBlueStop[838].theIcon.image = "img_map/marker_stop_metro.png"; arrBlueStop[838].theIcon.iconSize = new GSize(24, 24); arrBlueStop[838].theIcon.shadow = "img_map/shadow_marker.png"; arrBlueStop[838].theIcon.shadowSize = new GSize(37, 24); arrBlueStop[838].theIcon.iconAnchor = new GPoint(7, 16); arrBlueStop[838].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrBlueStop[838].theIcon, title:"Addison Road-Seat Pleasant"}; arrBlueStop[838].marker = new GMarker(arrBlueStop[838].point, markerOptions); map.addOverlay(arrBlueStop[838].marker); GEvent.addListener(arrBlueStop[838].marker,"click",function(){clearTimeout(T); pidInfo(838);}); arrBlueStop[1158] = new ART_Location(); arrBlueStop[1158].point=new GLatLng(38.8845189838, -77.0627832413); arrBlueStop[1158].theIcon = new GIcon(); arrBlueStop[1158].theIcon.image = "img_map/marker_stop_metro.png"; arrBlueStop[1158].theIcon.iconSize = new GSize(24, 24); arrBlueStop[1158].theIcon.shadow = "img_map/shadow_marker.png"; arrBlueStop[1158].theIcon.shadowSize = new GSize(37, 24); arrBlueStop[1158].theIcon.iconAnchor = new GPoint(7, 16); arrBlueStop[1158].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrBlueStop[1158].theIcon, title:"Arlington Cemetery"}; arrBlueStop[1158].marker = new GMarker(arrBlueStop[1158].point, markerOptions); map.addOverlay(arrBlueStop[1158].marker); GEvent.addListener(arrBlueStop[1158].marker,"click",function(){clearTimeout(T); pidInfo(1158);}); arrBlueStop[1266] = new ART_Location(); arrBlueStop[1266].point=new GLatLng(38.8904310171, -76.9376850128); arrBlueStop[1266].theIcon = new GIcon(); arrBlueStop[1266].theIcon.image = "img_map/marker_stop_metro.png"; arrBlueStop[1266].theIcon.iconSize = new GSize(24, 24); arrBlueStop[1266].theIcon.shadow = "img_map/shadow_marker.png"; arrBlueStop[1266].theIcon.shadowSize = new GSize(37, 24); arrBlueStop[1266].theIcon.iconAnchor = new GPoint(7, 16); arrBlueStop[1266].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrBlueStop[1266].theIcon, title:"Benning Road"}; arrBlueStop[1266].marker = new GMarker(arrBlueStop[1266].point, markerOptions); map.addOverlay(arrBlueStop[1266].marker); GEvent.addListener(arrBlueStop[1266].marker,"click",function(){clearTimeout(T); pidInfo(1266);}); arrBlueStop[44] = new ART_Location(); arrBlueStop[44].point=new GLatLng(38.814056054, -77.0534384251); arrBlueStop[44].theIcon = new GIcon(); arrBlueStop[44].theIcon.image = "img_map/marker_stop_metro.png"; arrBlueStop[44].theIcon.iconSize = new GSize(24, 24); arrBlueStop[44].theIcon.shadow = "img_map/shadow_marker.png"; arrBlueStop[44].theIcon.shadowSize = new GSize(37, 24); arrBlueStop[44].theIcon.iconAnchor = new GPoint(7, 16); arrBlueStop[44].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrBlueStop[44].theIcon, title:"Braddock Road"}; arrBlueStop[44].marker = new GMarker(arrBlueStop[44].point, markerOptions); map.addOverlay(arrBlueStop[44].marker); GEvent.addListener(arrBlueStop[44].marker,"click",function(){clearTimeout(T); pidInfo(44);}); arrBlueStop[837] = new ART_Location(); arrBlueStop[837].point=new GLatLng(38.8895291284, -76.9132661819); arrBlueStop[837].theIcon = new GIcon(); arrBlueStop[837].theIcon.image = "img_map/marker_stop_metro.png"; arrBlueStop[837].theIcon.iconSize = new GSize(24, 24); arrBlueStop[837].theIcon.shadow = "img_map/shadow_marker.png"; arrBlueStop[837].theIcon.shadowSize = new GSize(37, 24); arrBlueStop[837].theIcon.iconAnchor = new GPoint(7, 16); arrBlueStop[837].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrBlueStop[837].theIcon, title:"Capitol Heights"}; arrBlueStop[837].marker = new GMarker(arrBlueStop[837].point, markerOptions); map.addOverlay(arrBlueStop[837].marker); GEvent.addListener(arrBlueStop[837].marker,"click",function(){clearTimeout(T); pidInfo(837);}); arrBlueStop[22] = new ART_Location(); arrBlueStop[22].point=new GLatLng(38.8856213684, -77.0059204102); arrBlueStop[22].theIcon = new GIcon(); arrBlueStop[22].theIcon.image = "img_map/marker_stop_metro.png"; arrBlueStop[22].theIcon.iconSize = new GSize(24, 24); arrBlueStop[22].theIcon.shadow = "img_map/shadow_marker.png"; arrBlueStop[22].theIcon.shadowSize = new GSize(37, 24); arrBlueStop[22].theIcon.iconAnchor = new GPoint(7, 16); arrBlueStop[22].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrBlueStop[22].theIcon, title:"Capitol South"}; arrBlueStop[22].marker = new GMarker(arrBlueStop[22].point, markerOptions); map.addOverlay(arrBlueStop[22].marker); GEvent.addListener(arrBlueStop[22].marker,"click",function(){clearTimeout(T); pidInfo(22);}); arrBlueStop[34] = new ART_Location(); arrBlueStop[34].point=new GLatLng(38.857822137, -77.0503377914); arrBlueStop[34].theIcon = new GIcon(); arrBlueStop[34].theIcon.image = "img_map/marker_stop_metro.png"; arrBlueStop[34].theIcon.iconSize = new GSize(24, 24); arrBlueStop[34].theIcon.shadow = "img_map/shadow_marker.png"; arrBlueStop[34].theIcon.shadowSize = new GSize(37, 24); arrBlueStop[34].theIcon.iconAnchor = new GPoint(7, 16); arrBlueStop[34].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrBlueStop[34].theIcon, title:"Crystal City"}; arrBlueStop[34].marker = new GMarker(arrBlueStop[34].point, markerOptions); map.addOverlay(arrBlueStop[34].marker); GEvent.addListener(arrBlueStop[34].marker,"click",function(){clearTimeout(T); pidInfo(34);}); arrBlueStop[23] = new ART_Location(); arrBlueStop[23].point=new GLatLng(38.8839505254, -76.9951915741); arrBlueStop[23].theIcon = new GIcon(); arrBlueStop[23].theIcon.image = "img_map/marker_stop_metro.png"; arrBlueStop[23].theIcon.iconSize = new GSize(24, 24); arrBlueStop[23].theIcon.shadow = "img_map/shadow_marker.png"; arrBlueStop[23].theIcon.shadowSize = new GSize(37, 24); arrBlueStop[23].theIcon.iconAnchor = new GPoint(7, 16); arrBlueStop[23].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrBlueStop[23].theIcon, title:"Eastern Market"}; arrBlueStop[23].marker = new GMarker(arrBlueStop[23].point, markerOptions); map.addOverlay(arrBlueStop[23].marker); GEvent.addListener(arrBlueStop[23].marker,"click",function(){clearTimeout(T); pidInfo(23);}); arrBlueStop[15] = new ART_Location(); arrBlueStop[15].point=new GLatLng(38.9013618881, -77.0394802094); arrBlueStop[15].theIcon = new GIcon(); arrBlueStop[15].theIcon.image = "img_map/marker_stop_metro.png"; arrBlueStop[15].theIcon.iconSize = new GSize(24, 24); arrBlueStop[15].theIcon.shadow = "img_map/shadow_marker.png"; arrBlueStop[15].theIcon.shadowSize = new GSize(37, 24); arrBlueStop[15].theIcon.iconAnchor = new GPoint(7, 16); arrBlueStop[15].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrBlueStop[15].theIcon, title:"Farragut West"}; arrBlueStop[15].marker = new GMarker(arrBlueStop[15].point, markerOptions); map.addOverlay(arrBlueStop[15].marker); GEvent.addListener(arrBlueStop[15].marker,"click",function(){clearTimeout(T); pidInfo(15);}); arrBlueStop[21] = new ART_Location(); arrBlueStop[21].point=new GLatLng(38.8849861076, -77.0155334473); arrBlueStop[21].theIcon = new GIcon(); arrBlueStop[21].theIcon.image = "img_map/marker_stop_metro.png"; arrBlueStop[21].theIcon.iconSize = new GSize(24, 24); arrBlueStop[21].theIcon.shadow = "img_map/shadow_marker.png"; arrBlueStop[21].theIcon.shadowSize = new GSize(37, 24); arrBlueStop[21].theIcon.iconAnchor = new GPoint(7, 16); arrBlueStop[21].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrBlueStop[21].theIcon, title:"Federal Center SW"}; arrBlueStop[21].marker = new GMarker(arrBlueStop[21].point, markerOptions); map.addOverlay(arrBlueStop[21].marker); GEvent.addListener(arrBlueStop[21].marker,"click",function(){clearTimeout(T); pidInfo(21);}); arrBlueStop[18] = new ART_Location(); arrBlueStop[18].point=new GLatLng(38.8937044429, -77.0279359818); arrBlueStop[18].theIcon = new GIcon(); arrBlueStop[18].theIcon.image = "img_map/marker_stop_metro.png"; arrBlueStop[18].theIcon.iconSize = new GSize(24, 24); arrBlueStop[18].theIcon.shadow = "img_map/shadow_marker.png"; arrBlueStop[18].theIcon.shadowSize = new GSize(37, 24); arrBlueStop[18].theIcon.iconAnchor = new GPoint(7, 16); arrBlueStop[18].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrBlueStop[18].theIcon, title:"Federal Triangle"}; arrBlueStop[18].marker = new GMarker(arrBlueStop[18].point, markerOptions); map.addOverlay(arrBlueStop[18].marker); GEvent.addListener(arrBlueStop[18].marker,"click",function(){clearTimeout(T); pidInfo(18);}); arrBlueStop[14] = new ART_Location(); arrBlueStop[14].point=new GLatLng(38.9007184185, -77.050037384); arrBlueStop[14].theIcon = new GIcon(); arrBlueStop[14].theIcon.image = "img_map/marker_stop_metro.png"; arrBlueStop[14].theIcon.iconSize = new GSize(24, 24); arrBlueStop[14].theIcon.shadow = "img_map/shadow_marker.png"; arrBlueStop[14].theIcon.shadowSize = new GSize(37, 24); arrBlueStop[14].theIcon.iconAnchor = new GPoint(7, 16); arrBlueStop[14].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrBlueStop[14].theIcon, title:"Foggy Bottom-GWU"}; arrBlueStop[14].marker = new GMarker(arrBlueStop[14].point, markerOptions); map.addOverlay(arrBlueStop[14].marker); GEvent.addListener(arrBlueStop[14].marker,"click",function(){clearTimeout(T); pidInfo(14);}); arrBlueStop[326] = new ART_Location(); arrBlueStop[326].point=new GLatLng(38.766196779, -77.1685266495); arrBlueStop[326].theIcon = new GIcon(); arrBlueStop[326].theIcon.image = "img_map/marker_stop_metro.png"; arrBlueStop[326].theIcon.iconSize = new GSize(24, 24); arrBlueStop[326].theIcon.shadow = "img_map/shadow_marker.png"; arrBlueStop[326].theIcon.shadowSize = new GSize(37, 24); arrBlueStop[326].theIcon.iconAnchor = new GPoint(7, 16); arrBlueStop[326].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrBlueStop[326].theIcon, title:"Franconia-Springfield"}; arrBlueStop[326].marker = new GMarker(arrBlueStop[326].point, markerOptions); map.addOverlay(arrBlueStop[326].marker); GEvent.addListener(arrBlueStop[326].marker,"click",function(){clearTimeout(T); pidInfo(326);}); arrBlueStop[226] = new ART_Location(); arrBlueStop[226].point=new GLatLng(38.806506809, -77.0607984066); arrBlueStop[226].theIcon = new GIcon(); arrBlueStop[226].theIcon.image = "img_map/marker_stop_metro.png"; arrBlueStop[226].theIcon.iconSize = new GSize(24, 24); arrBlueStop[226].theIcon.shadow = "img_map/shadow_marker.png"; arrBlueStop[226].theIcon.shadowSize = new GSize(37, 24); arrBlueStop[226].theIcon.iconAnchor = new GPoint(7, 16); arrBlueStop[226].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrBlueStop[226].theIcon, title:"King Street"}; arrBlueStop[226].marker = new GMarker(arrBlueStop[226].point, markerOptions); map.addOverlay(arrBlueStop[226].marker); GEvent.addListener(arrBlueStop[226].marker,"click",function(){clearTimeout(T); pidInfo(226);}); arrBlueStop[20] = new ART_Location(); arrBlueStop[20].point=new GLatLng(38.8848858906, -77.0215845108); arrBlueStop[20].theIcon = new GIcon(); arrBlueStop[20].theIcon.image = "img_map/marker_stop_metro.png"; arrBlueStop[20].theIcon.iconSize = new GSize(24, 24); arrBlueStop[20].theIcon.shadow = "img_map/shadow_marker.png"; arrBlueStop[20].theIcon.shadowSize = new GSize(37, 24); arrBlueStop[20].theIcon.iconAnchor = new GPoint(7, 16); arrBlueStop[20].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrBlueStop[20].theIcon, title:"L'Enfant Plaza"}; arrBlueStop[20].marker = new GMarker(arrBlueStop[20].point, markerOptions); map.addOverlay(arrBlueStop[20].marker); GEvent.addListener(arrBlueStop[20].marker,"click",function(){clearTimeout(T); pidInfo(20);}); arrBlueStop[1092] = new ART_Location(); arrBlueStop[1092].point=new GLatLng(38.9002508417, -76.8445158005); arrBlueStop[1092].theIcon = new GIcon(); arrBlueStop[1092].theIcon.image = "img_map/marker_stop_metro.png"; arrBlueStop[1092].theIcon.iconSize = new GSize(24, 24); arrBlueStop[1092].theIcon.shadow = "img_map/shadow_marker.png"; arrBlueStop[1092].theIcon.shadowSize = new GSize(37, 24); arrBlueStop[1092].theIcon.iconAnchor = new GPoint(7, 16); arrBlueStop[1092].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrBlueStop[1092].theIcon, title:"Largo Town Center"}; arrBlueStop[1092].marker = new GMarker(arrBlueStop[1092].point, markerOptions); map.addOverlay(arrBlueStop[1092].marker); GEvent.addListener(arrBlueStop[1092].marker,"click",function(){clearTimeout(T); pidInfo(1092);}); arrBlueStop[16] = new ART_Location(); arrBlueStop[16].point=new GLatLng(38.901299267, -77.0332789421); arrBlueStop[16].theIcon = new GIcon(); arrBlueStop[16].theIcon.image = "img_map/marker_stop_metro.png"; arrBlueStop[16].theIcon.iconSize = new GSize(24, 24); arrBlueStop[16].theIcon.shadow = "img_map/shadow_marker.png"; arrBlueStop[16].theIcon.shadowSize = new GSize(37, 24); arrBlueStop[16].theIcon.iconAnchor = new GPoint(7, 16); arrBlueStop[16].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrBlueStop[16].theIcon, title:"McPherson Square"}; arrBlueStop[16].marker = new GMarker(arrBlueStop[16].point, markerOptions); map.addOverlay(arrBlueStop[16].marker); GEvent.addListener(arrBlueStop[16].marker,"click",function(){clearTimeout(T); pidInfo(16);}); arrBlueStop[17] = new ART_Location(); arrBlueStop[17].point=new GLatLng(38.8983184364, -77.0277750492); arrBlueStop[17].theIcon = new GIcon(); arrBlueStop[17].theIcon.image = "img_map/marker_stop_metro.png"; arrBlueStop[17].theIcon.iconSize = new GSize(24, 24); arrBlueStop[17].theIcon.shadow = "img_map/shadow_marker.png"; arrBlueStop[17].theIcon.shadowSize = new GSize(37, 24); arrBlueStop[17].theIcon.iconAnchor = new GPoint(7, 16); arrBlueStop[17].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrBlueStop[17].theIcon, title:"Metro Center"}; arrBlueStop[17].marker = new GMarker(arrBlueStop[17].point, markerOptions); map.addOverlay(arrBlueStop[17].marker); GEvent.addListener(arrBlueStop[17].marker,"click",function(){clearTimeout(T); pidInfo(17);}); arrBlueStop[1267] = new ART_Location(); arrBlueStop[1267].point=new GLatLng(38.8935708366, -76.8684625626); arrBlueStop[1267].theIcon = new GIcon(); arrBlueStop[1267].theIcon.image = "img_map/marker_stop_metro.png"; arrBlueStop[1267].theIcon.iconSize = new GSize(24, 24); arrBlueStop[1267].theIcon.shadow = "img_map/shadow_marker.png"; arrBlueStop[1267].theIcon.shadowSize = new GSize(37, 24); arrBlueStop[1267].theIcon.iconAnchor = new GPoint(7, 16); arrBlueStop[1267].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrBlueStop[1267].theIcon, title:"Morgan Boulevard"}; arrBlueStop[1267].marker = new GMarker(arrBlueStop[1267].point, markerOptions); map.addOverlay(arrBlueStop[1267].marker); GEvent.addListener(arrBlueStop[1267].marker,"click",function(){clearTimeout(T); pidInfo(1267);}); arrBlueStop[49] = new ART_Location(); arrBlueStop[49].point=new GLatLng(38.8693839641, -77.053771019); arrBlueStop[49].theIcon = new GIcon(); arrBlueStop[49].theIcon.image = "img_map/marker_stop_metro.png"; arrBlueStop[49].theIcon.iconSize = new GSize(24, 24); arrBlueStop[49].theIcon.shadow = "img_map/shadow_marker.png"; arrBlueStop[49].theIcon.shadowSize = new GSize(37, 24); arrBlueStop[49].theIcon.iconAnchor = new GPoint(7, 16); arrBlueStop[49].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrBlueStop[49].theIcon, title:"Pentagon"}; arrBlueStop[49].marker = new GMarker(arrBlueStop[49].point, markerOptions); map.addOverlay(arrBlueStop[49].marker); GEvent.addListener(arrBlueStop[49].marker,"click",function(){clearTimeout(T); pidInfo(49);}); arrBlueStop[469] = new ART_Location(); arrBlueStop[469].point=new GLatLng(38.8629600307, -77.059264183); arrBlueStop[469].theIcon = new GIcon(); arrBlueStop[469].theIcon.image = "img_map/marker_stop_metro.png"; arrBlueStop[469].theIcon.iconSize = new GSize(24, 24); arrBlueStop[469].theIcon.shadow = "img_map/shadow_marker.png"; arrBlueStop[469].theIcon.shadowSize = new GSize(37, 24); arrBlueStop[469].theIcon.iconAnchor = new GPoint(7, 16); arrBlueStop[469].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrBlueStop[469].theIcon, title:"Pentagon City"}; arrBlueStop[469].marker = new GMarker(arrBlueStop[469].point, markerOptions); map.addOverlay(arrBlueStop[469].marker); GEvent.addListener(arrBlueStop[469].marker,"click",function(){clearTimeout(T); pidInfo(469);}); arrBlueStop[24] = new ART_Location(); arrBlueStop[24].point=new GLatLng(38.8809110601, -76.985449791); arrBlueStop[24].theIcon = new GIcon(); arrBlueStop[24].theIcon.image = "img_map/marker_stop_metro.png"; arrBlueStop[24].theIcon.iconSize = new GSize(24, 24); arrBlueStop[24].theIcon.shadow = "img_map/shadow_marker.png"; arrBlueStop[24].theIcon.shadowSize = new GSize(37, 24); arrBlueStop[24].theIcon.iconAnchor = new GPoint(7, 16); arrBlueStop[24].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrBlueStop[24].theIcon, title:"Potomac Ave"}; arrBlueStop[24].marker = new GMarker(arrBlueStop[24].point, markerOptions); map.addOverlay(arrBlueStop[24].marker); GEvent.addListener(arrBlueStop[24].marker,"click",function(){clearTimeout(T); pidInfo(24);}); arrBlueStop[91] = new ART_Location(); arrBlueStop[91].point=new GLatLng(38.8529763036, -77.0435142517); arrBlueStop[91].theIcon = new GIcon(); arrBlueStop[91].theIcon.image = "img_map/marker_stop_metro.png"; arrBlueStop[91].theIcon.iconSize = new GSize(24, 24); arrBlueStop[91].theIcon.shadow = "img_map/shadow_marker.png"; arrBlueStop[91].theIcon.shadowSize = new GSize(37, 24); arrBlueStop[91].theIcon.iconAnchor = new GPoint(7, 16); arrBlueStop[91].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrBlueStop[91].theIcon, title:"Ronald Regan Washington National Airport"}; arrBlueStop[91].marker = new GMarker(arrBlueStop[91].point, markerOptions); map.addOverlay(arrBlueStop[91].marker); GEvent.addListener(arrBlueStop[91].marker,"click",function(){clearTimeout(T); pidInfo(91);}); arrBlueStop[4] = new ART_Location(); arrBlueStop[4].point=new GLatLng(38.8959984, -77.07141259); arrBlueStop[4].theIcon = new GIcon(); arrBlueStop[4].theIcon.image = "img_map/marker_stop_metro.png"; arrBlueStop[4].theIcon.iconSize = new GSize(24, 24); arrBlueStop[4].theIcon.shadow = "img_map/shadow_marker.png"; arrBlueStop[4].theIcon.shadowSize = new GSize(37, 24); arrBlueStop[4].theIcon.iconAnchor = new GPoint(7, 16); arrBlueStop[4].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrBlueStop[4].theIcon, title:"Rosslyn"}; arrBlueStop[4].marker = new GMarker(arrBlueStop[4].point, markerOptions); map.addOverlay(arrBlueStop[4].marker); GEvent.addListener(arrBlueStop[4].marker,"click",function(){clearTimeout(T); pidInfo(4);}); arrBlueStop[19] = new ART_Location(); arrBlueStop[19].point=new GLatLng(38.888059916, -77.0279788971); arrBlueStop[19].theIcon = new GIcon(); arrBlueStop[19].theIcon.image = "img_map/marker_stop_metro.png"; arrBlueStop[19].theIcon.iconSize = new GSize(24, 24); arrBlueStop[19].theIcon.shadow = "img_map/shadow_marker.png"; arrBlueStop[19].theIcon.shadowSize = new GSize(37, 24); arrBlueStop[19].theIcon.iconAnchor = new GPoint(7, 16); arrBlueStop[19].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrBlueStop[19].theIcon, title:"Smithsonian"}; arrBlueStop[19].marker = new GMarker(arrBlueStop[19].point, markerOptions); map.addOverlay(arrBlueStop[19].marker); GEvent.addListener(arrBlueStop[19].marker,"click",function(){clearTimeout(T); pidInfo(19);}); arrBlueStop[25] = new ART_Location(); arrBlueStop[25].point=new GLatLng(38.8859548643, -76.9771671295); arrBlueStop[25].theIcon = new GIcon(); arrBlueStop[25].theIcon.image = "img_map/marker_stop_metro.png"; arrBlueStop[25].theIcon.iconSize = new GSize(24, 24); arrBlueStop[25].theIcon.shadow = "img_map/shadow_marker.png"; arrBlueStop[25].theIcon.shadowSize = new GSize(37, 24); arrBlueStop[25].theIcon.iconAnchor = new GPoint(7, 16); arrBlueStop[25].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrBlueStop[25].theIcon, title:"Stadium-Armory"}; arrBlueStop[25].marker = new GMarker(arrBlueStop[25].point, markerOptions); map.addOverlay(arrBlueStop[25].marker); GEvent.addListener(arrBlueStop[25].marker,"click",function(){clearTimeout(T); pidInfo(25);}); arrBlueStop[68] = new ART_Location(); arrBlueStop[68].point=new GLatLng(38.7992489983, -77.1291732788); arrBlueStop[68].theIcon = new GIcon(); arrBlueStop[68].theIcon.image = "img_map/marker_stop_metro.png"; arrBlueStop[68].theIcon.iconSize = new GSize(24, 24); arrBlueStop[68].theIcon.shadow = "img_map/shadow_marker.png"; arrBlueStop[68].theIcon.shadowSize = new GSize(37, 24); arrBlueStop[68].theIcon.iconAnchor = new GPoint(7, 16); arrBlueStop[68].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrBlueStop[68].theIcon, title:"Van Dorn Street"}; arrBlueStop[68].marker = new GMarker(arrBlueStop[68].point, markerOptions); map.addOverlay(arrBlueStop[68].marker); GEvent.addListener(arrBlueStop[68].marker,"click",function(){clearTimeout(T); pidInfo(68);}); BlueIsOn = true; } break; case "Green": if(GreenIsOn) { map.removeOverlay(encodedGreenLine); map.removeOverlay(encodedGreenCenter); for(i in arrGreenStop) { map.removeOverlay(arrGreenStop[i].marker); } GreenIsOn = false; } else { if (ua == "safari"){ encodedGreenLine = new GPolyline.fromEncoded({ color: "#43D022", weight: 7, opacity: .7, points: "yibmFvtltM`c@p]xk@jWv}@hYt{@~X~pA`mDv~@xsAfS|hE`aBxkC`m@lq@dkA{VpUsi@tl@Xxi@uAf]Npw@?rs@sZEolA~xA_z@fgBum@|YmoAkQqYeGsGaEuPgO}SiGkPoDaYmDal@bA_JhEsHnOsZjLog@dM_QdCcE|FkDrHaGpH_NpG_UhFmLvG_J~UwM~KqGhKoT", levels: "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB", zoomFactor: 32, numLevels: 4 }); encodedGreenCenter = new GPolyline.fromEncoded({ color: "#666666", weight: 4, opacity: .7, points: "yibmFvtltM`c@p]xk@jWv}@hYt{@~X~pA`mDv~@xsAfS|hE`aBxkC`m@lq@dkA{VpUsi@tl@Xxi@uAf]Npw@?rs@sZEolA~xA_z@fgBum@|YmoAkQqYeGsGaEuPgO}SiGkPoDaYmDal@bA_JhEsHnOsZjLog@dM_QdCcE|FkDrHaGpH_NpG_UhFmLvG_J~UwM~KqGhKoT", levels: "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB", zoomFactor: 32, numLevels: 4 }); map.addOverlay(encodedGreenLine); map.addOverlay(encodedGreenCenter); }else{ encodedGreenLine = new GPolyline.fromEncoded({ color: "#666666", weight: 8, opacity: .7, points: "yibmFvtltM`c@p]xk@jWv}@hYt{@~X~pA`mDv~@xsAfS|hE`aBxkC`m@lq@dkA{VpUsi@tl@Xxi@uAf]Npw@?rs@sZEolA~xA_z@fgBum@|YmoAkQqYeGsGaEuPgO}SiGkPoDaYmDal@bA_JhEsHnOsZjLog@dM_QdCcE|FkDrHaGpH_NpG_UhFmLvG_J~UwM~KqGhKoT", levels: "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB", zoomFactor: 32, numLevels: 4 }); var greenLine = new Array(); greenLine.push (new GLatLng(39.01101,-76.91099166870117)); greenLine.push (new GLatLng(39.00524,-76.91588401794434)); greenLine.push (new GLatLng(38.99807,-76.91978931427002)); greenLine.push (new GLatLng(38.98803,-76.92399501800537)); greenLine.push (new GLatLng(38.97832,-76.92815780639648)); greenLine.push (new GLatLng(38.96520,-76.95600986480713)); greenLine.push (new GLatLng(38.95500,-76.96957111358643)); greenLine.push (new GLatLng(38.95176,-77.00188636779785)); greenLine.push (new GLatLng(38.93607,-77.02441692352295)); greenLine.push (new GLatLng(38.92870,-77.03248500823975)); greenLine.push (new GLatLng(38.91651458255373,-77.02866554260254)); greenLine.push (new GLatLng(38.91290828414449,-77.02184200286865)); greenLine.push (new GLatLng(38.90559494983195,-77.02197074890137)); greenLine.push (new GLatLng(38.89874845185973,-77.02154159545898)); greenLine.push (new GLatLng(38.89390540833528,-77.02162742614746)); greenLine.push (new GLatLng(38.88485304154784,-77.02162742614746)); greenLine.push (new GLatLng(38.876434307459505,-77.01720714569092)); greenLine.push (new GLatLng(38.87646771710564,-77.00480461120605)); greenLine.push (new GLatLng(38.86206670424564,-76.99536323547363)); greenLine.push (new GLatLng(38.845389961831174,-76.98789596557617)); greenLine.push (new GLatLng(38.84107810377393,-76.97502136230469)); greenLine.push (new GLatLng(38.84401955465173,-76.9707727432251)); greenLine.push (new GLatLng(38.845323113312865,-76.96939945220947)); greenLine.push (new GLatLng(38.8462924106807,-76.96656703948975)); greenLine.push (new GLatLng(38.84889050827545,-76.96321964263916)); greenLine.push (new GLatLng(38.85022739966657,-76.96043014526367)); greenLine.push (new GLatLng(38.85110527787755,-76.95626735687256)); greenLine.push (new GLatLng(38.85197423308414,-76.94905757904053)); greenLine.push (new GLatLng(38.85163110858631,-76.94729804992676)); greenLine.push (new GLatLng(38.85062846218451,-76.94575309753418)); greenLine.push (new GLatLng(38.847988092383034,-76.94133281707764)); greenLine.push (new GLatLng(38.84584898676309,-76.93485260009766)); greenLine.push (new GLatLng(38.843576116568315,-76.93197727203369)); greenLine.push (new GLatLng(38.84290761151639,-76.93099021911621)); greenLine.push (new GLatLng(38.8416374346138,-76.93013191223145)); greenLine.push (new GLatLng(38.840099821710915,-76.9288444519043)); greenLine.push (new GLatLng(38.83856217558264,-76.92644119262695)); greenLine.push (new GLatLng(38.837191636898886,-76.92292213439941)); greenLine.push (new GLatLng(38.8360216439686,-76.9207763671875)); greenLine.push (new GLatLng(38.834626541407346,-76.91901683807373)); greenLine.push (new GLatLng(38.830940308666726,-76.91665649414062)); greenLine.push (new GLatLng(38.82886755458047,-76.915283203125)); greenLine.push (new GLatLng(38.82689503900331,-76.91184997558594)); encodedGreenCenter = new BDCCPolyline(greenLine,"#43D022",5,1,"Green Line","dot"); map.addOverlay(encodedGreenLine); map.addOverlay(encodedGreenCenter); } arrGreenStop[760] = new ART_Location(); arrGreenStop[760].point=new GLatLng(38.8764677171, -77.0048046112); arrGreenStop[760].theIcon = new GIcon(); arrGreenStop[760].theIcon.image = "img_map/marker_stop_metro.png"; arrGreenStop[760].theIcon.iconSize = new GSize(24, 24); arrGreenStop[760].theIcon.shadow = "img_map/shadow_marker.png"; arrGreenStop[760].theIcon.shadowSize = new GSize(37, 24); arrGreenStop[760].theIcon.iconAnchor = new GPoint(7, 16); arrGreenStop[760].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrGreenStop[760].theIcon, title:"Anacostia"}; arrGreenStop[760].marker = new GMarker(arrGreenStop[760].point, markerOptions); map.addOverlay(arrGreenStop[760].marker); GEvent.addListener(arrGreenStop[760].marker,"click",function(){clearTimeout(T); pidInfo(760);}); arrGreenStop[94] = new ART_Location(); arrGreenStop[94].point=new GLatLng(38.8938380489, -77.0215845108); arrGreenStop[94].theIcon = new GIcon(); arrGreenStop[94].theIcon.image = "img_map/marker_stop_metro.png"; arrGreenStop[94].theIcon.iconSize = new GSize(24, 24); arrGreenStop[94].theIcon.shadow = "img_map/shadow_marker.png"; arrGreenStop[94].theIcon.shadowSize = new GSize(37, 24); arrGreenStop[94].theIcon.iconAnchor = new GPoint(7, 16); arrGreenStop[94].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrGreenStop[94].theIcon, title:"Archives-Navy Memorial-Penn Quarter"}; arrGreenStop[94].marker = new GMarker(arrGreenStop[94].point, markerOptions); map.addOverlay(arrGreenStop[94].marker); GEvent.addListener(arrGreenStop[94].marker,"click",function(){clearTimeout(T); pidInfo(94);}); arrGreenStop[596] = new ART_Location(); arrGreenStop[596].point=new GLatLng(38.826895039, -76.9118499756); arrGreenStop[596].theIcon = new GIcon(); arrGreenStop[596].theIcon.image = "img_map/marker_stop_metro.png"; arrGreenStop[596].theIcon.iconSize = new GSize(24, 24); arrGreenStop[596].theIcon.shadow = "img_map/shadow_marker.png"; arrGreenStop[596].theIcon.shadowSize = new GSize(37, 24); arrGreenStop[596].theIcon.iconAnchor = new GPoint(7, 16); arrGreenStop[596].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrGreenStop[596].theIcon, title:"Branch Ave"}; arrGreenStop[596].marker = new GMarker(arrGreenStop[596].point, markerOptions); map.addOverlay(arrGreenStop[596].marker); GEvent.addListener(arrGreenStop[596].marker,"click",function(){clearTimeout(T); pidInfo(596);}); arrGreenStop[818] = new ART_Location(); arrGreenStop[818].point=new GLatLng(38.9783268469, -76.9281578064); arrGreenStop[818].theIcon = new GIcon(); arrGreenStop[818].theIcon.image = "img_map/marker_stop_metro.png"; arrGreenStop[818].theIcon.iconSize = new GSize(24, 24); arrGreenStop[818].theIcon.shadow = "img_map/shadow_marker.png"; arrGreenStop[818].theIcon.shadowSize = new GSize(37, 24); arrGreenStop[818].theIcon.iconAnchor = new GPoint(7, 16); arrGreenStop[818].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrGreenStop[818].theIcon, title:"College Park-U of MD"}; arrGreenStop[818].marker = new GMarker(arrGreenStop[818].point, markerOptions); map.addOverlay(arrGreenStop[818].marker); GEvent.addListener(arrGreenStop[818].marker,"click",function(){clearTimeout(T); pidInfo(818);}); arrGreenStop[789] = new ART_Location(); arrGreenStop[789].point=new GLatLng(38.9286338528, -77.0324420929); arrGreenStop[789].theIcon = new GIcon(); arrGreenStop[789].theIcon.image = "img_map/marker_stop_metro.png"; arrGreenStop[789].theIcon.iconSize = new GSize(24, 24); arrGreenStop[789].theIcon.shadow = "img_map/shadow_marker.png"; arrGreenStop[789].theIcon.shadowSize = new GSize(37, 24); arrGreenStop[789].theIcon.iconAnchor = new GPoint(7, 16); arrGreenStop[789].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrGreenStop[789].theIcon, title:"Columbia Heights"}; arrGreenStop[789].marker = new GMarker(arrGreenStop[789].point, markerOptions); map.addOverlay(arrGreenStop[789].marker); GEvent.addListener(arrGreenStop[789].marker,"click",function(){clearTimeout(T); pidInfo(789);}); arrGreenStop[824] = new ART_Location(); arrGreenStop[824].point=new GLatLng(38.8453899618, -76.9878959656); arrGreenStop[824].theIcon = new GIcon(); arrGreenStop[824].theIcon.image = "img_map/marker_stop_metro.png"; arrGreenStop[824].theIcon.iconSize = new GSize(24, 24); arrGreenStop[824].theIcon.shadow = "img_map/shadow_marker.png"; arrGreenStop[824].theIcon.shadowSize = new GSize(37, 24); arrGreenStop[824].theIcon.iconAnchor = new GPoint(7, 16); arrGreenStop[824].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrGreenStop[824].theIcon, title:"Congress Heights"}; arrGreenStop[824].marker = new GMarker(arrGreenStop[824].point, markerOptions); map.addOverlay(arrGreenStop[824].marker); GEvent.addListener(arrGreenStop[824].marker,"click",function(){clearTimeout(T); pidInfo(824);}); arrGreenStop[947] = new ART_Location(); arrGreenStop[947].point=new GLatLng(38.9518061074, -77.0018595457); arrGreenStop[947].theIcon = new GIcon(); arrGreenStop[947].theIcon.image = "img_map/marker_stop_metro.png"; arrGreenStop[947].theIcon.iconSize = new GSize(24, 24); arrGreenStop[947].theIcon.shadow = "img_map/shadow_marker.png"; arrGreenStop[947].theIcon.shadowSize = new GSize(37, 24); arrGreenStop[947].theIcon.iconAnchor = new GPoint(7, 16); arrGreenStop[947].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrGreenStop[947].theIcon, title:"Fort Totten"}; arrGreenStop[947].marker = new GMarker(arrGreenStop[947].point, markerOptions); map.addOverlay(arrGreenStop[947].marker); GEvent.addListener(arrGreenStop[947].marker,"click",function(){clearTimeout(T); pidInfo(947);}); arrGreenStop[801] = new ART_Location(); arrGreenStop[801].point=new GLatLng(38.8983517661, -77.0219278336); arrGreenStop[801].theIcon = new GIcon(); arrGreenStop[801].theIcon.image = "img_map/marker_stop_metro.png"; arrGreenStop[801].theIcon.iconSize = new GSize(24, 24); arrGreenStop[801].theIcon.shadow = "img_map/shadow_marker.png"; arrGreenStop[801].theIcon.shadowSize = new GSize(37, 24); arrGreenStop[801].theIcon.iconAnchor = new GPoint(7, 16); arrGreenStop[801].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrGreenStop[801].theIcon, title:"Gallery Pl-Chinatown"}; arrGreenStop[801].marker = new GMarker(arrGreenStop[801].point, markerOptions); map.addOverlay(arrGreenStop[801].marker); GEvent.addListener(arrGreenStop[801].marker,"click",function(){clearTimeout(T); pidInfo(801);}); arrGreenStop[804] = new ART_Location(); arrGreenStop[804].point=new GLatLng(38.9361117211, -77.0243740082); arrGreenStop[804].theIcon = new GIcon(); arrGreenStop[804].theIcon.image = "img_map/marker_stop_metro.png"; arrGreenStop[804].theIcon.iconSize = new GSize(24, 24); arrGreenStop[804].theIcon.shadow = "img_map/shadow_marker.png"; arrGreenStop[804].theIcon.shadowSize = new GSize(37, 24); arrGreenStop[804].theIcon.iconAnchor = new GPoint(7, 16); arrGreenStop[804].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrGreenStop[804].theIcon, title:"Georgia Ave-Petworth"}; arrGreenStop[804].marker = new GMarker(arrGreenStop[804].point, markerOptions); map.addOverlay(arrGreenStop[804].marker); GEvent.addListener(arrGreenStop[804].marker,"click",function(){clearTimeout(T); pidInfo(804);}); arrGreenStop[819] = new ART_Location(); arrGreenStop[819].point=new GLatLng(39.0110476664, -76.9109916687); arrGreenStop[819].theIcon = new GIcon(); arrGreenStop[819].theIcon.image = "img_map/marker_stop_metro.png"; arrGreenStop[819].theIcon.iconSize = new GSize(24, 24); arrGreenStop[819].theIcon.shadow = "img_map/shadow_marker.png"; arrGreenStop[819].theIcon.shadowSize = new GSize(37, 24); arrGreenStop[819].theIcon.iconAnchor = new GPoint(7, 16); arrGreenStop[819].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrGreenStop[819].theIcon, title:"Greenbelt"}; arrGreenStop[819].marker = new GMarker(arrGreenStop[819].point, markerOptions); map.addOverlay(arrGreenStop[819].marker); GEvent.addListener(arrGreenStop[819].marker,"click",function(){clearTimeout(T); pidInfo(819);}); arrGreenStop[20] = new ART_Location(); arrGreenStop[20].point=new GLatLng(38.8848858906, -77.0215845108); arrGreenStop[20].theIcon = new GIcon(); arrGreenStop[20].theIcon.image = "img_map/marker_stop_metro.png"; arrGreenStop[20].theIcon.iconSize = new GSize(24, 24); arrGreenStop[20].theIcon.shadow = "img_map/shadow_marker.png"; arrGreenStop[20].theIcon.shadowSize = new GSize(37, 24); arrGreenStop[20].theIcon.iconAnchor = new GPoint(7, 16); arrGreenStop[20].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrGreenStop[20].theIcon, title:"L'Enfant Plaza"}; arrGreenStop[20].marker = new GMarker(arrGreenStop[20].point, markerOptions); map.addOverlay(arrGreenStop[20].marker); GEvent.addListener(arrGreenStop[20].marker,"click",function(){clearTimeout(T); pidInfo(20);}); arrGreenStop[1263] = new ART_Location(); arrGreenStop[1263].point=new GLatLng(38.9056277893, -77.0218849182); arrGreenStop[1263].theIcon = new GIcon(); arrGreenStop[1263].theIcon.image = "img_map/marker_stop_metro.png"; arrGreenStop[1263].theIcon.iconSize = new GSize(24, 24); arrGreenStop[1263].theIcon.shadow = "img_map/shadow_marker.png"; arrGreenStop[1263].theIcon.shadowSize = new GSize(37, 24); arrGreenStop[1263].theIcon.iconAnchor = new GPoint(7, 16); arrGreenStop[1263].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrGreenStop[1263].theIcon, title:"Mt Vernon Sq 7th St-Convention Center"}; arrGreenStop[1263].marker = new GMarker(arrGreenStop[1263].point, markerOptions); map.addOverlay(arrGreenStop[1263].marker); GEvent.addListener(arrGreenStop[1263].marker,"click",function(){clearTimeout(T); pidInfo(1263);}); arrGreenStop[689] = new ART_Location(); arrGreenStop[689].point=new GLatLng(38.8764677171, -77.0048046112); arrGreenStop[689].theIcon = new GIcon(); arrGreenStop[689].theIcon.image = "img_map/marker_stop_metro.png"; arrGreenStop[689].theIcon.iconSize = new GSize(24, 24); arrGreenStop[689].theIcon.shadow = "img_map/shadow_marker.png"; arrGreenStop[689].theIcon.shadowSize = new GSize(37, 24); arrGreenStop[689].theIcon.iconAnchor = new GPoint(7, 16); arrGreenStop[689].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrGreenStop[689].theIcon, title:"Navy Yard"}; arrGreenStop[689].marker = new GMarker(arrGreenStop[689].point, markerOptions); map.addOverlay(arrGreenStop[689].marker); GEvent.addListener(arrGreenStop[689].marker,"click",function(){clearTimeout(T); pidInfo(689);}); arrGreenStop[777] = new ART_Location(); arrGreenStop[777].point=new GLatLng(38.8510963656, -76.9561815262); arrGreenStop[777].theIcon = new GIcon(); arrGreenStop[777].theIcon.image = "img_map/marker_stop_metro.png"; arrGreenStop[777].theIcon.iconSize = new GSize(24, 24); arrGreenStop[777].theIcon.shadow = "img_map/shadow_marker.png"; arrGreenStop[777].theIcon.shadowSize = new GSize(37, 24); arrGreenStop[777].theIcon.iconAnchor = new GPoint(7, 16); arrGreenStop[777].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrGreenStop[777].theIcon, title:"Naylor Road"}; arrGreenStop[777].marker = new GMarker(arrGreenStop[777].point, markerOptions); map.addOverlay(arrGreenStop[777].marker); GEvent.addListener(arrGreenStop[777].marker,"click",function(){clearTimeout(T); pidInfo(777);}); arrGreenStop[815] = new ART_Location(); arrGreenStop[815].point=new GLatLng(38.965206143, -76.9560098648); arrGreenStop[815].theIcon = new GIcon(); arrGreenStop[815].theIcon.image = "img_map/marker_stop_metro.png"; arrGreenStop[815].theIcon.iconSize = new GSize(24, 24); arrGreenStop[815].theIcon.shadow = "img_map/shadow_marker.png"; arrGreenStop[815].theIcon.shadowSize = new GSize(37, 24); arrGreenStop[815].theIcon.iconAnchor = new GPoint(7, 16); arrGreenStop[815].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrGreenStop[815].theIcon, title:"Prince Georges Plaza"}; arrGreenStop[815].marker = new GMarker(arrGreenStop[815].point, markerOptions); map.addOverlay(arrGreenStop[815].marker); GEvent.addListener(arrGreenStop[815].marker,"click",function(){clearTimeout(T); pidInfo(815);}); arrGreenStop[1264] = new ART_Location(); arrGreenStop[1264].point=new GLatLng(38.9129750691, -77.0218420029); arrGreenStop[1264].theIcon = new GIcon(); arrGreenStop[1264].theIcon.image = "img_map/marker_stop_metro.png"; arrGreenStop[1264].theIcon.iconSize = new GSize(24, 24); arrGreenStop[1264].theIcon.shadow = "img_map/shadow_marker.png"; arrGreenStop[1264].theIcon.shadowSize = new GSize(37, 24); arrGreenStop[1264].theIcon.iconAnchor = new GPoint(7, 16); arrGreenStop[1264].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrGreenStop[1264].theIcon, title:"Shaw-Howard U"}; arrGreenStop[1264].marker = new GMarker(arrGreenStop[1264].point, markerOptions); map.addOverlay(arrGreenStop[1264].marker); GEvent.addListener(arrGreenStop[1264].marker,"click",function(){clearTimeout(T); pidInfo(1264);}); arrGreenStop[754] = new ART_Location(); arrGreenStop[754].point=new GLatLng(38.8409689113, -76.9750213623); arrGreenStop[754].theIcon = new GIcon(); arrGreenStop[754].theIcon.image = "img_map/marker_stop_metro.png"; arrGreenStop[754].theIcon.iconSize = new GSize(24, 24); arrGreenStop[754].theIcon.shadow = "img_map/shadow_marker.png"; arrGreenStop[754].theIcon.shadowSize = new GSize(37, 24); arrGreenStop[754].theIcon.iconAnchor = new GPoint(7, 16); arrGreenStop[754].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrGreenStop[754].theIcon, title:"Southern Avenue"}; arrGreenStop[754].marker = new GMarker(arrGreenStop[754].point, markerOptions); map.addOverlay(arrGreenStop[754].marker); GEvent.addListener(arrGreenStop[754].marker,"click",function(){clearTimeout(T); pidInfo(754);}); arrGreenStop[595] = new ART_Location(); arrGreenStop[595].point=new GLatLng(38.8435761166, -76.931977272); arrGreenStop[595].theIcon = new GIcon(); arrGreenStop[595].theIcon.image = "img_map/marker_stop_metro.png"; arrGreenStop[595].theIcon.iconSize = new GSize(24, 24); arrGreenStop[595].theIcon.shadow = "img_map/shadow_marker.png"; arrGreenStop[595].theIcon.shadowSize = new GSize(37, 24); arrGreenStop[595].theIcon.iconAnchor = new GPoint(7, 16); arrGreenStop[595].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrGreenStop[595].theIcon, title:"Suitland"}; arrGreenStop[595].marker = new GMarker(arrGreenStop[595].point, markerOptions); map.addOverlay(arrGreenStop[595].marker); GEvent.addListener(arrGreenStop[595].marker,"click",function(){clearTimeout(T); pidInfo(595);}); arrGreenStop[1265] = new ART_Location(); arrGreenStop[1265].point=new GLatLng(38.9164478009, -77.0286655426); arrGreenStop[1265].theIcon = new GIcon(); arrGreenStop[1265].theIcon.image = "img_map/marker_stop_metro.png"; arrGreenStop[1265].theIcon.iconSize = new GSize(24, 24); arrGreenStop[1265].theIcon.shadow = "img_map/shadow_marker.png"; arrGreenStop[1265].theIcon.shadowSize = new GSize(37, 24); arrGreenStop[1265].theIcon.iconAnchor = new GPoint(7, 16); arrGreenStop[1265].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrGreenStop[1265].theIcon, title:"U Street/African-Amer Civil War Memorial/Cardozo"}; arrGreenStop[1265].marker = new GMarker(arrGreenStop[1265].point, markerOptions); map.addOverlay(arrGreenStop[1265].marker); GEvent.addListener(arrGreenStop[1265].marker,"click",function(){clearTimeout(T); pidInfo(1265);}); arrGreenStop[1273] = new ART_Location(); arrGreenStop[1273].point=new GLatLng(38.8764343075, -77.0172071457); arrGreenStop[1273].theIcon = new GIcon(); arrGreenStop[1273].theIcon.image = "img_map/marker_stop_metro.png"; arrGreenStop[1273].theIcon.iconSize = new GSize(24, 24); arrGreenStop[1273].theIcon.shadow = "img_map/shadow_marker.png"; arrGreenStop[1273].theIcon.shadowSize = new GSize(37, 24); arrGreenStop[1273].theIcon.iconAnchor = new GPoint(7, 16); arrGreenStop[1273].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrGreenStop[1273].theIcon, title:"Waterfront-SEU"}; arrGreenStop[1273].marker = new GMarker(arrGreenStop[1273].point, markerOptions); map.addOverlay(arrGreenStop[1273].marker); GEvent.addListener(arrGreenStop[1273].marker,"click",function(){clearTimeout(T); pidInfo(1273);}); arrGreenStop[929] = new ART_Location(); arrGreenStop[929].point=new GLatLng(38.9550037348, -76.9695711136); arrGreenStop[929].theIcon = new GIcon(); arrGreenStop[929].theIcon.image = "img_map/marker_stop_metro.png"; arrGreenStop[929].theIcon.iconSize = new GSize(24, 24); arrGreenStop[929].theIcon.shadow = "img_map/shadow_marker.png"; arrGreenStop[929].theIcon.shadowSize = new GSize(37, 24); arrGreenStop[929].theIcon.iconAnchor = new GPoint(7, 16); arrGreenStop[929].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrGreenStop[929].theIcon, title:"West Hyattsville"}; arrGreenStop[929].marker = new GMarker(arrGreenStop[929].point, markerOptions); map.addOverlay(arrGreenStop[929].marker); GEvent.addListener(arrGreenStop[929].marker,"click",function(){clearTimeout(T); pidInfo(929);}); GreenIsOn = true; } break; case "Yellow": if(YellowIsOn) { map.removeOverlay(encodedYellowLine); map.removeOverlay(encodedYellowCenter); for(i in arrYellowStop) { map.removeOverlay(arrYellowStop[i].marker); } YellowIsOn = false; } else { if (ua == "safari"){ encodedYellowLine = new GPolyline.fromEncoded({ color: "#E7E52C", weight: 7, opacity: .7, points: "y|wkFjuluMyTgB_QeUaf@o}@so@um@gMoFo]kSkOiJm]{DwRdBcKsA{xBiQ_z@taBog@g`@}KqjAwu@yn@o[{lAqw@Eg]Qsi@lAul@G}Uji@_kAzVim@eq@_aBalC", levels: "BBBBBBBBBBBBBBBBBBBBBBBBB", zoomFactor: 32, numLevels: 4 }); encodedYellowCenter = new GPolyline.fromEncoded({ color: "#666666", weight: 4, opacity: .7, points: "y|wkFjuluMyTgB_QeUaf@o}@so@um@gMoFo]kSkOiJm]{DwRdBcKsA{xBiQ_z@taBog@g`@}KqjAwu@yn@o[{lAqw@Eg]Qsi@lAul@G}Uji@_kAzVim@eq@_aBalC", levels: "BBBBBBBBBBBBBBBBBBBBBBBBB", zoomFactor: 32, numLevels: 4 }); map.addOverlay(encodedYellowLine); map.addOverlay(encodedYellowCenter); }else{ encodedYellowLine = new GPolyline.fromEncoded({ color: "#666666", weight: 8, opacity: .7, points: "y|wkFjuluMyTgB_QeUaf@o}@so@um@gMoFo]kSkOiJm]{DwRdBcKsA{xBiQ_z@taBog@g`@}KqjAwu@yn@o[{lAqw@Eg]Qsi@lAul@G}Uji@_kAzVim@eq@_aBalC", levels: "BBBBBBBBBBBBBBBBBBBBBBBBB", zoomFactor: 32, numLevels: 4 }); var yellowLine = new Array(); yellowLine.push (new GLatLng(38.79389800918951,-77.0749282836914)); yellowLine.push (new GLatLng(38.79738436444477,-77.07441329956055)); yellowLine.push (new GLatLng(38.800260729874466,-77.07085132598877)); yellowLine.push (new GLatLng(38.80651475169617,-77.06085205078125)); yellowLine.push (new GLatLng(38.81429862536117,-77.05338478088379)); yellowLine.push (new GLatLng(38.816572430535665,-77.05218315124512)); yellowLine.push (new GLatLng(38.82145417874458,-77.04892158508301)); yellowLine.push (new GLatLng(38.82407770178012,-77.047119140625)); yellowLine.push (new GLatLng(38.828943333613715,-77.04617500305176)); yellowLine.push (new GLatLng(38.832101470468224,-77.04668998718262)); yellowLine.push (new GLatLng(38.834040412214996,-77.04626083374023)); yellowLine.push (new GLatLng(38.85354500978758,-77.04334259033203)); yellowLine.push (new GLatLng(38.862984535915366,-77.05913543701172)); yellowLine.push (new GLatLng(38.86946693972101,-77.05381393432617)); yellowLine.push (new GLatLng(38.87153851114519,-77.04171180725098)); yellowLine.push (new GLatLng(38.88029190440869,-77.03407287597656)); yellowLine.push (new GLatLng(38.88485304154784,-77.02160596847534)); yellowLine.push (new GLatLng(38.89390485178055,-77.02158451080322)); yellowLine.push (new GLatLng(38.89874789534294,-77.02149868011475)); yellowLine.push (new GLatLng(38.90556099741983,-77.02188491821289)); yellowLine.push (new GLatLng(38.91287433523027,-77.02184200286865)); yellowLine.push (new GLatLng(38.91654741697217,-77.0286226272583)); yellowLine.push (new GLatLng(38.928700622980074,-77.03244209289551)); yellowLine.push (new GLatLng(38.93611172110341,-77.02441692352295)); yellowLine.push (new GLatLng(38.95179932843215,-77.00184345245361)); encodedYellowCenter = new BDCCPolyline(yellowLine,"#E7E52C",5,1,"Yellow Line","dot"); map.addOverlay(encodedYellowLine); map.addOverlay(encodedYellowCenter); } arrYellowStop[94] = new ART_Location(); arrYellowStop[94].point=new GLatLng(38.8938380489, -77.0215845108); arrYellowStop[94].theIcon = new GIcon(); arrYellowStop[94].theIcon.image = "img_map/marker_stop_metro.png"; arrYellowStop[94].theIcon.iconSize = new GSize(24, 24); arrYellowStop[94].theIcon.shadow = "img_map/shadow_marker.png"; arrYellowStop[94].theIcon.shadowSize = new GSize(37, 24); arrYellowStop[94].theIcon.iconAnchor = new GPoint(7, 16); arrYellowStop[94].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrYellowStop[94].theIcon, title:"Archives-Navy Memorial-Penn Quarter"}; arrYellowStop[94].marker = new GMarker(arrYellowStop[94].point, markerOptions); map.addOverlay(arrYellowStop[94].marker); GEvent.addListener(arrYellowStop[94].marker,"click",function(){clearTimeout(T); pidInfo(94);}); arrYellowStop[44] = new ART_Location(); arrYellowStop[44].point=new GLatLng(38.814056054, -77.0534384251); arrYellowStop[44].theIcon = new GIcon(); arrYellowStop[44].theIcon.image = "img_map/marker_stop_metro.png"; arrYellowStop[44].theIcon.iconSize = new GSize(24, 24); arrYellowStop[44].theIcon.shadow = "img_map/shadow_marker.png"; arrYellowStop[44].theIcon.shadowSize = new GSize(37, 24); arrYellowStop[44].theIcon.iconAnchor = new GPoint(7, 16); arrYellowStop[44].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrYellowStop[44].theIcon, title:"Braddock Road"}; arrYellowStop[44].marker = new GMarker(arrYellowStop[44].point, markerOptions); map.addOverlay(arrYellowStop[44].marker); GEvent.addListener(arrYellowStop[44].marker,"click",function(){clearTimeout(T); pidInfo(44);}); arrYellowStop[789] = new ART_Location(); arrYellowStop[789].point=new GLatLng(38.9286338528, -77.0324420929); arrYellowStop[789].theIcon = new GIcon(); arrYellowStop[789].theIcon.image = "img_map/marker_stop_metro.png"; arrYellowStop[789].theIcon.iconSize = new GSize(24, 24); arrYellowStop[789].theIcon.shadow = "img_map/shadow_marker.png"; arrYellowStop[789].theIcon.shadowSize = new GSize(37, 24); arrYellowStop[789].theIcon.iconAnchor = new GPoint(7, 16); arrYellowStop[789].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrYellowStop[789].theIcon, title:"Columbia Heights"}; arrYellowStop[789].marker = new GMarker(arrYellowStop[789].point, markerOptions); map.addOverlay(arrYellowStop[789].marker); GEvent.addListener(arrYellowStop[789].marker,"click",function(){clearTimeout(T); pidInfo(789);}); arrYellowStop[34] = new ART_Location(); arrYellowStop[34].point=new GLatLng(38.857822137, -77.0503377914); arrYellowStop[34].theIcon = new GIcon(); arrYellowStop[34].theIcon.image = "img_map/marker_stop_metro.png"; arrYellowStop[34].theIcon.iconSize = new GSize(24, 24); arrYellowStop[34].theIcon.shadow = "img_map/shadow_marker.png"; arrYellowStop[34].theIcon.shadowSize = new GSize(37, 24); arrYellowStop[34].theIcon.iconAnchor = new GPoint(7, 16); arrYellowStop[34].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrYellowStop[34].theIcon, title:"Crystal City"}; arrYellowStop[34].marker = new GMarker(arrYellowStop[34].point, markerOptions); map.addOverlay(arrYellowStop[34].marker); GEvent.addListener(arrYellowStop[34].marker,"click",function(){clearTimeout(T); pidInfo(34);}); arrYellowStop[233] = new ART_Location(); arrYellowStop[233].point=new GLatLng(38.8003531227, -77.0708191395); arrYellowStop[233].theIcon = new GIcon(); arrYellowStop[233].theIcon.image = "img_map/marker_stop_metro.png"; arrYellowStop[233].theIcon.iconSize = new GSize(24, 24); arrYellowStop[233].theIcon.shadow = "img_map/shadow_marker.png"; arrYellowStop[233].theIcon.shadowSize = new GSize(37, 24); arrYellowStop[233].theIcon.iconAnchor = new GPoint(7, 16); arrYellowStop[233].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrYellowStop[233].theIcon, title:"Eisenhower Avenue"}; arrYellowStop[233].marker = new GMarker(arrYellowStop[233].point, markerOptions); map.addOverlay(arrYellowStop[233].marker); GEvent.addListener(arrYellowStop[233].marker,"click",function(){clearTimeout(T); pidInfo(233);}); arrYellowStop[947] = new ART_Location(); arrYellowStop[947].point=new GLatLng(38.9518061074, -77.0018595457); arrYellowStop[947].theIcon = new GIcon(); arrYellowStop[947].theIcon.image = "img_map/marker_stop_metro.png"; arrYellowStop[947].theIcon.iconSize = new GSize(24, 24); arrYellowStop[947].theIcon.shadow = "img_map/shadow_marker.png"; arrYellowStop[947].theIcon.shadowSize = new GSize(37, 24); arrYellowStop[947].theIcon.iconAnchor = new GPoint(7, 16); arrYellowStop[947].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrYellowStop[947].theIcon, title:"Fort Totten"}; arrYellowStop[947].marker = new GMarker(arrYellowStop[947].point, markerOptions); map.addOverlay(arrYellowStop[947].marker); GEvent.addListener(arrYellowStop[947].marker,"click",function(){clearTimeout(T); pidInfo(947);}); arrYellowStop[801] = new ART_Location(); arrYellowStop[801].point=new GLatLng(38.8983517661, -77.0219278336); arrYellowStop[801].theIcon = new GIcon(); arrYellowStop[801].theIcon.image = "img_map/marker_stop_metro.png"; arrYellowStop[801].theIcon.iconSize = new GSize(24, 24); arrYellowStop[801].theIcon.shadow = "img_map/shadow_marker.png"; arrYellowStop[801].theIcon.shadowSize = new GSize(37, 24); arrYellowStop[801].theIcon.iconAnchor = new GPoint(7, 16); arrYellowStop[801].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrYellowStop[801].theIcon, title:"Gallery Pl-Chinatown"}; arrYellowStop[801].marker = new GMarker(arrYellowStop[801].point, markerOptions); map.addOverlay(arrYellowStop[801].marker); GEvent.addListener(arrYellowStop[801].marker,"click",function(){clearTimeout(T); pidInfo(801);}); arrYellowStop[804] = new ART_Location(); arrYellowStop[804].point=new GLatLng(38.9361117211, -77.0243740082); arrYellowStop[804].theIcon = new GIcon(); arrYellowStop[804].theIcon.image = "img_map/marker_stop_metro.png"; arrYellowStop[804].theIcon.iconSize = new GSize(24, 24); arrYellowStop[804].theIcon.shadow = "img_map/shadow_marker.png"; arrYellowStop[804].theIcon.shadowSize = new GSize(37, 24); arrYellowStop[804].theIcon.iconAnchor = new GPoint(7, 16); arrYellowStop[804].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrYellowStop[804].theIcon, title:"Georgia Ave-Petworth"}; arrYellowStop[804].marker = new GMarker(arrYellowStop[804].point, markerOptions); map.addOverlay(arrYellowStop[804].marker); GEvent.addListener(arrYellowStop[804].marker,"click",function(){clearTimeout(T); pidInfo(804);}); arrYellowStop[163] = new ART_Location(); arrYellowStop[163].point=new GLatLng(38.7938811456, -77.074971199); arrYellowStop[163].theIcon = new GIcon(); arrYellowStop[163].theIcon.image = "img_map/marker_stop_metro.png"; arrYellowStop[163].theIcon.iconSize = new GSize(24, 24); arrYellowStop[163].theIcon.shadow = "img_map/shadow_marker.png"; arrYellowStop[163].theIcon.shadowSize = new GSize(37, 24); arrYellowStop[163].theIcon.iconAnchor = new GPoint(7, 16); arrYellowStop[163].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrYellowStop[163].theIcon, title:"Huntington"}; arrYellowStop[163].marker = new GMarker(arrYellowStop[163].point, markerOptions); map.addOverlay(arrYellowStop[163].marker); GEvent.addListener(arrYellowStop[163].marker,"click",function(){clearTimeout(T); pidInfo(163);}); arrYellowStop[226] = new ART_Location(); arrYellowStop[226].point=new GLatLng(38.806506809, -77.0607984066); arrYellowStop[226].theIcon = new GIcon(); arrYellowStop[226].theIcon.image = "img_map/marker_stop_metro.png"; arrYellowStop[226].theIcon.iconSize = new GSize(24, 24); arrYellowStop[226].theIcon.shadow = "img_map/shadow_marker.png"; arrYellowStop[226].theIcon.shadowSize = new GSize(37, 24); arrYellowStop[226].theIcon.iconAnchor = new GPoint(7, 16); arrYellowStop[226].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrYellowStop[226].theIcon, title:"King Street"}; arrYellowStop[226].marker = new GMarker(arrYellowStop[226].point, markerOptions); map.addOverlay(arrYellowStop[226].marker); GEvent.addListener(arrYellowStop[226].marker,"click",function(){clearTimeout(T); pidInfo(226);}); arrYellowStop[20] = new ART_Location(); arrYellowStop[20].point=new GLatLng(38.8848858906, -77.0215845108); arrYellowStop[20].theIcon = new GIcon(); arrYellowStop[20].theIcon.image = "img_map/marker_stop_metro.png"; arrYellowStop[20].theIcon.iconSize = new GSize(24, 24); arrYellowStop[20].theIcon.shadow = "img_map/shadow_marker.png"; arrYellowStop[20].theIcon.shadowSize = new GSize(37, 24); arrYellowStop[20].theIcon.iconAnchor = new GPoint(7, 16); arrYellowStop[20].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrYellowStop[20].theIcon, title:"L'Enfant Plaza"}; arrYellowStop[20].marker = new GMarker(arrYellowStop[20].point, markerOptions); map.addOverlay(arrYellowStop[20].marker); GEvent.addListener(arrYellowStop[20].marker,"click",function(){clearTimeout(T); pidInfo(20);}); arrYellowStop[1263] = new ART_Location(); arrYellowStop[1263].point=new GLatLng(38.9056277893, -77.0218849182); arrYellowStop[1263].theIcon = new GIcon(); arrYellowStop[1263].theIcon.image = "img_map/marker_stop_metro.png"; arrYellowStop[1263].theIcon.iconSize = new GSize(24, 24); arrYellowStop[1263].theIcon.shadow = "img_map/shadow_marker.png"; arrYellowStop[1263].theIcon.shadowSize = new GSize(37, 24); arrYellowStop[1263].theIcon.iconAnchor = new GPoint(7, 16); arrYellowStop[1263].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrYellowStop[1263].theIcon, title:"Mt Vernon Sq 7th St-Convention Center"}; arrYellowStop[1263].marker = new GMarker(arrYellowStop[1263].point, markerOptions); map.addOverlay(arrYellowStop[1263].marker); GEvent.addListener(arrYellowStop[1263].marker,"click",function(){clearTimeout(T); pidInfo(1263);}); arrYellowStop[49] = new ART_Location(); arrYellowStop[49].point=new GLatLng(38.8693839641, -77.053771019); arrYellowStop[49].theIcon = new GIcon(); arrYellowStop[49].theIcon.image = "img_map/marker_stop_metro.png"; arrYellowStop[49].theIcon.iconSize = new GSize(24, 24); arrYellowStop[49].theIcon.shadow = "img_map/shadow_marker.png"; arrYellowStop[49].theIcon.shadowSize = new GSize(37, 24); arrYellowStop[49].theIcon.iconAnchor = new GPoint(7, 16); arrYellowStop[49].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrYellowStop[49].theIcon, title:"Pentagon"}; arrYellowStop[49].marker = new GMarker(arrYellowStop[49].point, markerOptions); map.addOverlay(arrYellowStop[49].marker); GEvent.addListener(arrYellowStop[49].marker,"click",function(){clearTimeout(T); pidInfo(49);}); arrYellowStop[469] = new ART_Location(); arrYellowStop[469].point=new GLatLng(38.8629600307, -77.059264183); arrYellowStop[469].theIcon = new GIcon(); arrYellowStop[469].theIcon.image = "img_map/marker_stop_metro.png"; arrYellowStop[469].theIcon.iconSize = new GSize(24, 24); arrYellowStop[469].theIcon.shadow = "img_map/shadow_marker.png"; arrYellowStop[469].theIcon.shadowSize = new GSize(37, 24); arrYellowStop[469].theIcon.iconAnchor = new GPoint(7, 16); arrYellowStop[469].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrYellowStop[469].theIcon, title:"Pentagon City"}; arrYellowStop[469].marker = new GMarker(arrYellowStop[469].point, markerOptions); map.addOverlay(arrYellowStop[469].marker); GEvent.addListener(arrYellowStop[469].marker,"click",function(){clearTimeout(T); pidInfo(469);}); arrYellowStop[91] = new ART_Location(); arrYellowStop[91].point=new GLatLng(38.8529763036, -77.0435142517); arrYellowStop[91].theIcon = new GIcon(); arrYellowStop[91].theIcon.image = "img_map/marker_stop_metro.png"; arrYellowStop[91].theIcon.iconSize = new GSize(24, 24); arrYellowStop[91].theIcon.shadow = "img_map/shadow_marker.png"; arrYellowStop[91].theIcon.shadowSize = new GSize(37, 24); arrYellowStop[91].theIcon.iconAnchor = new GPoint(7, 16); arrYellowStop[91].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrYellowStop[91].theIcon, title:"Ronald Regan Washington National Airport"}; arrYellowStop[91].marker = new GMarker(arrYellowStop[91].point, markerOptions); map.addOverlay(arrYellowStop[91].marker); GEvent.addListener(arrYellowStop[91].marker,"click",function(){clearTimeout(T); pidInfo(91);}); arrYellowStop[1264] = new ART_Location(); arrYellowStop[1264].point=new GLatLng(38.9129750691, -77.0218420029); arrYellowStop[1264].theIcon = new GIcon(); arrYellowStop[1264].theIcon.image = "img_map/marker_stop_metro.png"; arrYellowStop[1264].theIcon.iconSize = new GSize(24, 24); arrYellowStop[1264].theIcon.shadow = "img_map/shadow_marker.png"; arrYellowStop[1264].theIcon.shadowSize = new GSize(37, 24); arrYellowStop[1264].theIcon.iconAnchor = new GPoint(7, 16); arrYellowStop[1264].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrYellowStop[1264].theIcon, title:"Shaw-Howard U"}; arrYellowStop[1264].marker = new GMarker(arrYellowStop[1264].point, markerOptions); map.addOverlay(arrYellowStop[1264].marker); GEvent.addListener(arrYellowStop[1264].marker,"click",function(){clearTimeout(T); pidInfo(1264);}); arrYellowStop[1265] = new ART_Location(); arrYellowStop[1265].point=new GLatLng(38.9164478009, -77.0286655426); arrYellowStop[1265].theIcon = new GIcon(); arrYellowStop[1265].theIcon.image = "img_map/marker_stop_metro.png"; arrYellowStop[1265].theIcon.iconSize = new GSize(24, 24); arrYellowStop[1265].theIcon.shadow = "img_map/shadow_marker.png"; arrYellowStop[1265].theIcon.shadowSize = new GSize(37, 24); arrYellowStop[1265].theIcon.iconAnchor = new GPoint(7, 16); arrYellowStop[1265].theIcon.windowAnchor = new GPoint(11, 2); markerOptions = {icon:arrYellowStop[1265].theIcon, title:"U Street/African-Amer Civil War Memorial/Cardozo"}; arrYellowStop[1265].marker = new GMarker(arrYellowStop[1265].point, markerOptions); map.addOverlay(arrYellowStop[1265].marker); GEvent.addListener(arrYellowStop[1265].marker,"click",function(){clearTimeout(T); pidInfo(1265);}); YellowIsOn = true; } break; } //drawKeySet(); } // SET UP THE MAP KEY function drawKeySet(){ var keyContent = "
"; document.getElementById("@map-key").innerHTML = keyContent; }