var shape = {"title":"Town Of Lake Neighborhood in Milwaukee, WI","description":"","tags":"","points":[[42.969783, -87.89392], [42.966088, -87.893945], [42.964203, -87.889505], [42.959083, -87.889571], [42.959089, -87.902037], [42.961742, -87.902026], [42.96174, -87.903432], [42.961729, -87.909545], [42.959103, -87.909556], [42.959139, -87.919343], [42.966838, -87.91928], [42.970114, -87.919253], [42.970016, -87.902484], [42.968437, -87.899512], [42.969849, -87.899481], [42.96984, -87.896367], [42.969785, -87.895825], [42.969783, -87.89392]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(42.969783, -87.89392),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());