| <html> | |
| <head><title>OpenLayers Marker Popups</title></head> | |
| <body> | |
| <div id="mapdiv"></div> | |
| <script src="http://www.openlayers.org/api/OpenLayers.js"></script> | |
| <script> | |
| map = new OpenLayers.Map("mapdiv"); | |
| map.addLayer(new OpenLayers.Layer.OSM()); | |
| epsg4326 = new OpenLayers.Projection("EPSG:4326"); //WGS 1984 projection | |
| projectTo = map.getProjectionObject(); //The map projection (Spherical Mercator) | |
| var lonLat = new OpenLayers.LonLat(-72.5475, 42.1124 ).transform(epsg4326, projectTo); | |
| var zoom=9; | |
| map.setCenter (lonLat, zoom); | |
| var vectorLayer = new OpenLayers.Layer.Vector("Overlay"); | |
| // Define markers as "features" of the vector layer: | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.485, -71.4333 ).transform(epsg4326, projectTo), | |
| {description:'ACTON - Ads: 10'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.8583, -70.9306 ).transform(epsg4326, projectTo), | |
| {description:'AMESBURY - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.6583, -71.1375 ).transform(epsg4326, projectTo), | |
| {description:'ANDOVER - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.4153, -71.1569 ).transform(epsg4326, projectTo), | |
| {description:'ARLINGTON - Ads: 53'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.2611, -71.4639 ).transform(epsg4326, projectTo), | |
| {description:'ASHLAND - Ads: 2'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.5958, -72.2272 ).transform(epsg4326, projectTo), | |
| {description:'ATHOL - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.5611, -71.5903 ).transform(epsg4326, projectTo), | |
| {description:'AYER - Ads: 2'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.4906, -71.2767 ).transform(epsg4326, projectTo), | |
| {description:'BEDFORD - Ads: 3'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.0867, -71.475 ).transform(epsg4326, projectTo), | |
| {description:'BELLINGHAM - Ads: 2'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3958, -71.1792 ).transform(epsg4326, projectTo), | |
| {description:'BELMONT - Ads: 165'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.558, -70.88 ).transform(epsg4326, projectTo), | |
| {description:'BEVERLY - Ads: 3'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.5583, -71.2694 ).transform(epsg4326, projectTo), | |
| {description:'BILLERICA - Ads: 4'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3529, -71.1321 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - ALLSTON - Ads: 1027'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3513, -71.0804 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - BACK BAY - Ads: 510'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3491, -71.068 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - BAY VILLAGE - Ads: 20'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3583, -71.0661 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - BEACON HILL - Ads: 269'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3464, -71.0869 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - BERKLEE COLLEGE AREA - Ads: 52'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3505, -71.1054 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - BOSTON UNIVERSITY AREA - Ads: 403'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3346, -71.1037 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - BRIGHAM CIRCLE - Ads: 21'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.35, -71.16 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - BRIGHTON - Ads: 1137'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3327, -71.1151 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - Brookline Line - Ads: 203'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.366, -71.0674 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - CHARLES RIVER PARK - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3782, -71.0602 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - CHARLESTOWN - Ads: 83'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3525, -71.0628 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - CHINATOWN - Ads: 22'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3499, -71.0763 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - COPLEY SQUARE - Ads: 8'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3167, -71.05 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - DORCHESTER - Ads: 31'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3515, -71.0602 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - DOWNTOWN - Ads: 123'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.343, -71.05 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - EAST BOSTON - Ads: 53'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3521, -71.0657 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - EMERSON COLLEGE AREA - Ads: 18'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3464, -71.0975 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - FENWAY - Ads: 753'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3571, -71.0557 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - FINANCIAL DISTRICT - Ads: 22'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3259, -71.095 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - FORT HILL - Ads: 16'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3485, -71.0504 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - FORT POINT - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3607, -71.0592 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - GOVERNMENT CENTER - Ads: 2'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.2551, -71.125 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - HYDE PARK - Ads: 11'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3097, -71.1151 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - JAMAICA PLAIN - Ads: 136'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.349, -71.0975 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - KENMORE SQUARE - Ads: 87'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3475, -71.0607 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - LADDER DISTRICT - Ads: 2'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3527, -71.0594 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - LEATHER DISTRICT - Ads: 3'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3427, -71.1099 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - LONGWOOD - Ads: 58'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.2771, -71.0914 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - MATTAPAN - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3296, -71.1062 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - MISSION HILL - Ads: 251'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3647, -71.0542 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - NORTH END - Ads: 135'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3398, -71.0892 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - NORTHEASTERN UNIV. AREA - Ads: 347'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3471, -71.0825 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - PRUDENTIAL AREA - Ads: 3'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.2385, -71.13 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - READVILLE - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.2832, -71.127 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - ROSLINDALE - Ads: 34'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3152, -71.0914 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - ROXBURY - Ads: 48'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.347, -71.0409 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - SEAPORT DISTRICT - Ads: 25'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3381, -71.0476 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - SOUTH BOSTON - Ads: 117'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3388, -71.0765 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - SOUTH END - Ads: 217'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3589, -71.0618 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - SUFFOLK UNIV. AREA - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3427, -71.0851 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - SYMPHONY - Ads: 139'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3519, -71.0643 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - THEATER DISTRICT - Ads: 10'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.35, -71.0416 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - WATERFRONT - Ads: 32'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3644, -71.0661 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - WEST END - Ads: 45'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.2798, -71.1627 ).transform(epsg4326, projectTo), | |
| {description:'BOSTON - WEST ROXBURY - Ads: 60'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.2079, -71.004 ).transform(epsg4326, projectTo), | |
| {description:'BRAINTREE - Ads: 4'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 41.9904, -70.9751 ).transform(epsg4326, projectTo), | |
| {description:'BRIDGEWATER - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.0834, -71.0184 ).transform(epsg4326, projectTo), | |
| {description:'BROCKTON - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3317, -71.1217 ).transform(epsg4326, projectTo), | |
| {description:'BROOKLINE - Ads: 540'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3358, -71.1408 ).transform(epsg4326, projectTo), | |
| {description:'BROOKLINE - BEACONSFIELD - Ads: 3'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3313, -71.127 ).transform(epsg4326, projectTo), | |
| {description:'BROOKLINE - BROOKLINE HILLS - Ads: 4'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3324, -71.1166 ).transform(epsg4326, projectTo), | |
| {description:'BROOKLINE - BROOKLINE VILLAGE - Ads: 19'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3133, -71.1397 ).transform(epsg4326, projectTo), | |
| {description:'BROOKLINE - BUTTONWOOD VILLAGE - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3178, -71.1627 ).transform(epsg4326, projectTo), | |
| {description:'BROOKLINE - CHESTNUT HILL - Ads: 14'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3366, -71.1481 ).transform(epsg4326, projectTo), | |
| {description:'BROOKLINE - CLEVELAND CIRCLE - Ads: 15'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3422, -71.1214 ).transform(epsg4326, projectTo), | |
| {description:'BROOKLINE - COOLIDGE CORNER - Ads: 184'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3411, -71.1256 ).transform(epsg4326, projectTo), | |
| {description:'BROOKLINE - COREY HILL - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3427, -71.1099 ).transform(epsg4326, projectTo), | |
| {description:'BROOKLINE - LONGWOOD - Ads: 41'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3469, -71.1241 ).transform(epsg4326, projectTo), | |
| {description:'BROOKLINE - NORTH BROOKLINE - Ads: 12'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3044, -71.1538 ).transform(epsg4326, projectTo), | |
| {description:'BROOKLINE - SOUTH BROOKLINE - Ads: 3'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3394, -71.1353 ).transform(epsg4326, projectTo), | |
| {description:'BROOKLINE - WASHINGTON SQUARE - Ads: 36'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3275, -71.1258 ).transform(epsg4326, projectTo), | |
| {description:'BROOKLINE - WHISKEY POINT - Ads: 4'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.5047, -71.1956 ).transform(epsg4326, projectTo), | |
| {description:'BURLINGTON - Ads: 18'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3736, -71.1106 ).transform(epsg4326, projectTo), | |
| {description:'CAMBRIDGE - Ads: 528'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3801, -71.1166 ).transform(epsg4326, projectTo), | |
| {description:'CAMBRIDGE - AGASSIZ - Ads: 3'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3868, -71.1239 ).transform(epsg4326, projectTo), | |
| {description:'CAMBRIDGE - AVON HILL - Ads: 15'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3596, -71.1077 ).transform(epsg4326, projectTo), | |
| {description:'CAMBRIDGE - CAMBRIDGEPORT - Ads: 12'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3653, -71.1045 ).transform(epsg4326, projectTo), | |
| {description:'CAMBRIDGE - CENTRAL SQUARE - Ads: 111'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3683, -71.0825 ).transform(epsg4326, projectTo), | |
| {description:'CAMBRIDGE - EAST CAMBRIDGE - Ads: 33'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3857, -71.1493 ).transform(epsg4326, projectTo), | |
| {description:'CAMBRIDGE - FRESH POND - Ads: 10'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3735, -71.119 ).transform(epsg4326, projectTo), | |
| {description:'CAMBRIDGE - HARVARD SQUARE - Ads: 259'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3815, -71.1389 ).transform(epsg4326, projectTo), | |
| {description:'CAMBRIDGE - HURON VILLAGE - Ads: 6'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3735, -71.1008 ).transform(epsg4326, projectTo), | |
| {description:'CAMBRIDGE - INMAN SQUARE - Ads: 16'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3629, -71.0901 ).transform(epsg4326, projectTo), | |
| {description:'CAMBRIDGE - KENDALL SQUARE - Ads: 124'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3724, -71.1062 ).transform(epsg4326, projectTo), | |
| {description:'CAMBRIDGE - MID CAMBRIDGE - Ads: 7'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.377, -71.1167 ).transform(epsg4326, projectTo), | |
| {description:'CAMBRIDGE - Near Harvard - Ads: 9'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3964, -71.1359 ).transform(epsg4326, projectTo), | |
| {description:'CAMBRIDGE - NORTH CAMBRIDGE - Ads: 7'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3889, -71.1194 ).transform(epsg4326, projectTo), | |
| {description:'CAMBRIDGE - PORTER SQUARE - Ads: 46'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3822, -71.1269 ).transform(epsg4326, projectTo), | |
| {description:'CAMBRIDGE - RADCLIFFE - Ads: 39'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3677, -71.1137 ).transform(epsg4326, projectTo), | |
| {description:'CAMBRIDGE - RIVERSIDE - Ads: 33'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3814, -71.1523 ).transform(epsg4326, projectTo), | |
| {description:'CAMBRIDGE - STRAWBERRY HILL - Ads: 2'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3774, -71.1359 ).transform(epsg4326, projectTo), | |
| {description:'CAMBRIDGE - WEST CAMBRIDGE - Ads: 11'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.1583, -71.1453 ).transform(epsg4326, projectTo), | |
| {description:'CANTON - Ads: 4'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 41.68, -70.2 ).transform(epsg4326, projectTo), | |
| {description:'CAPE COD - Ads: 4'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3917, -71.0333 ).transform(epsg4326, projectTo), | |
| {description:'CHELSEA - Ads: 22'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.2417, -70.8042 ).transform(epsg4326, projectTo), | |
| {description:'COHASSET - Ads: 2'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.4603, -71.3494 ).transform(epsg4326, projectTo), | |
| {description:'CONCORD - Ads: 5'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 41.7667, -71.45 ).transform(epsg4326, projectTo), | |
| {description:'CRANSTON, RI - Ads: 5'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.2417, -71.1667 ).transform(epsg4326, projectTo), | |
| {description:'DEDHAM - Ads: 19'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.2459, -71.2829 ).transform(epsg4326, projectTo), | |
| {description:'DOVER - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.6667, -71.3 ).transform(epsg4326, projectTo), | |
| {description:'DRACUT - Ads: 3'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.0244, -71.1292 ).transform(epsg4326, projectTo), | |
| {description:'EASTON - Ads: 2'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 41.3889, -70.5139 ).transform(epsg4326, projectTo), | |
| {description:'EDGARTOWN - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.4083, -71.0542 ).transform(epsg4326, projectTo), | |
| {description:'EVERETT - Ads: 3'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.0653, -71.2483 ).transform(epsg4326, projectTo), | |
| {description:'FOXBORO - Ads: 4'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.2792, -71.4167 ).transform(epsg4326, projectTo), | |
| {description:'FRAMINGHAM - Ads: 23'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.6158, -70.6625 ).transform(epsg4326, projectTo), | |
| {description:'GLOUCESTER - Ads: 2'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.1167, -70.8167 ).transform(epsg4326, projectTo), | |
| {description:'HANOVER - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.7833, -71.0833 ).transform(epsg4326, projectTo), | |
| {description:'HAVERHILL - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.2333, -70.8833 ).transform(epsg4326, projectTo), | |
| {description:'HINGHAM - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.155, -71.0092 ).transform(epsg4326, projectTo), | |
| {description:'HOLBROOK - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.1833, -71.425 ).transform(epsg4326, projectTo), | |
| {description:'HOLLISTON - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3019, -70.9083 ).transform(epsg4326, projectTo), | |
| {description:'HULL - Ads: 4'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.525, -71.7603 ).transform(epsg4326, projectTo), | |
| {description:'LEOMINSTER - Ads: 2'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.4472, -71.225 ).transform(epsg4326, projectTo), | |
| {description:'LEXINGTON - Ads: 9'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.4258, -71.3044 ).transform(epsg4326, projectTo), | |
| {description:'LINCOLN - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.6394, -71.3147 ).transform(epsg4326, projectTo), | |
| {description:'LOWELL - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.4667, -70.95 ).transform(epsg4326, projectTo), | |
| {description:'LYNN - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.5389, -71.0486 ).transform(epsg4326, projectTo), | |
| {description:'LYNNFIELD - Ads: 4'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.425, -71.0667 ).transform(epsg4326, projectTo), | |
| {description:'MALDEN - Ads: 41'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.0333, -71.2194 ).transform(epsg4326, projectTo), | |
| {description:'MANSFIELD - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.5, -70.8583 ).transform(epsg4326, projectTo), | |
| {description:'MARBLEHEAD - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.0917, -70.7061 ).transform(epsg4326, projectTo), | |
| {description:'MARSHFIELD - Ads: 2'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 41.39, -70.62 ).transform(epsg4326, projectTo), | |
| {description:'MARTHA'S VINEYARD - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.4183, -71.1067 ).transform(epsg4326, projectTo), | |
| {description:'MEDFORD - Ads: 79'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.1417, -71.3972 ).transform(epsg4326, projectTo), | |
| {description:'MEDWAY - Ads: 4'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.4583, -71.0667 ).transform(epsg4326, projectTo), | |
| {description:'MELROSE - Ads: 15'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.1397, -71.5167 ).transform(epsg4326, projectTo), | |
| {description:'MILFORD - Ads: 7'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.1675, -71.3583 ).transform(epsg4326, projectTo), | |
| {description:'MILLIS - Ads: 2'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.25, -71.0667 ).transform(epsg4326, projectTo), | |
| {description:'MILTON - Ads: 5'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.2833, -71.35 ).transform(epsg4326, projectTo), | |
| {description:'NATICK - Ads: 5'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.2833, -71.2333 ).transform(epsg4326, projectTo), | |
| {description:'NEEDHAM - Ads: 19'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3369, -71.2097 ).transform(epsg4326, projectTo), | |
| {description:'NEWTON - Ads: 193'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.348, -71.2471 ).transform(epsg4326, projectTo), | |
| {description:'NEWTON - AUBURNDALE - Ads: 3'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3304, -71.1662 ).transform(epsg4326, projectTo), | |
| {description:'NEWTON - CHESTNUT HILL - Ads: 24'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3182, -71.2072 ).transform(epsg4326, projectTo), | |
| {description:'NEWTON - HIGHLANDS - Ads: 7'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3306, -71.2592 ).transform(epsg4326, projectTo), | |
| {description:'NEWTON - LOWER FALLS - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3301, -71.1948 ).transform(epsg4326, projectTo), | |
| {description:'NEWTON - NEWTON CENTRE - Ads: 10'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3523, -71.1835 ).transform(epsg4326, projectTo), | |
| {description:'NEWTON - NEWTON CORNER - Ads: 18'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3468, -71.2072 ).transform(epsg4326, projectTo), | |
| {description:'NEWTON - NEWTONVILLE - Ads: 13'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.361, -71.2072 ).transform(epsg4326, projectTo), | |
| {description:'NEWTON - NONANTUM - Ads: 2'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3028, -71.1864 ).transform(epsg4326, projectTo), | |
| {description:'NEWTON - OAK HILL - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3122, -71.2206 ).transform(epsg4326, projectTo), | |
| {description:'NEWTON - UPPER FALLS - Ads: 3'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3498, -71.2251 ).transform(epsg4326, projectTo), | |
| {description:'NEWTON - WEST NEWTON - Ads: 6'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.8695, -71.0345 ).transform(epsg4326, projectTo), | |
| {description:'NEWTON, NH - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.6986, -71.1356 ).transform(epsg4326, projectTo), | |
| {description:'NORTH ANDOVER - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 41.9833, -71.3333 ).transform(epsg4326, projectTo), | |
| {description:'NORTH ATTLEBOROUGH - Ads: 14'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.5751, -71.0787 ).transform(epsg4326, projectTo), | |
| {description:'NORTH READING - Ads: 2'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 41.9667, -71.1875 ).transform(epsg4326, projectTo), | |
| {description:'NORTON - Ads: 2'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.1944, -71.2 ).transform(epsg4326, projectTo), | |
| {description:'NORWOOD - Ads: 28'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.5278, -70.9292 ).transform(epsg4326, projectTo), | |
| {description:'PEABODY - Ads: 3'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.0667, -70.8167 ).transform(epsg4326, projectTo), | |
| {description:'PEMBROKE - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.6658, -71.5889 ).transform(epsg4326, projectTo), | |
| {description:'PEPPERELL - Ads: 2'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 41.9583, -70.6678 ).transform(epsg4326, projectTo), | |
| {description:'PLYMOUTH - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.25, -71 ).transform(epsg4326, projectTo), | |
| {description:'QUINCY - Ads: 28'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.1625, -71.0417 ).transform(epsg4326, projectTo), | |
| {description:'RANDOLPH - Ads: 2'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.5256, -71.0958 ).transform(epsg4326, projectTo), | |
| {description:'READING - Ads: 2'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.4083, -71.0125 ).transform(epsg4326, projectTo), | |
| {description:'REVERE - Ads: 37'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.1306, -70.9167 ).transform(epsg4326, projectTo), | |
| {description:'ROCKLAND - Ads: 4'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.5168, -70.8985 ).transform(epsg4326, projectTo), | |
| {description:'SALEM - Ads: 4'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.4647, -71.0106 ).transform(epsg4326, projectTo), | |
| {description:'SAUGUS - Ads: 10'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.1236, -71.1786 ).transform(epsg4326, projectTo), | |
| {description:'SHARON - Ads: 2'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.2958, -71.7133 ).transform(epsg4326, projectTo), | |
| {description:'SHREWSBURY - Ads: 5'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3875, -71.1 ).transform(epsg4326, projectTo), | |
| {description:'SOMERVILLE - Ads: 199'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3997, -71.1119 ).transform(epsg4326, projectTo), | |
| {description:'SOMERVILLE - BALL SQUARE - Ads: 2'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3967, -71.1223 ).transform(epsg4326, projectTo), | |
| {description:'SOMERVILLE - DAVIS SQUARE - Ads: 32'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3864, -71.0839 ).transform(epsg4326, projectTo), | |
| {description:'SOMERVILLE - EAST SOMERVILLE - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3823, -71.1097 ).transform(epsg4326, projectTo), | |
| {description:'SOMERVILLE - INMAN SQUARE - Ads: 13'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3259, -71.095 ).transform(epsg4326, projectTo), | |
| {description:'SOMERVILLE - KIRKLAND VILLAGE - Ads: 22'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3972, -71.1044 ).transform(epsg4326, projectTo), | |
| {description:'SOMERVILLE - MAGOUN SQUARE - Ads: 23'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3858, -71.1073 ).transform(epsg4326, projectTo), | |
| {description:'SOMERVILLE - Near Porter - Ads: 22'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3837, -71.0958 ).transform(epsg4326, projectTo), | |
| {description:'SOMERVILLE - PROSPECT HILL - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3878, -71.1096 ).transform(epsg4326, projectTo), | |
| {description:'SOMERVILLE - SPRING HILL - Ads: 16'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.4011, -71.1285 ).transform(epsg4326, projectTo), | |
| {description:'SOMERVILLE - TEELE SQUARE - Ads: 3'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.4063, -71.1209 ).transform(epsg4326, projectTo), | |
| {description:'SOMERVILLE - TUFTS UNIVERSITY AREA - Ads: 8'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3797, -71.0956 ).transform(epsg4326, projectTo), | |
| {description:'SOMERVILLE - UNION SQUARE - Ads: 9'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.4069, -71.1269 ).transform(epsg4326, projectTo), | |
| {description:'SOMERVILLE - WEST SOMERVILLE - Ads: 11'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3908, -71.0958 ).transform(epsg4326, projectTo), | |
| {description:'SOMERVILLE - WINTER HILL - Ads: 6'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3056, -71.525 ).transform(epsg4326, projectTo), | |
| {description:'SOUTHBOROUGH - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.48, -71.1 ).transform(epsg4326, projectTo), | |
| {description:'STONEHAM - Ads: 5'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.125, -71.1028 ).transform(epsg4326, projectTo), | |
| {description:'STOUGHTON - Ads: 7'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.4708, -70.9181 ).transform(epsg4326, projectTo), | |
| {description:'SWAMPSCOTT - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 41.9, -71.0903 ).transform(epsg4326, projectTo), | |
| {description:'TAUNTON - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.6106, -71.2347 ).transform(epsg4326, projectTo), | |
| {description:'TEWKSBURY - Ads: 3'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.6667, -71.7056 ).transform(epsg4326, projectTo), | |
| {description:'TOWNSEND - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.5064, -71.0733 ).transform(epsg4326, projectTo), | |
| {description:'WAKEFIELD - Ads: 4'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.1417, -71.25 ).transform(epsg4326, projectTo), | |
| {description:'WALPOLE - Ads: 7'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3806, -71.235 ).transform(epsg4326, projectTo), | |
| {description:'WALTHAM - Ads: 154'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 41.7625, -70.7222 ).transform(epsg4326, projectTo), | |
| {description:'WAREHAM - Ads: 2'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 41.7001, -71.4162 ).transform(epsg4326, projectTo), | |
| {description:'WARWICK, RI - Ads: 4'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3708, -71.1833 ).transform(epsg4326, projectTo), | |
| {description:'WATERTOWN - Ads: 174'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3625, -71.3619 ).transform(epsg4326, projectTo), | |
| {description:'WAYLAND - Ads: 3'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.2964, -71.2931 ).transform(epsg4326, projectTo), | |
| {description:'WELLESLEY - Ads: 17'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.2695, -71.6161 ).transform(epsg4326, projectTo), | |
| {description:'WESTBOROUGH - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3667, -71.3031 ).transform(epsg4326, projectTo), | |
| {description:'WESTON - Ads: 3'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.214, -71.2245 ).transform(epsg4326, projectTo), | |
| {description:'WESTWOOD - Ads: 5'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.2181, -70.941 ).transform(epsg4326, projectTo), | |
| {description:'WEYMOUTH - Ads: 8'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.4523, -71.137 ).transform(epsg4326, projectTo), | |
| {description:'WINCHESTER - Ads: 3'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.3778, -70.9811 ).transform(epsg4326, projectTo), | |
| {description:'WINTHROP - Ads: 1'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 42.4793, -71.1523 ).transform(epsg4326, projectTo), | |
| {description:'WOBURN - Ads: 5'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| var feature = new OpenLayers.Feature.Vector( | |
| new OpenLayers.Geometry.Point( 41.7056, -70.2287 ).transform(epsg4326, projectTo), | |
| {description:'YARMOUTH - Ads: 5'} , | |
| {externalGraphic: './favicon.ico', graphicHeight: 16, graphicWidth: 16, graphicXOffset:-12, graphicYOffset:-25 } | |
| ); | |
| vectorLayer.addFeatures(feature); | |
| map.addLayer(vectorLayer); | |
| //Add a selector control to the vectorLayer with popup functions | |
| var controls = { | |
| selector: new OpenLayers.Control.SelectFeature(vectorLayer, { onSelect: createPopup, onUnselect: destroyPopup }) | |
| }; | |
| function createPopup(feature) { | |
| feature.popup = new OpenLayers.Popup.FramedCloud("pop", | |
| feature.geometry.getBounds().getCenterLonLat(), | |
| null, | |
| '<div class="markerContent">'+feature.attributes.description+'</div>', | |
| null, | |
| true, | |
| function() { controls['selector'].unselectAll(); } | |
| ); | |
| //feature.popup.closeOnMove = true; | |
| map.addPopup(feature.popup); | |
| } | |
| function destroyPopup(feature) { | |
| feature.popup.destroy(); | |
| feature.popup = null; | |
| } | |
| map.addControl(controls['selector']); | |
| controls['selector'].activate(); | |
| </script> | |
| </body></html> | |