var shape = {"title":"Silver City Neighborhood in Milwaukee, WI","description":"","tags":"","points":[[43.025382, -87.952551], [43.023775, -87.952537], [43.023784, -87.952469], [43.016856, -87.952472], [43.016806, -87.961732], [43.021321, -87.961623], [43.021281, -87.962323], [43.024079, -87.962323], [43.024079, -87.962277], [43.024058, -87.959396], [43.024085, -87.958838], [43.024297, -87.957583], [43.024558, -87.955688], [43.024753, -87.954717], [43.024762, -87.954672], [43.025328, -87.952738], [43.025382, -87.952551]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(43.025382, -87.952551),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());