var shape = {"title":"Washington Heights Neighborhood in Milwaukee, WI","description":"","tags":"","points":[[43.060562, -87.972343], [43.059227, -87.972328], [43.051858, -87.971928], [43.051783, -87.97193], [43.048739, -87.972001], [43.048738, -87.972361], [43.04871, -87.972931], [43.048722, -87.973485], [43.048896, -87.977508], [43.049207, -87.980688], [43.049433, -87.982995], [43.049437, -87.98304], [43.049887, -87.98746], [43.053662, -87.987432], [43.060631, -87.987433], [43.060629, -87.986431], [43.060628, -87.986303], [43.060624, -87.98518], [43.060562, -87.972343]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(43.060562, -87.972343),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());