var shape = {"title":"Ashley Acres Neighborhood in Jackson, MS","description":"","tags":"","points":[[32.362206999999998, -90.248019999999997], [32.369863000000002, -90.248019999999997], [32.370482000000003, -90.247632999999993], [32.370334, -90.243487999999999], [32.374284000000003, -90.243495999999993], [32.374284000000003, -90.237755000000007], [32.37021, -90.237755000000007], [32.369889999999998, -90.238454000000004], [32.368409, -90.238676999999996], [32.367964999999998, -90.239343000000005], [32.367224999999998, -90.240009000000001], [32.366188999999999, -90.239935000000003], [32.365448000000001, -90.240305000000006], [32.365152000000002, -90.240971000000002], [32.364977000000003, -90.241636999999997], [32.364939, -90.241595000000004], [32.365127000000001, -90.243442000000002], [32.365127000000001, -90.246125000000006], [32.363548999999999, -90.246441000000004], [32.362206999999998, -90.248019999999997]],"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());