var shape = {"title":"Vogel Park Neighborhood in Milwaukee, WI","description":"","tags":"","points":[[43.112163, -88.015693], [43.106843, -88.015902], [43.1068, -88.016412], [43.106754, -88.016559], [43.105672, -88.018206], [43.105463, -88.018447], [43.10491, -88.018437], [43.104886, -88.027416], [43.10543, -88.027366], [43.106052, -88.027111], [43.106082, -88.027099], [43.107123, -88.026312], [43.107632, -88.026009], [43.107859, -88.025927], [43.108089, -88.025866], [43.1085, -88.025842], [43.112506, -88.025822], [43.111516, -88.024498], [43.111862, -88.023944], [43.11202, -88.023763], [43.11207, -88.023646], [43.112133, -88.023406], [43.112168, -88.023195], [43.112163, -88.015693]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(43.112163, -88.015693),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());