var shape = {"title":"Schlitz Park Neighborhood in Milwaukee, WI","description":"","tags":"","points":[[43.051528, -87.907589], [43.049888, -87.909042], [43.048733, -87.911254], [43.048628, -87.911456], [43.048605, -87.91149], [43.047936, -87.912498], [43.046969, -87.913068], [43.046581, -87.913208], [43.046541, -87.91428], [43.05143, -87.914193], [43.052484, -87.914188], [43.052434, -87.909664], [43.052434, -87.909594], [43.052433, -87.90942], [43.052387, -87.909164], [43.052344, -87.909062], [43.051528, -87.907589]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(43.051528, -87.907589),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());