WME Rhode Island Urban Area Overlay

Creates polygons in WME for the "RI Urban Area Overlay" layer

// ==UserScript==
// @name                WME Rhode Island Urban Area Overlay
// @namespace           https://greasyfork.org/en/users/236624
// @description         Creates polygons in WME for the "RI Urban Area Overlay" layer
// @author              GooberKing
// @include             /^https:\/\/(www|beta)\.waze\.com\/(?!user\/)(.{2,6}\/)?editor\/?.*$/
// @version             1.6.3
// @grant               none
// @copyright           2018 gooberking based off work by TheLastTaterTot (2016), rickzabel (2015), and davielde (2014)
// @run-at              document-end
// ==/UserScript==

//---------------------------------------------------------------------------------------

function AddRaidPolygon(raidLayer,groupPoints,groupColor,groupNumber){
    
    var mro_Map = W.map;
    var mro_OL = OpenLayers;
    var raidGroupLabel = groupNumber;
    var groupName = groupNumber;
    
    var style = {
        strokeColor: groupColor,
        strokeOpacity: .6,
        strokeWidth: 1,
        fillColor: groupColor,
        fillOpacity: 0.20,
        label: raidGroupLabel,
        labelOutlineColor: "black",
        labelOutlineWidth: 3,
        fontSize: 14,
        fontColor: groupColor,
        fontOpacity: .85,
        fontWeight: "bold"  
    };
    
    var attributes = {
        name: groupName,
        number: groupNumber
    };
    
    var pnt= [];
    for(var i=0;i<groupPoints.length;i++){
        var convPoint = new OpenLayers.Geometry.Point(groupPoints[i].lon,groupPoints[i].lat).transform(new OpenLayers.Projection("EPSG:4326"), mro_Map.getProjectionObject());
        //console.log('MapRaid: ' + JSON.stringify(groupPoints[i]) + ', ' + groupPoints[i].lon + ', ' + groupPoints[i].lat);
        pnt.push(convPoint);
    }
		       
    var ring = new mro_OL.Geometry.LinearRing(pnt);
    var polygon = new mro_OL.Geometry.Polygon([ring]);
    
    var feature = new mro_OL.Feature.Vector(polygon,attributes,style);
    raidLayer.addFeatures([feature]);

}

function CurrentRaidLocation(raid_mapLayer){
    var mro_Map = W.map;

    for(var i=0;i<raid_mapLayer.features.length;i++){
        var raidMapCenter = mro_Map.getCenter();
        var raidCenterPoint = new OpenLayers.Geometry.Point(raidMapCenter.lon,raidMapCenter.lat);
        var raidCenterCheck = raid_mapLayer.features[i].geometry.components[0].containsPoint(raidCenterPoint);
        //console.log('MapRaid: ' + raid_mapLayer.features[i].attributes.number + ': ' + raidCenterCheck);
        if(raidCenterCheck === true){
        	var raidLocationLabel = raid_mapLayer.features[i].attributes.number + ' - ' + $('.WazeControlLocationInfo').text();            
			setTimeout(function(){$('.WazeControlLocationInfo').text(raidLocationLabel);},50);
			var str = $('.WazeControlLocationInfo').text();
			
			var n2 = str.indexOf(" - ");
			
			if(n2 > 0){
				var n = str.length;
				var res = str.substring(n2+2, n);
				var rescount = res.indexOf(" - ");
				if(rescount>0){
					var n3 = res.length;
					var res2 = res.substring(rescount+2, n3);
						
				}
				raidLocationLabel = raid_mapLayer.features[i].attributes.number + ' - ' + res2;
			} else {
				raidLocationLabel = raid_mapLayer.features[i].attributes.number + ' - ' + $('.WazeControlLocationInfo').text();
			}	
    		setTimeout(function(){$('.WazeControlLocationInfo').text(raidLocationLabel);},200);
		}
    }
}

