var shape = {"title":"Enderis Park Neighborhood in Milwaukee, WI","description":"","tags":"","points":[[43.077856, -88.007249], [43.076714, -88.003921], [43.075285, -88.001193], [43.068049, -87.987352], [43.067964, -87.987353], [43.06429, -87.987393], [43.064298, -87.9891], [43.06755, -87.989073], [43.067549, -87.989211], [43.067522, -87.989215], [43.067519, -87.991997], [43.066125, -87.992008], [43.066132, -87.993438], [43.067965, -87.993428], [43.067965, -88.002319], [43.069383, -88.002321], [43.069414, -88.007314], [43.07525, -88.007269], [43.077856, -88.007249]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(43.077856, -88.007249),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());