var shape = {"title":"New Coeln Neighborhood in Milwaukee, WI","description":"","tags":"","points":[[42.930058, -87.909979], [42.930102, -87.91967], [42.936163, -87.919552], [42.936033, -87.909685], [42.935512, -87.909753], [42.934534, -87.909811], [42.933582, -87.909827], [42.932967, -87.909815], [42.932298, -87.909736], [42.931441, -87.909728], [42.930654, -87.909776], [42.930058, -87.909979]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(42.930058, -87.909979),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());