var shape = {"title":"Timmerman West Neighborhood in Milwaukee, WI","description":"","tags":"","points":[[43.120688, -88.057093], [43.120799, -88.056491], [43.121938, -88.04977], [43.123518, -88.040447], [43.120097, -88.035683], [43.119525, -88.034801], [43.119431, -88.035724], [43.119332, -88.041221], [43.112251, -88.04115], [43.112241, -88.04062], [43.104591, -88.040781], [43.10437, -88.040717], [43.104302, -88.040712], [43.104299, -88.04093], [43.104142, -88.065921], [43.120336, -88.065351], [43.120129, -88.063856], [43.120031, -88.062903], [43.120012, -88.062094], [43.120043, -88.061253], [43.120044, -88.061216], [43.120117, -88.060419], [43.120225, -88.059668], [43.120364, -88.058841], [43.120688, -88.057093]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(43.120688, -88.057093),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());