var shape = {"title":"Walker's Point Neighborhood in Milwaukee, WI","description":"","tags":"","points":[[43.030337, -87.910866], [43.027275, -87.910924], [43.025187, -87.910963], [43.024111, -87.91113], [43.017012, -87.911121], [43.016979, -87.91112], [43.016978, -87.912513], [43.016976, -87.916505], [43.016966, -87.932895], [43.023925, -87.932874], [43.024156, -87.932913], [43.027056, -87.9329], [43.027074, -87.927967], [43.027106, -87.924141], [43.027122, -87.923911], [43.027351, -87.921513], [43.028237, -87.920767], [43.02948, -87.918098], [43.03035, -87.914988], [43.030346, -87.913105], [43.030346, -87.913064], [43.030337, -87.910866]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(43.030337, -87.910866),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());