var shape = {"title":"Estabrook Park Neighborhood in Milwaukee, WI","description":"","tags":"","points":[[43.089674, -87.907758], [43.091411, -87.907728], [43.098893, -87.907589], [43.099445, -87.908001], [43.09999, -87.908613], [43.100772, -87.909813], [43.101296, -87.912698], [43.101853, -87.913766], [43.102624, -87.914715], [43.103098, -87.915953], [43.103274, -87.916762], [43.104062, -87.916739], [43.104064, -87.916848], [43.104542, -87.916836], [43.104449, -87.909471], [43.103954, -87.908732], [43.103942, -87.906981], [43.102814, -87.907003], [43.102691, -87.90687], [43.098551, -87.906992], [43.097841, -87.906377], [43.097468, -87.905186], [43.097237, -87.904939], [43.097328, -87.904108], [43.097416, -87.903632], [43.097291, -87.90319], [43.097105, -87.902833], [43.096944, -87.902615], [43.096651, -87.90237], [43.096573, -87.902321], [43.096534, -87.902267], [43.096457, -87.902145], [43.096295, -87.901771], [43.096034, -87.901409], [43.095992, -87.901275], [43.095839, -87.900989], [43.095682, -87.900856], [43.095625, -87.900845], [43.095527, -87.900778], [43.095473, -87.900723], [43.095309, -87.900538], [43.09505, -87.900451], [43.094957, -87.900447], [43.094862, -87.900467], [43.094682, -87.90046], [43.094566, -87.90044], [43.094495, -87.900409], [43.09442, -87.900397], [43.094293, -87.900436], [43.094195, -87.900449], [43.094113, -87.90049], [43.09395, -87.900491], [43.093881, -87.900522], [43.093827, -87.900594], [43.09368, -87.900693], [43.09352, -87.900719], [43.093362, -87.900787], [43.093167, -87.900756], [43.093037, -87.900783], [43.092679, -87.900793], [43.092569, -87.900776], [43.092417, -87.900781], [43.092357, -87.900793], [43.092305, -87.900782], [43.092262, -87.900759], [43.092185, -87.90074], [43.092052, -87.900689], [43.091986, -87.900633], [43.091938, -87.900555], [43.091894, -87.900381], [43.0918, -87.900284], [43.091682, -87.900204], [43.091584, -87.900172], [43.091486, -87.900118], [43.091455, -87.90009], [43.091385, -87.899987], [43.091252, -87.899864], [43.091139, -87.89982], [43.090858, -87.899855], [43.090712, -87.89977], [43.090646, -87.899746], [43.090519, -87.899673], [43.090446, -87.89964], [43.090405, -87.89965], [43.090363, -87.899684], [43.090328, -87.899646], [43.090243, -87.899606], [43.090171, -87.899589], [43.090076, -87.899482], [43.090019, -87.899379], [43.08997, -87.899304], [43.089913, -87.899293], [43.089835, -87.899297], [43.08968, -87.899161], [43.089535, -87.898978], [43.089331, -87.898618], [43.089231, -87.898395], [43.089135, -87.898204], [43.089105, -87.898158], [43.089105, -87.898236], [43.08916, -87.904691], [43.089194, -87.907766], [43.089674, -87.907758]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(43.089674, -87.907758),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());