var shape = {"title":"Walnut Hill Neighborhood in Milwaukee, WI","description":"","tags":"","points":[[43.060533, -87.951916], [43.053904, -87.951572], [43.053598, -87.951579], [43.053528, -87.95159], [43.052919, -87.951687], [43.052719, -87.951729], [43.052377, -87.9518], [43.051879, -87.951992], [43.05183, -87.952016], [43.051289, -87.952274], [43.050923, -87.952544], [43.050593, -87.952787], [43.050038, -87.953314], [43.049733, -87.953649], [43.049675, -87.953723], [43.049408, -87.954065], [43.04932, -87.954198], [43.049039, -87.954621], [43.048878, -87.954933], [43.048641, -87.955392], [43.048662, -87.957529], [43.060545, -87.957405], [43.060533, -87.951916]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(43.060533, -87.951916),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());