var shape = {"title":"Menomonee River Hills East Neighborhood in Milwaukee, WI","description":"","tags":"","points":[[43.148656, -88.005275], [43.148472, -87.985314], [43.141328, -87.985481], [43.136399, -87.98566], [43.135092, -87.985964], [43.131826, -87.986069], [43.131752, -87.990765], [43.131641, -87.992621], [43.131634, -87.992671], [43.131447, -87.994224], [43.129559, -88.005777], [43.145922, -88.005346], [43.146163, -88.005728], [43.146277, -88.005902], [43.14661, -88.006387], [43.14737, -88.00739], [43.147791, -88.007889], [43.147825, -88.007929], [43.148639, -88.008822], [43.148656, -88.005275]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(43.148656, -88.005275),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());