var shape = {"title":"Upper East Side Neighborhood in Milwaukee, WI","description":"","tags":"","points":[[43.074552, -87.871873], [43.071026, -87.87219], [43.070966, -87.872207], [43.069203, -87.872704], [43.069205, -87.873299], [43.069208, -87.87445], [43.069219, -87.876737], [43.069191, -87.877915], [43.069299, -87.877913], [43.069223, -87.879174], [43.069228, -87.880409], [43.069233, -87.881633], [43.069238, -87.882884], [43.069262, -87.887817], [43.07093, -87.887808], [43.074579, -87.88775], [43.074552, -87.871873]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(43.074552, -87.871873),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());