var shape = {"title":"Menomonee River Hills Neighborhood in Milwaukee, WI","description":"","tags":"","points":[[43.148639, -88.008822], [43.147825, -88.007929], [43.147791, -88.007889], [43.14737, -88.00739], [43.14661, -88.006387], [43.146277, -88.005902], [43.146163, -88.005728], [43.145922, -88.005346], [43.129559, -88.005777], [43.128601, -88.011233], [43.128161, -88.013742], [43.127912, -88.01516], [43.127558, -88.017173], [43.127132, -88.019605], [43.126856, -88.021174], [43.128659, -88.02344], [43.129345, -88.02433], [43.129775, -88.024949], [43.130796, -88.026375], [43.131532, -88.027403], [43.133874, -88.030632], [43.133937, -88.030719], [43.141099, -88.040016], [43.141108, -88.03876], [43.141133, -88.035121], [43.141195, -88.030388], [43.14852, -88.027477], [43.148564, -88.025077], [43.148565, -88.025036], [43.148602, -88.017565], [43.148639, -88.008822]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(43.148639, -88.008822),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());