var shape = {"title":"Southpoint Neighborhood in Milwaukee, WI","description":"","tags":"","points":[[42.981070000000003, -87.938626999999997], [42.973785999999997, -87.938789], [42.973860999999999, -87.948365999999993], [42.973860999999999, -87.948425], [42.973858999999997, -87.953784999999996], [42.974952999999999, -87.953771000000003], [42.974919, -87.955924999999993], [42.977063999999999, -87.953114999999997], [42.977750999999998, -87.954025999999999], [42.977907000000002, -87.953813999999994], [42.978451999999997, -87.953804000000005], [42.978456999999999, -87.953199999999995], [42.980629, -87.953164000000001], [42.981172999999998, -87.952917999999997], [42.981180999999999, -87.949808000000004], [42.981070000000003, -87.938626999999997]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(42.98107, -87.938627),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());