var shape = {"title":"Merrill Park Neighborhood in Milwaukee, WI","description":"","tags":"","points":[[43.038696, -87.957583], [43.038627, -87.947606], [43.036061, -87.947621], [43.034188, -87.947638], [43.03365, -87.948883], [43.033606, -87.94899], [43.032995, -87.950462], [43.032683, -87.95128], [43.03245, -87.952188], [43.032302, -87.953054], [43.032217, -87.953811], [43.032196, -87.954231], [43.032163, -87.95763], [43.032206, -87.959643], [43.032232, -87.960825], [43.032269, -87.961521], [43.03228, -87.961673], [43.032309, -87.962081], [43.03235, -87.962389], [43.032395, -87.962665], [43.032407, -87.96272], [43.038602, -87.962668], [43.038744, -87.962619], [43.038681, -87.960665], [43.038679, -87.960621], [43.038696, -87.957583]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(43.038696, -87.957583),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());