var shape = {"title":"Ashley Acres Neighborhood in Jackson, MS","description":"","tags":"","points":[[32.362207, -90.24802], [32.369863, -90.24802], [32.370482, -90.247633], [32.370334, -90.243488], [32.374284, -90.243496], [32.374284, -90.237755], [32.37021, -90.237755], [32.36989, -90.238454], [32.368409, -90.238677], [32.367965, -90.239343], [32.367225, -90.240009], [32.366189, -90.239935], [32.365448, -90.240305], [32.365152, -90.240971], [32.364977, -90.241637], [32.364939, -90.241595], [32.365127, -90.243442], [32.365127, -90.246125], [32.363549, -90.246441], [32.362207, -90.24802]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(32.362207, -90.24802),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());