function InitMapRaidOverlay(){

    var mro_Map = W.map;
    var mro_OL = OpenLayers;

    var mro_mapLayers = mro_Map.getLayersBy("uniqueName","__RI_UrbanArea");       
    var raid_mapLayer = new mro_OL.Layer.Vector("RI Urban Area", {
        displayInLayerSwitcher: true,
        uniqueName: "__RI_UrbanArea"
    });
        
    (I18n.translations.en || I18n.translations['en-US']).layers.name["__RI_UrbanArea"] = "RI Urban Area";
    mro_Map.addLayer(raid_mapLayer);
    raid_mapLayer.setVisibility(true);
    
var ppolygon = [{lon:'-71.797341',lat:'41.400588'},{lon:'-71.796778',lat:'41.400823'},{lon:'-71.795942',lat:'41.400885'},{lon:'-71.795288',lat:'41.402385'},{lon:'-71.795498',lat:'41.403690'},{lon:'-71.793769',lat:'41.407562'},{lon:'-71.791803',lat:'41.410371'},{lon:'-71.780205',lat:'41.411256'},{lon:'-71.779616',lat:'41.411432'},{lon:'-71.780164',lat:'41.412010'},{lon:'-71.782592',lat:'41.413585'},{lon:'-71.783541',lat:'41.414128'},{lon:'-71.787967',lat:'41.415113'},{lon:'-71.790826',lat:'41.415889'},{lon:'-71.790719',lat:'41.416225'},{lon:'-71.788702',lat:'41.416189'},{lon:'-71.787972',lat:'41.416551'},{lon:'-71.787586',lat:'41.416615'},{lon:'-71.786878',lat:'41.416470'},{lon:'-71.786535',lat:'41.416712'},{lon:'-71.785419',lat:'41.418224'},{lon:'-71.785709',lat:'41.419346'},{lon:'-71.785269',lat:'41.420018'},{lon:'-71.784690',lat:'41.420312'},{lon:'-71.783402',lat:'41.420541'},{lon:'-71.782801',lat:'41.420944'},{lon:'-71.782101',lat:'41.420797'},{lon:'-71.781670',lat:'41.420786'},{lon:'-71.781175',lat:'41.420873'},{lon:'-71.780593',lat:'41.420884'},{lon:'-71.780157',lat:'41.421068'},{lon:'-71.779615',lat:'41.421917'},{lon:'-71.778987',lat:'41.422396'},{lon:'-71.777794',lat:'41.422555'},{lon:'-71.776772',lat:'41.422585'},{lon:'-71.776772',lat:'41.424065'},{lon:'-71.770656',lat:'41.422746'},{lon:'-71.770645',lat:'41.424692'},{lon:'-71.771579',lat:'41.428248'},{lon:'-71.771900',lat:'41.429986'},{lon:'-71.774282',lat:'41.433010'},{lon:'-71.775827',lat:'41.436292'},{lon:'-71.778316',lat:'41.435842'},{lon:'-71.790247',lat:'41.425610'},{lon:'-71.789389',lat:'41.437997'},{lon:'-71.796856',lat:'41.438737'},{lon:'-71.797886',lat:'41.417114'},{lon:'-71.800976',lat:'41.415698'},{lon:'-71.803207',lat:'41.417500'},{lon:'-71.806469',lat:'41.416599'},{lon:'-71.810589',lat:'41.419174'},{lon:'-71.818657',lat:'41.420203'},{lon:'-71.823463',lat:'41.417886'},{lon:'-71.823807',lat:'41.415183'},{lon:'-71.826897',lat:'41.414410'},{lon:'-71.833455',lat:'41.411776'},{lon:'-71.839240',lat:'41.413101'},{lon:'-71.842570',lat:'41.410601'},{lon:'-71.843561',lat:'41.408118'},{lon:'-71.844234',lat:'41.406428'},{lon:'-71.842174',lat:'41.404240'},{lon:'-71.840973',lat:'41.400505'},{lon:'-71.842706',lat:'41.396591'},{lon:'-71.838912',lat:'41.391002'},{lon:'-71.833401',lat:'41.388762'},{lon:'-71.832562',lat:'41.386984'},{lon:'-71.833935',lat:'41.383893'},{lon:'-71.833221',lat:'41.382425'},{lon:'-71.830981',lat:'41.378922'},{lon:'-71.833024',lat:'41.376554'},{lon:'-71.831188',lat:'41.371012'},{lon:'-71.833076',lat:'41.368951'},{lon:'-71.837540',lat:'41.366760'},{lon:'-71.838226',lat:'41.360190'},{lon:'-71.836166',lat:'41.354649'},{lon:'-71.831360',lat:'41.350783'},{lon:'-71.828613',lat:'41.342922'},{lon:'-71.831703',lat:'41.339185'},{lon:'-71.846981',lat:'41.329776'},{lon:'-71.859169',lat:'41.319462'},{lon:'-71.861744',lat:'41.312629'},{lon:'-71.862431',lat:'41.309921'},{lon:'-71.858139',lat:'41.307729'},{lon:'-71.859298',lat:'41.303761'},{lon:'-71.857281',lat:'41.303216'},{lon:'-71.856251',lat:'41.307342'},{lon:'-71.818485',lat:'41.319591'},{lon:'-71.800118',lat:'41.322557'},{lon:'-71.793079',lat:'41.323588'},{lon:'-71.776772',lat:'41.327134'},{lon:'-71.763039',lat:'41.328358'},{lon:'-71.751408',lat:'41.324522'},{lon:'-71.749649',lat:'41.326553'},{lon:'-71.731625',lat:'41.331194'},{lon:'-71.724204',lat:'41.331845'},{lon:'-71.718242',lat:'41.331594'},{lon:'-71.718753',lat:'41.333005'},{lon:'-71.722913',lat:'41.336607'},{lon:'-71.725991',lat:'41.335876'},{lon:'-71.726070',lat:'41.334931'},{lon:'-71.728638',lat:'41.334759'},{lon:'-71.728802',lat:'41.333331'},{lon:'-71.731027',lat:'41.333255'},{lon:'-71.730828',lat:'41.334952'},{lon:'-71.733636',lat:'41.334973'},{lon:'-71.734426',lat:'41.333317'},{lon:'-71.733677',lat:'41.332361'},{lon:'-71.735074',lat:'41.332179'},{lon:'-71.739327',lat:'41.332651'},{lon:'-71.739844',lat:'41.331714'},{lon:'-71.745767',lat:'41.330970'},{lon:'-71.746971',lat:'41.329997'},{lon:'-71.748949',lat:'41.330824'},{lon:'-71.750749',lat:'41.335860'},{lon:'-71.749577',lat:'41.336442'},{lon:'-71.748583',lat:'41.336682'},{lon:'-71.747592',lat:'41.336544'},{lon:'-71.747266',lat:'41.335487'},{lon:'-71.747192',lat:'41.335390'},{lon:'-71.746883',lat:'41.335497'},{lon:'-71.745083',lat:'41.334481'},{lon:'-71.744786',lat:'41.333449'},{lon:'-71.744416',lat:'41.333172'},{lon:'-71.744060',lat:'41.333436'},{lon:'-71.743967',lat:'41.333810'},{lon:'-71.743653',lat:'41.333908'},{lon:'-71.742315',lat:'41.335939'},{lon:'-71.740048',lat:'41.337083'},{lon:'-71.739182',lat:'41.337486'},{lon:'-71.738739',lat:'41.338565'},{lon:'-71.738174',lat:'41.338001'},{lon:'-71.737848',lat:'41.338050'},{lon:'-71.737310',lat:'41.338324'},{lon:'-71.736997',lat:'41.338219'},{lon:'-71.736687',lat:'41.337680'},{lon:'-71.736784',lat:'41.336995'},{lon:'-71.737086',lat:'41.336803'},{lon:'-71.737110',lat:'41.336499'},{lon:'-71.736989',lat:'41.336271'},{lon:'-71.737040',lat:'41.335552'},{lon:'-71.736890',lat:'41.335129'},{lon:'-71.736375',lat:'41.335108'},{lon:'-71.733155',lat:'41.336509'},{lon:'-71.731760',lat:'41.338700'},{lon:'-71.732189',lat:'41.340641'},{lon:'-71.730976',lat:'41.342707'},{lon:'-71.730319',lat:'41.342770'},{lon:'-71.729744',lat:'41.343116'},{lon:'-71.729104',lat:'41.343994'},{lon:'-71.729700',lat:'41.344185'},{lon:'-71.729374',lat:'41.355104'},{lon:'-71.732219',lat:'41.355398'},{lon:'-71.732319',lat:'41.356346'},{lon:'-71.736110',lat:'41.358197'},{lon:'-71.739058',lat:'41.359192'},{lon:'-71.740318',lat:'41.361182'},{lon:'-71.744469',lat:'41.361298'},{lon:'-71.744833',lat:'41.362238'},{lon:'-71.746119',lat:'41.362958'},{lon:'-71.745686',lat:'41.363689'},{lon:'-71.746022',lat:'41.364185'},{lon:'-71.751208',lat:'41.364003'},{lon:'-71.752341',lat:'41.362785'},{lon:'-71.753216',lat:'41.361738'},{lon:'-71.754473',lat:'41.359917'},{lon:'-71.754615',lat:'41.357644'},{lon:'-71.757215',lat:'41.356706'},{lon:'-71.757696',lat:'41.357085'},{lon:'-71.759874',lat:'41.356796'},{lon:'-71.762256',lat:'41.354994'},{lon:'-71.762729',lat:'41.353967'},{lon:'-71.764620',lat:'41.354298'},{lon:'-71.765396',lat:'41.352061'},{lon:'-71.772258',lat:'41.351222'},{lon:'-71.776193',lat:'41.352346'},{lon:'-71.778400',lat:'41.353433'},{lon:'-71.780325',lat:'41.353803'},{lon:'-71.781695',lat:'41.353594'},{lon:'-71.786069',lat:'41.351032'},{lon:'-71.793470',lat:'41.352925'},{lon:'-71.795197',lat:'41.354451'},{lon:'-71.799241',lat:'41.354495'},{lon:'-71.802994',lat:'41.355581'},{lon:'-71.807006',lat:'41.357505'},{lon:'-71.804999',lat:'41.362348'},{lon:'-71.804338',lat:'41.370953'},{lon:'-71.802570',lat:'41.371262'},{lon:'-71.799604',lat:'41.374517'},{lon:'-71.799192',lat:'41.376225'},{lon:'-71.799487',lat:'41.376556'},{lon:'-71.796772',lat:'41.376670'},{lon:'-71.794432',lat:'41.375804'},{lon:'-71.792584',lat:'41.376583'},{lon:'-71.791378',lat:'41.376595'},{lon:'-71.790681',lat:'41.377650'},{lon:'-71.787570',lat:'41.376925'},{lon:'-71.786584',lat:'41.380950'},{lon:'-71.786938',lat:'41.381285'},{lon:'-71.787077',lat:'41.381603'},{lon:'-71.787195',lat:'41.383047'},{lon:'-71.787731',lat:'41.383585'},{lon:'-71.789875',lat:'41.384465'},{lon:'-71.790667',lat:'41.384647'},{lon:'-71.790494',lat:'41.385187'},{lon:'-71.790214',lat:'41.385312'},{lon:'-71.790107',lat:'41.385616'},{lon:'-71.789688',lat:'41.385608'},{lon:'-71.789490',lat:'41.385820'},{lon:'-71.789166',lat:'41.385733'},{lon:'-71.788790',lat:'41.385810'},{lon:'-71.788092',lat:'41.385758'},{lon:'-71.787963',lat:'41.385847'},{lon:'-71.787619',lat:'41.385775'},{lon:'-71.787210',lat:'41.385928'},{lon:'-71.787060',lat:'41.385916'},{lon:'-71.786781',lat:'41.385935'},{lon:'-71.786459',lat:'41.386001'},{lon:'-71.786442',lat:'41.386251'},{lon:'-71.786230',lat:'41.386320'},{lon:'-71.786102',lat:'41.386587'},{lon:'-71.786199',lat:'41.386721'},{lon:'-71.786140',lat:'41.388140'},{lon:'-71.786851',lat:'41.389212'},{lon:'-71.786811',lat:'41.390188'},{lon:'-71.786934',lat:'41.390226'},{lon:'-71.787207',lat:'41.390135'},{lon:'-71.787496',lat:'41.390324'},{lon:'-71.788149',lat:'41.390642'},{lon:'-71.789070',lat:'41.391459'},{lon:'-71.789924',lat:'41.392698'},{lon:'-71.790080',lat:'41.392799'},{lon:'-71.790483',lat:'41.392900'},{lon:'-71.790733',lat:'41.392851'},{lon:'-71.791156',lat:'41.392810'},{lon:'-71.791350',lat:'41.392591'},{lon:'-71.791280',lat:'41.392448'},{lon:'-71.791315',lat:'41.392301'},{lon:'-71.791994',lat:'41.392169'},{lon:'-71.793024',lat:'41.392412'},{lon:'-71.796073',lat:'41.392810'},{lon:'-71.797009',lat:'41.393017'},{lon:'-71.798404',lat:'41.395875'},{lon:'-71.798340',lat:'41.396358'},{lon:'-71.797743',lat:'41.396761'},{lon:'-71.796510',lat:'41.396946'},{lon:'-71.795654',lat:'41.397003'},{lon:'-71.794568',lat:'41.396979'},{lon:'-71.794072',lat:'41.397084'},{lon:'-71.793947',lat:'41.397234'},{lon:'-71.794038',lat:'41.397383'},{lon:'-71.794454',lat:'41.397851'},{lon:'-71.795273',lat:'41.398170'},{lon:'-71.796478',lat:'41.398505'},{lon:'-71.797446',lat:'41.398574'},{lon:'-71.798398',lat:'41.398486'},{lon:'-71.798430',lat:'41.399305'},{lon:'-71.798752',lat:'41.400004'},{lon:'-71.797343',lat:'41.400588'},{lon:'-71.797342',lat:'41.400588'},{lon:'-71.797341',lat:'41.400588'}];
AddRaidPolygon(raid_mapLayer, ppolygon, "#FFFFFF","Urban");

var ppolygon_2 = [{lon:'-71.633843',lat:'41.672211'},{lon:'-71.629772',lat:'41.670924'},{lon:'-71.623029',lat:'41.667409'},{lon:'-71.620721',lat:'41.665756'},{lon:'-71.619485',lat:'41.665225'},{lon:'-71.622385',lat:'41.659375'},{lon:'-71.621958',lat:'41.658029'},{lon:'-71.619663',lat:'41.656843'},{lon:'-71.619701',lat:'41.655080'},{lon:'-71.620769',lat:'41.654022'},{lon:'-71.620415',lat:'41.653092'},{lon:'-71.616986',lat:'41.651459'},{lon:'-71.617461',lat:'41.650803'},{lon:'-71.616668',lat:'41.650314'},{lon:'-71.615520',lat:'41.650375'},{lon:'-71.613815',lat:'41.649409'},{lon:'-71.613262',lat:'41.647607'},{lon:'-71.613695',lat:'41.646255'},{lon:'-71.612588',lat:'41.644479'},{lon:'-71.605807',lat:'41.649054'},{lon:'-71.586328',lat:'41.646126'},{lon:'-71.572395',lat:'41.649481'},{lon:'-71.570657',lat:'41.649900'},{lon:'-71.560142',lat:'41.654275'},{lon:'-71.555056',lat:'41.653745'},{lon:'-71.547839',lat:'41.654555'},{lon:'-71.544156',lat:'41.653348'},{lon:'-71.543090',lat:'41.653328'},{lon:'-71.541398',lat:'41.642105'},{lon:'-71.546681',lat:'41.642239'},{lon:'-71.546377',lat:'41.637625'},{lon:'-71.545686',lat:'41.635288'},{lon:'-71.543276',lat:'41.630374'},{lon:'-71.544141',lat:'41.623770'},{lon:'-71.540524',lat:'41.621727'},{lon:'-71.539632',lat:'41.620342'},{lon:'-71.536917',lat:'41.620544'},{lon:'-71.536132',lat:'41.620170'},{lon:'-71.530030',lat:'41.620771'},{lon:'-71.519436',lat:'41.623767'},{lon:'-71.512103',lat:'41.624772'},{lon:'-71.509974',lat:'41.617820'},{lon:'-71.509650',lat:'41.612924'},{lon:'-71.510142',lat:'41.610562'},{lon:'-71.511055',lat:'41.608159'},{lon:'-71.506492',lat:'41.608259'},{lon:'-71.504847',lat:'41.607460'},{lon:'-71.500465',lat:'41.607993'},{lon:'-71.496704',lat:'41.607867'},{lon:'-71.498796',lat:'41.602738'},{lon:'-71.499076',lat:'41.594758'},{lon:'-71.508951',lat:'41.595003'},{lon:'-71.509898',lat:'41.594563'},{lon:'-71.516809',lat:'41.594283'},{lon:'-71.517919',lat:'41.576463'},{lon:'-71.534029',lat:'41.577231'},{lon:'-71.538471',lat:'41.569273'},{lon:'-71.536046',lat:'41.562343'},{lon:'-71.543126',lat:'41.561914'},{lon:'-71.543593',lat:'41.557421'},{lon:'-71.544782',lat:'41.556667'},{lon:'-71.546487',lat:'41.556684'},{lon:'-71.548350',lat:'41.553634'},{lon:'-71.545770',lat:'41.552416'},{lon:'-71.545592',lat:'41.551070'},{lon:'-71.548658',lat:'41.550503'},{lon:'-71.547247',lat:'41.546110'},{lon:'-71.544224',lat:'41.547542'},{lon:'-71.539280',lat:'41.547294'},{lon:'-71.536464',lat:'41.547685'},{lon:'-71.533820',lat:'41.547240'},{lon:'-71.536334',lat:'41.542465'},{lon:'-71.539737',lat:'41.538021'},{lon:'-71.541230',lat:'41.536935'},{lon:'-71.543099',lat:'41.538820'},{lon:'-71.545814',lat:'41.539682'},{lon:'-71.547794',lat:'41.538892'},{lon:'-71.548355',lat:'41.537309'},{lon:'-71.548142',lat:'41.536678'},{lon:'-71.545868',lat:'41.535019'},{lon:'-71.546751',lat:'41.533777'},{lon:'-71.548114',lat:'41.534037'},{lon:'-71.547867',lat:'41.532225'},{lon:'-71.553403',lat:'41.523845'},{lon:'-71.557027',lat:'41.511407'},{lon:'-71.557979',lat:'41.511011'},{lon:'-71.560576',lat:'41.508536'},{lon:'-71.562626',lat:'41.505466'},{lon:'-71.563817',lat:'41.502171'},{lon:'-71.563476',lat:'41.500433'},{lon:'-71.564380',lat:'41.499014'},{lon:'-71.567053',lat:'41.498738'},{lon:'-71.568197',lat:'41.497892'},{lon:'-71.568694',lat:'41.495978'},{lon:'-71.569577',lat:'41.495383'},{lon:'-71.571215',lat:'41.495927'},{lon:'-71.572395',lat:'41.495824'},{lon:'-71.578331',lat:'41.495311'},{lon:'-71.578532',lat:'41.495009'},{lon:'-71.573059',lat:'41.492203'},{lon:'-71.572395',lat:'41.492007'},{lon:'-71.571923',lat:'41.491867'},{lon:'-71.564883',lat:'41.486434'},{lon:'-71.572395',lat:'41.483098'},{lon:'-71.572414',lat:'41.483090'},{lon:'-71.573507',lat:'41.480341'},{lon:'-71.572395',lat:'41.480496'},{lon:'-71.571188',lat:'41.480663'},{lon:'-71.566208',lat:'41.479634'},{lon:'-71.551547',lat:'41.482768'},{lon:'-71.549637',lat:'41.481744'},{lon:'-71.548822',lat:'41.481636'},{lon:'-71.546880',lat:'41.481589'},{lon:'-71.543849',lat:'41.482692'},{lon:'-71.541848',lat:'41.482701'},{lon:'-71.536505',lat:'41.482094'},{lon:'-71.540242',lat:'41.477592'},{lon:'-71.542434',lat:'41.472255'},{lon:'-71.544621',lat:'41.471592'},{lon:'-71.545479',lat:'41.470865'},{lon:'-71.546034',lat:'41.469443'},{lon:'-71.549034',lat:'41.467081'},{lon:'-71.547331',lat:'41.464533'},{lon:'-71.546572',lat:'41.461567'},{lon:'-71.544225',lat:'41.459855'},{lon:'-71.533983',lat:'41.459044'},{lon:'-71.527484',lat:'41.460176'},{lon:'-71.528950',lat:'41.457134'},{lon:'-71.528340',lat:'41.453963'},{lon:'-71.516532',lat:'41.432651'},{lon:'-71.517684',lat:'41.430995'},{lon:'-71.523152',lat:'41.432612'},{lon:'-71.523274',lat:'41.432148'},{lon:'-71.521938',lat:'41.430686'},{lon:'-71.520901',lat:'41.430254'},{lon:'-71.520405',lat:'41.429250'},{lon:'-71.520950',lat:'41.428538'},{lon:'-71.520408',lat:'41.427442'},{lon:'-71.522111',lat:'41.426927'},{lon:'-71.523295',lat:'41.426259'},{lon:'-71.524479',lat:'41.424947'},{lon:'-71.527366',lat:'41.419214'},{lon:'-71.530424',lat:'41.414415'},{lon:'-71.534158',lat:'41.404011'},{lon:'-71.536439',lat:'41.402049'},{lon:'-71.544471',lat:'41.398606'},{lon:'-71.549921',lat:'41.397624'},{lon:'-71.549813',lat:'41.387016'},{lon:'-71.555929',lat:'41.386919'},{lon:'-71.556101',lat:'41.377533'},{lon:'-71.549728',lat:'41.377871'},{lon:'-71.549749',lat:'41.376487'},{lon:'-71.548204',lat:'41.374812'},{lon:'-71.544428',lat:'41.374232'},{lon:'-71.541338',lat:'41.373524'},{lon:'-71.539793',lat:'41.373202'},{lon:'-71.538677',lat:'41.373524'},{lon:'-71.538849',lat:'41.374683'},{lon:'-71.537304',lat:'41.375392'},{lon:'-71.536102',lat:'41.374941'},{lon:'-71.535158',lat:'41.374925'},{lon:'-71.533184',lat:'41.375786'},{lon:'-71.530888',lat:'41.376518'},{lon:'-71.525770',lat:'41.376776'},{lon:'-71.521339',lat:'41.376615'},{lon:'-71.518078',lat:'41.376003'},{lon:'-71.516040',lat:'41.375101'},{lon:'-71.514816',lat:'41.373781'},{lon:'-71.513121',lat:'41.373975'},{lon:'-71.512906',lat:'41.375166'},{lon:'-71.510460',lat:'41.375279'},{lon:'-71.505933',lat:'41.374377'},{lon:'-71.501620',lat:'41.373081'},{lon:'-71.498959',lat:'41.371946'},{lon:'-71.497146',lat:'41.370674'},{lon:'-71.496792',lat:'41.369852'},{lon:'-71.495976',lat:'41.369128'},{lon:'-71.495590',lat:'41.368049'},{lon:'-71.492457',lat:'41.365666'},{lon:'-71.489754',lat:'41.364442'},{lon:'-71.489754',lat:'41.362976'},{lon:'-71.489089',lat:'41.362992'},{lon:'-71.488294',lat:'41.361366'},{lon:'-71.487780',lat:'41.361768'},{lon:'-71.484904',lat:'41.361333'},{lon:'-71.483574',lat:'41.360561'},{lon:'-71.482007',lat:'41.360045'},{lon:'-71.480377',lat:'41.360818'},{lon:'-71.480012',lat:'41.361849'},{lon:'-71.480677',lat:'41.363814'},{lon:'-71.482608',lat:'41.365875'},{lon:'-71.483252',lat:'41.367211'},{lon:'-71.483853',lat:'41.370497'},{lon:'-71.482362',lat:'41.373186'},{lon:'-71.480742',lat:'41.375134'},{lon:'-71.479282',lat:'41.376164'},{lon:'-71.477909',lat:'41.379707'},{lon:'-71.475420',lat:'41.382862'},{lon:'-71.473618',lat:'41.382412'},{lon:'-71.473703',lat:'41.383571'},{lon:'-71.475162',lat:'41.384344'},{lon:'-71.470013',lat:'41.390268'},{lon:'-71.452346',lat:'41.407355'},{lon:'-71.452604',lat:'41.433405'},{lon:'-71.442601',lat:'41.440253'},{lon:'-71.437941',lat:'41.438401'},{lon:'-71.423423',lat:'41.455361'},{lon:'-71.428780',lat:'41.465833'},{lon:'-71.418343',lat:'41.469101'},{lon:'-71.412850',lat:'41.526829'},{lon:'-71.438493',lat:'41.575008'},{lon:'-71.405426',lat:'41.588001'},{lon:'-71.402569',lat:'41.628996'},{lon:'-71.402126',lat:'41.644716'},{lon:'-71.401081',lat:'41.681795'},{lon:'-71.378174',lat:'41.656497'},{lon:'-71.349335',lat:'41.712392'},{lon:'-71.313629',lat:'41.707266'},{lon:'-71.311913',lat:'41.674194'},{lon:'-71.301956',lat:'41.645723'},{lon:'-71.293717',lat:'41.653675'},{lon:'-71.284447',lat:'41.672527'},{lon:'-71.271401',lat:'41.657267'},{lon:'-71.272087',lat:'41.649315'},{lon:'-71.263160',lat:'41.640848'},{lon:'-71.255781',lat:'41.645979'},{lon:'-71.247971',lat:'41.666243'},{lon:'-71.236725',lat:'41.663936'},{lon:'-71.232948',lat:'41.676502'},{lon:'-71.242562',lat:'41.693167'},{lon:'-71.222305',lat:'41.708292'},{lon:'-71.260886',lat:'41.752153'},{lon:'-71.330109',lat:'41.781553'},{lon:'-71.329422',lat:'41.788497'},{lon:'-71.332249',lat:'41.790241'},{lon:'-71.331814',lat:'41.790961'},{lon:'-71.334378',lat:'41.794832'},{lon:'-71.339475',lat:'41.796160'},{lon:'-71.340380',lat:'41.797190'},{lon:'-71.340255',lat:'41.797788'},{lon:'-71.341251',lat:'41.798232'},{lon:'-71.340623',lat:'41.799279'},{lon:'-71.342468',lat:'41.799983'},{lon:'-71.339035',lat:'41.810220'},{lon:'-71.347017',lat:'41.823301'},{lon:'-71.345043',lat:'41.827810'},{lon:'-71.335001',lat:'41.835357'},{lon:'-71.342039',lat:'41.844693'},{lon:'-71.333541',lat:'41.862402'},{lon:'-71.340580',lat:'41.880553'},{lon:'-71.338605',lat:'41.898572'},{lon:'-71.381693',lat:'41.894803'},{lon:'-71.380234',lat:'42.019267'},{lon:'-71.500657',lat:'42.017126'},{lon:'-71.542282',lat:'42.015121'},{lon:'-71.608501',lat:'42.013368'},{lon:'-71.608178',lat:'42.005093'},{lon:'-71.608930',lat:'42.004567'},{lon:'-71.604510',lat:'41.996913'},{lon:'-71.605410',lat:'41.996051'},{lon:'-71.610045',lat:'41.993787'},{lon:'-71.605196',lat:'41.984728'},{lon:'-71.616568',lat:'41.982080'},{lon:'-71.620517',lat:'41.985398'},{lon:'-71.638971',lat:'41.997869'},{lon:'-71.639614',lat:'41.994553'},{lon:'-71.630173',lat:'41.974806'},{lon:'-71.654677',lat:'41.987503'},{lon:'-71.657810',lat:'41.986833'},{lon:'-71.657532',lat:'41.985159'},{lon:'-71.668582',lat:'41.979656'},{lon:'-71.670428',lat:'41.973993'},{lon:'-71.671415',lat:'41.973905'},{lon:'-71.671565',lat:'41.975137'},{lon:'-71.672927',lat:'41.974988'},{lon:'-71.673088',lat:'41.973753'},{lon:'-71.678581',lat:'41.972509'},{lon:'-71.678925',lat:'41.969063'},{lon:'-71.681135',lat:'41.969079'},{lon:'-71.685920',lat:'41.970818'},{lon:'-71.690039',lat:'41.977454'},{lon:'-71.695147',lat:'41.981091'},{lon:'-71.694503',lat:'41.976450'},{lon:'-71.693344',lat:'41.974934'},{lon:'-71.693001',lat:'41.973020'},{lon:'-71.699009',lat:'41.973913'},{lon:'-71.701841',lat:'41.974072'},{lon:'-71.705232',lat:'41.977486'},{lon:'-71.708343',lat:'41.976624'},{lon:'-71.710210',lat:'41.975253'},{lon:'-71.709480',lat:'41.967149'},{lon:'-71.720810',lat:'41.970340'},{lon:'-71.723728',lat:'41.970340'},{lon:'-71.722355',lat:'41.965490'},{lon:'-71.725745',lat:'41.966893'},{lon:'-71.727226',lat:'41.966750'},{lon:'-71.728062',lat:'41.965617'},{lon:'-71.734993',lat:'41.967563'},{lon:'-71.737257',lat:'41.971185'},{lon:'-71.736946',lat:'41.973913'},{lon:'-71.738834',lat:'41.975062'},{lon:'-71.741581',lat:'41.973785'},{lon:'-71.740723',lat:'41.971488'},{lon:'-71.745357',lat:'41.968010'},{lon:'-71.741323',lat:'41.967468'},{lon:'-71.732569',lat:'41.965011'},{lon:'-71.727676',lat:'41.964085'},{lon:'-71.726388',lat:'41.963255'},{lon:'-71.721840',lat:'41.962554'},{lon:'-71.720746',lat:'41.962075'},{lon:'-71.719737',lat:'41.959873'},{lon:'-71.718750',lat:'41.959107'},{lon:'-71.717934',lat:'41.959107'},{lon:'-71.716003',lat:'41.956810'},{lon:'-71.718321',lat:'41.950745'},{lon:'-71.718256',lat:'41.948527'},{lon:'-71.717076',lat:'41.948223'},{lon:'-71.712570',lat:'41.937275'},{lon:'-71.708279',lat:'41.935998'},{lon:'-71.707077',lat:'41.937530'},{lon:'-71.707249',lat:'41.944170'},{lon:'-71.702442',lat:'41.954256'},{lon:'-71.701326',lat:'41.952373'},{lon:'-71.690812',lat:'41.946596'},{lon:'-71.687251',lat:'41.947617'},{lon:'-71.681328',lat:'41.947490'},{lon:'-71.680019',lat:'41.947203'},{lon:'-71.676822',lat:'41.944106'},{lon:'-71.673732',lat:'41.943468'},{lon:'-71.670942',lat:'41.944426'},{lon:'-71.666737',lat:'41.944936'},{lon:'-71.664891',lat:'41.943851'},{lon:'-71.659570',lat:'41.942957'},{lon:'-71.668539',lat:'41.929549'},{lon:'-71.669568',lat:'41.926835'},{lon:'-71.668110',lat:'41.929022'},{lon:'-71.666136',lat:'41.930284'},{lon:'-71.661029',lat:'41.932327'},{lon:'-71.659956',lat:'41.935488'},{lon:'-71.659742',lat:'41.938903'},{lon:'-71.658004',lat:'41.942207'},{lon:'-71.657209',lat:'41.943149'},{lon:'-71.653884',lat:'41.944458'},{lon:'-71.648497',lat:'41.947810'},{lon:'-71.647639',lat:'41.940117'},{lon:'-71.646567',lat:'41.935104'},{lon:'-71.633434',lat:'41.929741'},{lon:'-71.625881',lat:'41.929741'},{lon:'-71.637382',lat:'41.944521'},{lon:'-71.634593',lat:'41.947139'},{lon:'-71.635881',lat:'41.949979'},{lon:'-71.627598',lat:'41.951065'},{lon:'-71.620903',lat:'41.949660'},{lon:'-71.618156',lat:'41.949501'},{lon:'-71.616869',lat:'41.950291'},{lon:'-71.613608',lat:'41.950634'},{lon:'-71.599359',lat:'41.955692'},{lon:'-71.597643',lat:'41.955756'},{lon:'-71.596226',lat:'41.955023'},{lon:'-71.595293',lat:'41.954049'},{lon:'-71.595218',lat:'41.952629'},{lon:'-71.595079',lat:'41.950219'},{lon:'-71.595455',lat:'41.948384'},{lon:'-71.588927',lat:'41.935615'},{lon:'-71.559019',lat:'41.921375'},{lon:'-71.562238',lat:'41.918309'},{lon:'-71.562538',lat:'41.913967'},{lon:'-71.566572',lat:'41.911156'},{lon:'-71.569362',lat:'41.911316'},{lon:'-71.573975',lat:'41.909112'},{lon:'-71.574340',lat:'41.907004'},{lon:'-71.573525',lat:'41.905599'},{lon:'-71.574468',lat:'41.905822'},{lon:'-71.576185',lat:'41.907643'},{lon:'-71.577343',lat:'41.908217'},{lon:'-71.577558',lat:'41.907515'},{lon:'-71.576721',lat:'41.904337'},{lon:'-71.577612',lat:'41.903514'},{lon:'-71.577881',lat:'41.902708'},{lon:'-71.578889',lat:'41.900935'},{lon:'-71.578331',lat:'41.899003'},{lon:'-71.578546',lat:'41.897390'},{lon:'-71.575842',lat:'41.892247'},{lon:'-71.570735',lat:'41.885154'},{lon:'-71.576185',lat:'41.884260'},{lon:'-71.578074',lat:'41.885410'},{lon:'-71.582708',lat:'41.884579'},{lon:'-71.583486',lat:'41.884495'},{lon:'-71.586238',lat:'41.885529'},{lon:'-71.585390',lat:'41.886192'},{lon:'-71.587558',lat:'41.889563'},{lon:'-71.591292',lat:'41.887071'},{lon:'-71.591678',lat:'41.887886'},{lon:'-71.594575',lat:'41.887479'},{lon:'-71.598899',lat:'41.888872'},{lon:'-71.600226',lat:'41.887759'},{lon:'-71.600653',lat:'41.886614'},{lon:'-71.602882',lat:'41.887130'},{lon:'-71.604338',lat:'41.886879'},{lon:'-71.600647',lat:'41.884451'},{lon:'-71.602063',lat:'41.883644'},{lon:'-71.602450',lat:'41.882646'},{lon:'-71.601205',lat:'41.876751'},{lon:'-71.601549',lat:'41.875321'},{lon:'-71.602793',lat:'41.874018'},{lon:'-71.604735',lat:'41.874646'},{lon:'-71.608522',lat:'41.874873'},{lon:'-71.614680',lat:'41.875872'},{lon:'-71.616655',lat:'41.875952'},{lon:'-71.618564',lat:'41.876671'},{lon:'-71.620452',lat:'41.878509'},{lon:'-71.623703',lat:'41.879132'},{lon:'-71.624508',lat:'41.877678'},{lon:'-71.623135',lat:'41.872788'},{lon:'-71.621665',lat:'41.872632'},{lon:'-71.621139',lat:'41.873116'},{lon:'-71.620592',lat:'41.872688'},{lon:'-71.619444',lat:'41.872037'},{lon:'-71.618006',lat:'41.871063'},{lon:'-71.617469',lat:'41.869177'},{lon:'-71.611462',lat:'41.862658'},{lon:'-71.611762',lat:'41.860676'},{lon:'-71.609359',lat:'41.857815'},{lon:'-71.591849',lat:'41.857720'},{lon:'-71.590690',lat:'41.854347'},{lon:'-71.589060',lat:'41.852941'},{lon:'-71.590218',lat:'41.850048'},{lon:'-71.587923',lat:'41.848674'},{lon:'-71.585369',lat:'41.850767'},{lon:'-71.583201',lat:'41.849424'},{lon:'-71.584683',lat:'41.847906'},{lon:'-71.585755',lat:'41.842998'},{lon:'-71.585015',lat:'41.841280'},{lon:'-71.584280',lat:'41.840293'},{lon:'-71.584146',lat:'41.839306'},{lon:'-71.584640',lat:'41.837515'},{lon:'-71.589060',lat:'41.837212'},{lon:'-71.593266',lat:'41.833566'},{lon:'-71.593780',lat:'41.830497'},{lon:'-71.591721',lat:'41.830113'},{lon:'-71.591549',lat:'41.828450'},{lon:'-71.588459',lat:'41.828386'},{lon:'-71.586056',lat:'41.828578'},{lon:'-71.587000',lat:'41.831136'},{lon:'-71.587086',lat:'41.831712'},{lon:'-71.583738',lat:'41.831200'},{lon:'-71.580820',lat:'41.832096'},{lon:'-71.576571',lat:'41.829698'},{lon:'-71.569383',lat:'41.828259'},{lon:'-71.564920',lat:'41.828914'},{lon:'-71.559695',lat:'41.828051'},{lon:'-71.558590',lat:'41.827155'},{lon:'-71.557217',lat:'41.825556'},{lon:'-71.548676',lat:'41.818872'},{lon:'-71.542540',lat:'41.816233'},{lon:'-71.547346',lat:'41.815338'},{lon:'-71.549020',lat:'41.815402'},{lon:'-71.550629',lat:'41.814074'},{lon:'-71.574704',lat:'41.815770'},{lon:'-71.573873',lat:'41.814327'},{lon:'-71.573106',lat:'41.814083'},{lon:'-71.568310',lat:'41.815034'},{lon:'-71.565113',lat:'41.810668'},{lon:'-71.564856',lat:'41.807597'},{lon:'-71.563396',lat:'41.804782'},{lon:'-71.558847',lat:'41.789489'},{lon:'-71.548977',lat:'41.791537'},{lon:'-71.548462',lat:'41.789489'},{lon:'-71.544428',lat:'41.786865'},{lon:'-71.541681',lat:'41.782193'},{lon:'-71.539192',lat:'41.781425'},{lon:'-71.533785',lat:'41.772912'},{lon:'-71.535780',lat:'41.771840'},{lon:'-71.532636',lat:'41.770104'},{lon:'-71.532910',lat:'41.769203'},{lon:'-71.532425',lat:'41.768545'},{lon:'-71.530888',lat:'41.768015'},{lon:'-71.531499',lat:'41.767583'},{lon:'-71.535952',lat:'41.766927'},{lon:'-71.536649',lat:'41.766447'},{lon:'-71.536875',lat:'41.765550'},{lon:'-71.535394',lat:'41.764726'},{lon:'-71.534278',lat:'41.763326'},{lon:'-71.531489',lat:'41.761261'},{lon:'-71.530438',lat:'41.761341'},{lon:'-71.529300',lat:'41.761029'},{lon:'-71.529064',lat:'41.760685'},{lon:'-71.529021',lat:'41.760108'},{lon:'-71.531102',lat:'41.758059'},{lon:'-71.531145',lat:'41.757307'},{lon:'-71.530094',lat:'41.756331'},{lon:'-71.529879',lat:'41.754602'},{lon:'-71.520481',lat:'41.756011'},{lon:'-71.514216',lat:'41.735262'},{lon:'-71.516318',lat:'41.736095'},{lon:'-71.521232',lat:'41.740017'},{lon:'-71.524215',lat:'41.741651'},{lon:'-71.530266',lat:'41.740522'},{lon:'-71.534128',lat:'41.740306'},{lon:'-71.537604',lat:'41.740851'},{lon:'-71.543891',lat:'41.740130'},{lon:'-71.545436',lat:'41.741699'},{lon:'-71.546005',lat:'41.741586'},{lon:'-71.546488',lat:'41.741859'},{lon:'-71.546976',lat:'41.742743'},{lon:'-71.546906',lat:'41.744332'},{lon:'-71.547797',lat:'41.745269'},{lon:'-71.557645',lat:'41.741995'},{lon:'-71.563696',lat:'41.741590'},{lon:'-71.563524',lat:'41.742050'},{lon:'-71.566504',lat:'41.742593'},{lon:'-71.566763',lat:'41.742353'},{lon:'-71.566785',lat:'41.741928'},{lon:'-71.567494',lat:'41.741663'},{lon:'-71.568634',lat:'41.739036'},{lon:'-71.569411',lat:'41.737960'},{lon:'-71.570058',lat:'41.737422'},{lon:'-71.570446',lat:'41.738581'},{lon:'-71.572125',lat:'41.740868'},{lon:'-71.578797',lat:'41.740374'},{lon:'-71.586133',lat:'41.739835'},{lon:'-71.592901',lat:'41.738352'},{lon:'-71.594189',lat:'41.738416'},{lon:'-71.594510',lat:'41.738768'},{lon:'-71.594918',lat:'41.740498'},{lon:'-71.593920',lat:'41.741963'},{lon:'-71.594231',lat:'41.742851'},{lon:'-71.595519',lat:'41.743828'},{lon:'-71.596173',lat:'41.742667'},{lon:'-71.596785',lat:'41.742019'},{lon:'-71.596935',lat:'41.740866'},{lon:'-71.597751',lat:'41.740018'},{lon:'-71.598930',lat:'41.739297'},{lon:'-71.599403',lat:'41.738448'},{lon:'-71.600905',lat:'41.738208'},{lon:'-71.602664',lat:'41.737232'},{lon:'-71.607921',lat:'41.737072'},{lon:'-71.609402',lat:'41.736287'},{lon:'-71.610496',lat:'41.736815'},{lon:'-71.613973',lat:'41.736735'},{lon:'-71.615796',lat:'41.735855'},{lon:'-71.618414',lat:'41.733276'},{lon:'-71.622598',lat:'41.731627'},{lon:'-71.624883',lat:'41.728256'},{lon:'-71.626946',lat:'41.728140'},{lon:'-71.628118',lat:'41.728288'},{lon:'-71.630355',lat:'41.728264'},{lon:'-71.631449',lat:'41.728577'},{lon:'-71.633520',lat:'41.728617'},{lon:'-71.634411',lat:'41.729033'},{lon:'-71.637147',lat:'41.729514'},{lon:'-71.641052',lat:'41.727720'},{lon:'-71.679836',lat:'41.727288'},{lon:'-71.679595',lat:'41.723072'},{lon:'-71.680158',lat:'41.719560'},{lon:'-71.679215',lat:'41.718615'},{lon:'-71.678592',lat:'41.718319'},{lon:'-71.677149',lat:'41.718127'},{lon:'-71.676500',lat:'41.717238'},{lon:'-71.674697',lat:'41.716938'},{lon:'-71.671715',lat:'41.716813'},{lon:'-71.671318',lat:'41.716421'},{lon:'-71.671254',lat:'41.715476'},{lon:'-71.670658',lat:'41.715376'},{lon:'-71.669548',lat:'41.715372'},{lon:'-71.669006',lat:'41.715512'},{lon:'-71.668486',lat:'41.715828'},{lon:'-71.668394',lat:'41.716353'},{lon:'-71.668196',lat:'41.716765'},{lon:'-71.668276',lat:'41.717132'},{lon:'-71.668013',lat:'41.717450'},{lon:'-71.667316',lat:'41.717670'},{lon:'-71.666694',lat:'41.718027'},{lon:'-71.665717',lat:'41.718263'},{lon:'-71.665020',lat:'41.718158'},{lon:'-71.664838',lat:'41.717984'},{lon:'-71.664977',lat:'41.717778'},{lon:'-71.664934',lat:'41.717510'},{lon:'-71.664441',lat:'41.717234'},{lon:'-71.664151',lat:'41.717168'},{lon:'-71.663593',lat:'41.716757'},{lon:'-71.663164',lat:'41.716637'},{lon:'-71.661924',lat:'41.716421'},{lon:'-71.659644',lat:'41.715612'},{lon:'-71.659559',lat:'41.715400'},{lon:'-71.659870',lat:'41.715268'},{lon:'-71.659924',lat:'41.714787'},{lon:'-71.659607',lat:'41.714599'},{lon:'-71.659420',lat:'41.714170'},{lon:'-71.658443',lat:'41.714354'},{lon:'-71.657295',lat:'41.714234'},{lon:'-71.656373',lat:'41.715323'},{lon:'-71.655750',lat:'41.715452'},{lon:'-71.654560',lat:'41.715147'},{lon:'-71.653712',lat:'41.715099'},{lon:'-71.653261',lat:'41.714379'},{lon:'-71.652425',lat:'41.714347'},{lon:'-71.652231',lat:'41.713834'},{lon:'-71.650321',lat:'41.710727'},{lon:'-71.649277',lat:'41.710510'},{lon:'-71.646302',lat:'41.709173'},{lon:'-71.640074',lat:'41.703294'},{lon:'-71.635900',lat:'41.702332'},{lon:'-71.634793',lat:'41.698287'},{lon:'-71.637118',lat:'41.693280'},{lon:'-71.638337',lat:'41.687240'},{lon:'-71.637376',lat:'41.683762'}];
AddRaidPolygon(raid_mapLayer, ppolygon_2, "#FFFFFF","Urban");

var ppolygon_3 = [{lon:'-71.372852',lat:'41.574747'},{lon:'-71.379375',lat:'41.570766'},{lon:'-71.382637',lat:'41.560362'},{lon:'-71.387272',lat:'41.557793'},{lon:'-71.387100',lat:'41.539422'},{lon:'-71.393452',lat:'41.526572'},{lon:'-71.394138',lat:'41.515776'},{lon:'-71.380920',lat:'41.505106'},{lon:'-71.386585',lat:'41.498550'},{lon:'-71.387272',lat:'41.493664'},{lon:'-71.395340',lat:'41.493278'},{lon:'-71.395855',lat:'41.495207'},{lon:'-71.398430',lat:'41.495207'},{lon:'-71.401691',lat:'41.492892'},{lon:'-71.401520',lat:'41.488778'},{lon:'-71.399460',lat:'41.485434'},{lon:'-71.397743',lat:'41.478618'},{lon:'-71.398773',lat:'41.473602'},{lon:'-71.395340',lat:'41.467171'},{lon:'-71.397228',lat:'41.464856'},{lon:'-71.400661',lat:'41.463312'},{lon:'-71.402550',lat:'41.457909'},{lon:'-71.401005',lat:'41.447873'},{lon:'-71.397228',lat:'41.448517'},{lon:'-71.395340',lat:'41.451090'},{lon:'-71.388645',lat:'41.454693'},{lon:'-71.388817',lat:'41.464856'},{lon:'-71.384697',lat:'41.463312'},{lon:'-71.381264',lat:'41.466013'},{lon:'-71.379890',lat:'41.470901'},{lon:'-71.383495',lat:'41.479518'},{lon:'-71.384010',lat:'41.485434'},{lon:'-71.385727',lat:'41.486977'},{lon:'-71.384354',lat:'41.488006'},{lon:'-71.381264',lat:'41.487620'},{lon:'-71.380234',lat:'41.485434'},{lon:'-71.379204',lat:'41.481062'},{lon:'-71.377831',lat:'41.477589'},{lon:'-71.378174',lat:'41.474760'},{lon:'-71.376457',lat:'41.473345'},{lon:'-71.372337',lat:'41.473474'},{lon:'-71.370964',lat:'41.476561'},{lon:'-71.368732',lat:'41.476946'},{lon:'-71.366329',lat:'41.475917'},{lon:'-71.359291',lat:'41.475789'},{lon:'-71.352768',lat:'41.480419'},{lon:'-71.356544',lat:'41.481833'},{lon:'-71.359634',lat:'41.483377'},{lon:'-71.359119',lat:'41.488006'},{lon:'-71.361523',lat:'41.489035'},{lon:'-71.365128',lat:'41.493664'},{lon:'-71.365643',lat:'41.497778'},{lon:'-71.362381',lat:'41.500735'},{lon:'-71.357403',lat:'41.503049'},{lon:'-71.356201',lat:'41.510248'},{lon:'-71.360493',lat:'41.512305'},{lon:'-71.362038',lat:'41.511534'},{lon:'-71.365128',lat:'41.513076'},{lon:'-71.363068',lat:'41.517318'},{lon:'-71.359806',lat:'41.526829'},{lon:'-71.363411',lat:'41.539293'},{lon:'-71.358948',lat:'41.547131'},{lon:'-71.358604',lat:'41.555352'},{lon:'-71.361008',lat:'41.567169'},{lon:'-71.363754',lat:'41.572435'}];
AddRaidPolygon(raid_mapLayer, ppolygon_3, "#FFFFFF","Urban");

var ppolygon_4 = [{lon:'-71.238619',lat:'41.617267'},{lon:'-71.238270',lat:'41.619549'},{lon:'-71.218185',lat:'41.622886'},{lon:'-71.216126',lat:'41.630071'},{lon:'-71.216640',lat:'41.635845'},{lon:'-71.213207',lat:'41.639950'},{lon:'-71.215610',lat:'41.643157'},{lon:'-71.215782',lat:'41.647006'},{lon:'-71.219902',lat:'41.650084'},{lon:'-71.217156',lat:'41.655086'},{lon:'-71.221104',lat:'41.657523'},{lon:'-71.224365',lat:'41.656112'},{lon:'-71.226082',lat:'41.649699'},{lon:'-71.226597',lat:'41.647262'},{lon:'-71.232948',lat:'41.644440'},{lon:'-71.233120',lat:'41.640848'},{lon:'-71.237927',lat:'41.638796'},{lon:'-71.249084',lat:'41.640463'},{lon:'-71.253719',lat:'41.639180'},{lon:'-71.259899',lat:'41.634434'},{lon:'-71.262817',lat:'41.628018'},{lon:'-71.266766',lat:'41.625965'},{lon:'-71.274147',lat:'41.624810'},{lon:'-71.274679',lat:'41.623343'},{lon:'-71.276379',lat:'41.618651'},{lon:'-71.272945',lat:'41.612105'},{lon:'-71.272945',lat:'41.608512'},{lon:'-71.282730',lat:'41.593878'},{lon:'-71.287537',lat:'41.593236'},{lon:'-71.288395',lat:'41.584120'},{lon:'-71.285133',lat:'41.578342'},{lon:'-71.288567',lat:'41.573077'},{lon:'-71.294403',lat:'41.572050'},{lon:'-71.299896',lat:'41.564344'},{lon:'-71.305904',lat:'41.557793'},{lon:'-71.312771',lat:'41.544947'},{lon:'-71.310368',lat:'41.542634'},{lon:'-71.308651',lat:'41.541863'},{lon:'-71.310196',lat:'41.539936'},{lon:'-71.314316',lat:'41.536210'},{lon:'-71.315517',lat:'41.529399'},{lon:'-71.312256',lat:'41.524387'},{lon:'-71.315002',lat:'41.520788'},{lon:'-71.320667',lat:'41.520403'},{lon:'-71.321869',lat:'41.522074'},{lon:'-71.322556',lat:'41.524644'},{lon:'-71.328306',lat:'41.521527'},{lon:'-71.328263',lat:'41.519632'},{lon:'-71.331739',lat:'41.518443'},{lon:'-71.330667',lat:'41.516740'},{lon:'-71.328446',lat:'41.517832'},{lon:'-71.327121',lat:'41.517029'},{lon:'-71.325861',lat:'41.517318'},{lon:'-71.323686',lat:'41.516113'},{lon:'-71.325130',lat:'41.514225'},{lon:'-71.326918',lat:'41.514908'},{lon:'-71.328089',lat:'41.514522'},{lon:'-71.329229',lat:'41.514587'},{lon:'-71.330409',lat:'41.512562'},{lon:'-71.331096',lat:'41.507227'},{lon:'-71.328735',lat:'41.504689'},{lon:'-71.341481',lat:'41.499337'},{lon:'-71.343649',lat:'41.496573'},{lon:'-71.343005',lat:'41.494950'},{lon:'-71.329036',lat:'41.492700'},{lon:'-71.328392',lat:'41.482316'},{lon:'-71.326418',lat:'41.482316'},{lon:'-71.324444',lat:'41.488729'},{lon:'-71.318650',lat:'41.487845'},{lon:'-71.316891',lat:'41.477798'},{lon:'-71.322363',lat:'41.477115'},{lon:'-71.333241',lat:'41.472155'},{lon:'-71.334517',lat:'41.472181'},{lon:'-71.335519',lat:'41.470346'},{lon:'-71.336671',lat:'41.469887'},{lon:'-71.336149',lat:'41.470746'},{lon:'-71.336221',lat:'41.471950'},{lon:'-71.337313',lat:'41.473128'},{lon:'-71.334862',lat:'41.475901'},{lon:'-71.334980',lat:'41.479261'},{lon:'-71.336642',lat:'41.481978'},{lon:'-71.337426',lat:'41.482042'},{lon:'-71.338617',lat:'41.480845'},{lon:'-71.339223',lat:'41.479177'},{lon:'-71.340945',lat:'41.477766'},{lon:'-71.344700',lat:'41.473618'},{lon:'-71.346352',lat:'41.472991'},{lon:'-71.347060',lat:'41.471962'},{lon:'-71.340237',lat:'41.470258'},{lon:'-71.340580',lat:'41.467846'},{lon:'-71.337919',lat:'41.467621'},{lon:'-71.335258',lat:'41.469036'},{lon:'-71.334701',lat:'41.467010'},{lon:'-71.334357',lat:'41.466721'},{lon:'-71.335001',lat:'41.466335'},{lon:'-71.334701',lat:'41.465788'},{lon:'-71.332812',lat:'41.465241'},{lon:'-71.332769',lat:'41.466110'},{lon:'-71.331825',lat:'41.466850'},{lon:'-71.331868',lat:'41.467943'},{lon:'-71.331739',lat:'41.468457'},{lon:'-71.329722',lat:'41.469261'},{lon:'-71.328177',lat:'41.469551'},{lon:'-71.325603',lat:'41.469390'},{lon:'-71.322470',lat:'41.466882'},{lon:'-71.320217',lat:'41.466399'},{lon:'-71.317577',lat:'41.467284'},{lon:'-71.317856',lat:'41.466255'},{lon:'-71.316204',lat:'41.466013'},{lon:'-71.317062',lat:'41.463762'},{lon:'-71.316805',lat:'41.461511'},{lon:'-71.317663',lat:'41.459549'},{lon:'-71.316032',lat:'41.459099'},{lon:'-71.315904',lat:'41.457748'},{lon:'-71.316547',lat:'41.457587'},{lon:'-71.317062',lat:'41.457073'},{lon:'-71.317964',lat:'41.457169'},{lon:'-71.319594',lat:'41.456365'},{lon:'-71.318307',lat:'41.455336'},{lon:'-71.318178',lat:'41.454435'},{lon:'-71.317406',lat:'41.454178'},{lon:'-71.316075',lat:'41.454628'},{lon:'-71.315346',lat:'41.454628'},{lon:'-71.314745',lat:'41.454757'},{lon:'-71.315260',lat:'41.456204'},{lon:'-71.314015',lat:'41.456365'},{lon:'-71.312599',lat:'41.455979'},{lon:'-71.311913',lat:'41.455722'},{lon:'-71.311827',lat:'41.455079'},{lon:'-71.311998',lat:'41.454307'},{lon:'-71.312900',lat:'41.453567'},{lon:'-71.312556',lat:'41.452570'},{lon:'-71.312985',lat:'41.451991'},{lon:'-71.313200',lat:'41.451347'},{lon:'-71.310754',lat:'41.450961'},{lon:'-71.308050',lat:'41.451380'},{lon:'-71.306505',lat:'41.452988'},{lon:'-71.305261',lat:'41.453117'},{lon:'-71.305046',lat:'41.454017'},{lon:'-71.303844',lat:'41.454435'},{lon:'-71.303630',lat:'41.458584'},{lon:'-71.302128',lat:'41.459806'},{lon:'-71.301913',lat:'41.460643'},{lon:'-71.302943',lat:'41.460771'},{lon:'-71.302943',lat:'41.462315'},{lon:'-71.303587',lat:'41.462894'},{lon:'-71.301141',lat:'41.466817'},{lon:'-71.298480',lat:'41.466850'},{lon:'-71.296055',lat:'41.468988'},{lon:'-71.297064',lat:'41.474567'},{lon:'-71.296120',lat:'41.479583'},{lon:'-71.296420',lat:'41.485113'},{lon:'-71.282859',lat:'41.487845'},{lon:'-71.279984',lat:'41.484084'},{lon:'-71.279039',lat:'41.482830'},{lon:'-71.278610',lat:'41.480740'},{lon:'-71.275263',lat:'41.478554'},{lon:'-71.271744',lat:'41.480998'},{lon:'-71.268826',lat:'41.482091'},{lon:'-71.264963',lat:'41.488520'},{lon:'-71.252432',lat:'41.485498'},{lon:'-71.246424',lat:'41.481062'},{lon:'-71.248827',lat:'41.474438'},{lon:'-71.247883',lat:'41.471351'},{lon:'-71.239386',lat:'41.475210'},{lon:'-71.238012',lat:'41.478940'},{lon:'-71.236811',lat:'41.480419'},{lon:'-71.236038',lat:'41.486784'},{lon:'-71.238270',lat:'41.487620'},{lon:'-71.241961',lat:'41.486206'},{lon:'-71.245823',lat:'41.487685'},{lon:'-71.246853',lat:'41.491349'},{lon:'-71.245565',lat:'41.493857'},{lon:'-71.237927',lat:'41.504464'},{lon:'-71.225739',lat:'41.529399'},{lon:'-71.227455',lat:'41.531584'},{lon:'-71.231918',lat:'41.531712'},{lon:'-71.235523',lat:'41.535696'},{lon:'-71.233635',lat:'41.543662'},{lon:'-71.235352',lat:'41.544947'},{lon:'-71.232948',lat:'41.552912'},{lon:'-71.236038',lat:'41.556252'},{lon:'-71.237583',lat:'41.560619'},{lon:'-71.234665',lat:'41.567169'},{lon:'-71.235523',lat:'41.573591'},{lon:'-71.232433',lat:'41.576801'},{lon:'-71.237240',lat:'41.578342'},{lon:'-71.239471',lat:'41.583093'},{lon:'-71.242390',lat:'41.586945'},{lon:'-71.241531',lat:'41.591696'},{lon:'-71.242390',lat:'41.592594'}];
AddRaidPolygon(raid_mapLayer, ppolygon_4, "#FFFFFF","Urban");

var ppolygon_5 = [{lon:'-71.162785',lat:'41.604450'},{lon:'-71.161880',lat:'41.599270'},{lon:'-71.152434',lat:'41.602696'},{lon:'-71.140466',lat:'41.607036'},{lon:'-71.141796',lat:'41.613389'},{lon:'-71.140251',lat:'41.623880'},{lon:'-71.135316',lat:'41.628499'},{lon:'-71.132526',lat:'41.660441'},{lon:'-71.176085',lat:'41.668296'},{lon:'-71.176043',lat:'41.671662'},{lon:'-71.192381',lat:'41.674622'},{lon:'-71.196213',lat:'41.675316'},{lon:'-71.196814',lat:'41.674034'},{lon:'-71.197329',lat:'41.670860'},{lon:'-71.198444',lat:'41.668552'},{lon:'-71.200719',lat:'41.665474'},{lon:'-71.201577',lat:'41.663423'},{lon:'-71.203680',lat:'41.661307'},{lon:'-71.207414',lat:'41.655664'},{lon:'-71.207242',lat:'41.654702'},{lon:'-71.208358',lat:'41.653804'},{lon:'-71.208873',lat:'41.652874'},{lon:'-71.208787',lat:'41.651399'},{lon:'-71.208615',lat:'41.650565'},{lon:'-71.207929',lat:'41.650373'},{lon:'-71.208015',lat:'41.649860'},{lon:'-71.209130',lat:'41.649250'},{lon:'-71.210804',lat:'41.646525'},{lon:'-71.210418',lat:'41.645915'},{lon:'-71.209946',lat:'41.645947'},{lon:'-71.210632',lat:'41.643702'},{lon:'-71.212134',lat:'41.639501'},{lon:'-71.212735',lat:'41.639244'},{lon:'-71.212692',lat:'41.638539'},{lon:'-71.211705',lat:'41.637577'},{lon:'-71.211963',lat:'41.636198'},{lon:'-71.212521',lat:'41.636069'},{lon:'-71.212821',lat:'41.634818'},{lon:'-71.212091',lat:'41.634401'},{lon:'-71.211405',lat:'41.631482'},{lon:'-71.211748',lat:'41.629494'},{lon:'-71.214066',lat:'41.627120'},{lon:'-71.214194',lat:'41.626222'},{lon:'-71.216469',lat:'41.625709'},{lon:'-71.216297',lat:'41.625099'},{lon:'-71.213808',lat:'41.624457'},{lon:'-71.212091',lat:'41.623238'},{lon:'-71.211233',lat:'41.620062'},{lon:'-71.210504',lat:'41.619581'},{lon:'-71.208658',lat:'41.618811'},{lon:'-71.207027',lat:'41.617881'},{lon:'-71.207242',lat:'41.617496'},{lon:'-71.206255',lat:'41.617271'},{lon:'-71.205912',lat:'41.617913'},{lon:'-71.201406',lat:'41.616309'},{lon:'-71.199904',lat:'41.614993'},{lon:'-71.200247',lat:'41.614191'},{lon:'-71.198444',lat:'41.612490'},{lon:'-71.197672',lat:'41.612202'},{lon:'-71.198187',lat:'41.611753'},{lon:'-71.198187',lat:'41.610950'},{lon:'-71.197071',lat:'41.610341'},{lon:'-71.196642',lat:'41.610437'},{lon:'-71.196245',lat:'41.610112'},{lon:'-71.195741',lat:'41.609699'},{lon:'-71.195397',lat:'41.607549'},{lon:'-71.195869',lat:'41.607613'},{lon:'-71.196384',lat:'41.608351'},{lon:'-71.197286',lat:'41.608736'},{lon:'-71.197586',lat:'41.608448'},{lon:'-71.197157',lat:'41.607549'},{lon:'-71.196556',lat:'41.606843'},{lon:'-71.196556',lat:'41.606330'},{lon:'-71.196041',lat:'41.605014'},{lon:'-71.196985',lat:'41.603859'},{lon:'-71.197886',lat:'41.603121'},{lon:'-71.197758',lat:'41.601548'},{lon:'-71.197414',lat:'41.599302'},{lon:'-71.200376',lat:'41.599206'},{lon:'-71.200976',lat:'41.600008'},{lon:'-71.203637',lat:'41.598596'},{lon:'-71.201706',lat:'41.596093'},{lon:'-71.201105',lat:'41.595900'},{lon:'-71.200204',lat:'41.595932'},{lon:'-71.199474',lat:'41.596510'},{lon:'-71.199346',lat:'41.597184'},{lon:'-71.197886',lat:'41.596734'},{lon:'-71.197715',lat:'41.596414'},{lon:'-71.194754',lat:'41.596606'},{lon:'-71.194797',lat:'41.598243'},{lon:'-71.194453',lat:'41.600361'},{lon:'-71.193294',lat:'41.603987'},{lon:'-71.192658',lat:'41.609506'},{lon:'-71.192651',lat:'41.609571'},{lon:'-71.193294',lat:'41.610437'},{lon:'-71.194668',lat:'41.611239'},{lon:'-71.195226',lat:'41.612266'},{lon:'-71.192522',lat:'41.613581'},{lon:'-71.192381',lat:'41.613619'},{lon:'-71.188402',lat:'41.614672'},{lon:'-71.187372',lat:'41.617335'},{lon:'-71.187501',lat:'41.617977'},{lon:'-71.185699',lat:'41.618394'},{lon:'-71.187115',lat:'41.620800'},{lon:'-71.183896',lat:'41.621602'},{lon:'-71.175613',lat:'41.625484'},{lon:'-71.173553',lat:'41.625676'},{lon:'-71.168876',lat:'41.625484'},{lon:'-71.168833',lat:'41.623784'},{lon:'-71.166129',lat:'41.623591'}];
AddRaidPolygon(raid_mapLayer, ppolygon_5, "#FFFFFF","Urban");
	
    setTimeout(function(){CurrentRaidLocation(raid_mapLayer);},3000);
    mro_Map.events.register("moveend", W.map, function(){CurrentRaidLocation(raid_mapLayer);});
    mro_Map.events.register("zoomend", W.map, function(){CurrentRaidLocation(raid_mapLayer);});
       
}

setTimeout(InitMapRaidOverlay, 3000);