var shape = {"title":"Wahl Park Neighborhood in Milwaukee, WI","description":"","tags":"","points":[[43.104549, -87.966407], [43.103385, -87.966673], [43.097342, -87.966848], [43.09738, -87.971739], [43.098446, -87.973114], [43.098533, -87.973226], [43.09846, -87.973394], [43.09899, -87.974002], [43.09922, -87.974367], [43.099356, -87.97467], [43.099449, -87.974933], [43.099461, -87.974967], [43.099594, -87.975547], [43.099649, -87.975907], [43.099739, -87.976332], [43.099845, -87.976711], [43.100136, -87.978293], [43.100144, -87.978337], [43.100283, -87.979269], [43.100436, -87.980666], [43.100624, -87.982359], [43.100913, -87.983771], [43.101943, -87.984511], [43.102067, -87.984624], [43.102374, -87.98489], [43.102761, -87.985185], [43.10306, -87.985502], [43.103311, -87.985821], [43.103509, -87.986112], [43.103762, -87.986529], [43.104634, -87.986368], [43.104613, -87.976362], [43.104549, -87.966407]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(43.104549, -87.966407),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());