var shape = {"title":"Arlington-East Falls Neighborhood in Arlington, VA","description":"","tags":"","points":[[38.895183000000003, -77.159032999999994], [38.894244999999998, -77.157758000000001], [38.894418000000002, -77.157122000000001], [38.896766, -77.156812000000002], [38.896898, -77.153543999999997], [38.897022999999997, -77.151477999999997], [38.897241000000001, -77.150943999999996], [38.897399, -77.150616999999997], [38.897595000000003, -77.148308], [38.897357999999997, -77.148364000000001], [38.897092000000001, -77.148377999999994], [38.896686000000003, -77.148321999999993], [38.896182000000003, -77.148195999999999], [38.895440000000001, -77.147902000000002], [38.894767999999999, -77.147608000000005], [38.894530000000003, -77.147425999999996], [38.894195000000003, -77.147062000000005], [38.893591999999998, -77.146991999999997], [38.893106000000003, -77.148694000000006], [38.892755000000001, -77.150153000000003], [38.892110000000002, -77.152530999999996], [38.891978999999999, -77.152794999999998], [38.890940999999998, -77.152443000000005], [38.888888999999999, -77.151753999999997], [38.884667, -77.150284999999997], [38.884075000000003, -77.151026000000002], [38.884867999999997, -77.153322000000003], [38.884238000000003, -77.153581000000003], [38.883535000000002, -77.153841], [38.882831000000003, -77.153988999999996], [38.881979000000001, -77.1541], [38.881349999999998, -77.1541], [38.878765999999999, -77.153521999999995], [38.888551999999997, -77.166139000000001], [38.888826000000002, -77.166514000000006], [38.889085000000001, -77.166815999999997], [38.890163999999999, -77.168080000000003], [38.891030000000001, -77.169178000000002], [38.891427, -77.169664999999995], [38.892220999999999, -77.17071], [38.893068999999997, -77.171750000000003], [38.893172, -77.171884000000006], [38.893653, -77.171261999999999], [38.894198000000003, -77.170550000000006], [38.894534, -77.170131999999995], [38.895341999999999, -77.169113999999993], [38.895977000000002, -77.168293000000006], [38.897644999999997, -77.166200000000003], [38.899624000000003, -77.163694000000007], [38.898421999999997, -77.163033999999996], [38.897762, -77.162667999999996], [38.897131999999999, -77.161759000000004], [38.896310999999997, -77.160572000000002], [38.895769000000001, -77.159809999999993], [38.895183000000003, -77.159032999999994]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(38.895183, -77.159033),5);
map.addControl(new GSmallMapControl());
var latlngs = [];
for (var i=0; i<shape.points.length; i++)
{
    latlngs[i] = new GLatLng(shape.points[i][0], shape.points[i][1]);
}
var poly = new GPolygon(latlngs, '#ff0000', 3, .8, '#ff0000', .4);
map.addOverlay(poly);
var bounds = poly.getBounds();
map.setZoom(map.getBoundsZoomLevel(bounds));
map.panTo(bounds.getCenter());