var shape = {"title":"Ridgeview Neighborhood in Milwaukee, WI","description":"","tags":"","points":[[43.192456999999997, -88.014409000000001], [43.187868999999999, -88.014574999999994], [43.187024000000001, -88.014600000000002], [43.186154000000002, -88.014626000000007], [43.185915999999999, -88.014662000000001], [43.185726000000003, -88.014753999999996], [43.185560000000002, -88.014876000000001], [43.185352000000002, -88.015084999999999], [43.184725, -88.016031999999996], [43.184845000000003, -88.016197000000005], [43.184896999999999, -88.016300999999999], [43.184964999999998, -88.016561999999993], [43.184975999999999, -88.016773000000001], [43.184956, -88.018390999999994], [43.184944999999999, -88.019299000000004], [43.184888999999998, -88.023955000000001], [43.186723999999998, -88.023875000000004], [43.188521000000001, -88.023809999999997], [43.192397, -88.023707999999999], [43.192456999999997, -88.014409000000001]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(43.192457, -88.014409),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());