var shape = {"title":"Harambee Neighborhood in Milwaukee, WI","description":"","tags":"","points":[[43.081967, -87.904884], [43.078326, -87.904998], [43.073693, -87.905135], [43.070979, -87.905153], [43.067422, -87.90519], [43.065588, -87.905209], [43.063785, -87.905228], [43.06016, -87.905265], [43.060165, -87.906499], [43.060215, -87.914035], [43.060258, -87.920836], [43.060262, -87.921402], [43.073003, -87.921287], [43.074791, -87.921226], [43.08156, -87.921079], [43.081544, -87.919163], [43.081558, -87.918652], [43.08166, -87.918262], [43.081926, -87.917556], [43.082025, -87.917288], [43.081967, -87.904884]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(43.081967, -87.904884),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());