var shape = {"title":"Silver Spring Neighborhood in Milwaukee, WI","description":"","tags":"","points":[[43.129559, -88.005777], [43.131447, -87.994224], [43.131634, -87.992671], [43.131641, -87.992621], [43.131752, -87.990765], [43.131826, -87.986069], [43.130522, -87.986081], [43.130183, -87.986064], [43.129061, -87.985783], [43.128668, -87.985747], [43.12655, -87.985776], [43.122942, -87.985895], [43.119254, -87.986016], [43.111964, -87.986079], [43.112144, -88.00082], [43.112149, -88.001202], [43.112175, -88.00134], [43.112219, -88.001463], [43.112285, -88.001562], [43.112601, -88.001832], [43.112253, -88.002436], [43.11279, -88.002838], [43.11282, -88.00286], [43.113051, -88.00307], [43.113269, -88.003282], [43.113455, -88.003476], [43.113585, -88.003614], [43.113756, -88.003814], [43.113807, -88.003875], [43.114073, -88.004202], [43.114437, -88.004711], [43.114486, -88.00478], [43.114698, -88.005109], [43.114905, -88.005464], [43.115145, -88.005867], [43.115853, -88.007148], [43.116062, -88.007476], [43.116504, -88.008081], [43.117158, -88.008975], [43.119469, -88.012198], [43.119498, -88.012239], [43.124066, -88.017657], [43.124098, -88.017695], [43.126856, -88.021174], [43.127132, -88.019605], [43.127558, -88.017173], [43.127912, -88.01516], [43.128161, -88.013742], [43.128601, -88.011233], [43.129559, -88.005777]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(43.129559, -88.005777),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());