var shape = {"title":"Fair Park Neighborhood in Milwaukee, WI","description":"","tags":"","points":[[43.029855, -87.999653], [43.029472, -87.999652], [43.028385, -87.999758], [43.02596, -87.999765], [43.025964, -87.999824], [43.024641, -87.999855], [43.024097, -87.99989], [43.024146, -88.00713], [43.024011, -88.007128], [43.023975, -88.008499], [43.024111, -88.008498], [43.023877, -88.017157], [43.023767, -88.024181], [43.024226, -88.02419], [43.024223, -88.02507], [43.024855, -88.025061], [43.025025, -88.034006], [43.02704, -88.032159], [43.027248, -88.032157], [43.027534, -88.031211], [43.027755, -88.029851], [43.027773, -88.027318], [43.027803, -88.022852], [43.027806, -88.022474], [43.027814, -88.021121], [43.027776, -88.020437], [43.0272, -88.017192], [43.027168, -88.017012], [43.027296, -88.012994], [43.027495, -88.010068], [43.028031, -88.007145], [43.028049, -88.007072], [43.029781, -88.000009], [43.029855, -87.999653]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(43.029855, -87.999653),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());