var shape = {"title":"Zoo Neighborhood in Milwaukee, WI","description":"","tags":"","points":[[43.027248, -88.032157], [43.02704, -88.032159], [43.025025, -88.034006], [43.025098, -88.037453], [43.025114, -88.037803], [43.025273, -88.039297], [43.025665, -88.0418], [43.02609, -88.043404], [43.026574, -88.044789], [43.030938, -88.045833], [43.030934, -88.047062], [43.0338, -88.047101], [43.033988, -88.047077], [43.035003, -88.046926], [43.034645, -88.042084], [43.035087, -88.033714], [43.03512, -88.033457], [43.029263, -88.033288], [43.028748, -88.033094], [43.028472, -88.03288], [43.028405, -88.032802], [43.028196, -88.032555], [43.027248, -88.032157]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(43.027248, -88.032157),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());