var shape = {"title":"Mitchell West Neighborhood in Milwaukee, WI","description":"","tags":"","points":[[42.966838, -87.91928], [42.959139, -87.919343], [42.959103, -87.909556], [42.951852, -87.909588], [42.951896, -87.919428], [42.95197, -87.919433], [42.951995, -87.923409], [42.946853, -87.923452], [42.944653, -87.92347], [42.944665, -87.92528], [42.944711, -87.934952], [42.951978, -87.934792], [42.959236, -87.934548], [42.962026, -87.934454], [42.963658, -87.933879], [42.963786, -87.933774], [42.964401, -87.933221], [42.965031, -87.932183], [42.965487, -87.931206], [42.965788, -87.930135], [42.965981, -87.928894], [42.96615, -87.92699], [42.966838, -87.91928]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(42.966838, -87.91928),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());