var shape = {"title":"Hampton Heights Neighborhood in Milwaukee, WI","description":"","tags":"","points":[[43.111892, -87.966299], [43.104549, -87.966407], [43.104613, -87.976362], [43.104634, -87.986368], [43.104754, -87.993662], [43.104776, -87.994961], [43.105725, -87.996213], [43.105976, -87.996442], [43.10609, -87.996564], [43.106513, -87.997025], [43.106836, -87.997312], [43.107131, -87.99753], [43.107341, -87.997679], [43.107636, -87.997838], [43.107803, -87.997943], [43.107914, -87.998013], [43.107959, -87.998041], [43.108203, -87.998208], [43.108466, -87.998416], [43.108504, -87.998446], [43.108654, -87.998572], [43.108864, -87.998795], [43.109131, -87.999112], [43.109179, -87.999169], [43.109579, -87.999673], [43.110056, -88.000278], [43.110085, -88.000314], [43.11041, -88.000717], [43.110547, -88.000886], [43.110782, -88.00116], [43.111086, -88.001473], [43.111676, -88.001983], [43.112253, -88.002436], [43.112601, -88.001832], [43.112285, -88.001562], [43.112219, -88.001463], [43.112175, -88.00134], [43.112149, -88.001202], [43.112144, -88.00082], [43.111964, -87.986079], [43.111892, -87.966299]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(43.111892, -87.966299),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());