var shape = {"title":"Little Menomonee Parkway Neighborhood in Milwaukee, WI","description":"","tags":"","points":[[43.133802, -88.04516], [43.133921, -88.032515], [43.133001, -88.031375], [43.132692, -88.031812], [43.132635, -88.031874], [43.132542, -88.031939], [43.13244, -88.031976], [43.13236, -88.031984], [43.131716, -88.031851], [43.131609, -88.03184], [43.131448, -88.031846], [43.131199, -88.031913], [43.131001, -88.032027], [43.130764, -88.032215], [43.130068, -88.032811], [43.129969, -88.032877], [43.129317, -88.033163], [43.129095, -88.033297], [43.128856, -88.033524], [43.128625, -88.033837], [43.128089, -88.034668], [43.12774, -88.035199], [43.127692, -88.035259], [43.127626, -88.035316], [43.127541, -88.03536], [43.127501, -88.035366], [43.127428, -88.035371], [43.124379, -88.035439], [43.123518, -88.040447], [43.129964, -88.049288], [43.130055, -88.049413], [43.133898, -88.055115], [43.134101, -88.053577], [43.134135, -88.053045], [43.134141, -88.052577], [43.134125, -88.052118], [43.134055, -88.051359], [43.133875, -88.050417], [43.133758, -88.049424], [43.133715, -88.048636], [43.1338, -88.045245], [43.133802, -88.04516]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(43.133802, -88.04516),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());