var shape = {"title":"Appleridge Neighborhood in Jackson, MS","description":"","tags":"","points":[[32.273345, -90.247893], [32.274489, -90.247893], [32.274493, -90.247027], [32.27451, -90.246189], [32.274511, -90.24524], [32.274515, -90.24469], [32.274511, -90.24403], [32.274503, -90.243036], [32.274486, -90.24087], [32.27447, -90.239828], [32.275792, -90.239814], [32.275972, -90.239796], [32.276029, -90.239789], [32.276369, -90.239704], [32.276605, -90.239611], [32.276801, -90.239506], [32.277449, -90.239133], [32.279896, -90.240001], [32.280106, -90.237239], [32.279367, -90.237246], [32.279248, -90.237237], [32.279075, -90.237213], [32.278813, -90.237143], [32.277298, -90.23664], [32.276941, -90.236546], [32.276381, -90.236464], [32.276141, -90.236441], [32.275529, -90.236386], [32.275279, -90.236368], [32.274262, -90.236303], [32.273454, -90.236248], [32.273231, -90.236213], [32.272655, -90.236068], [32.272214, -90.235952], [32.271704, -90.235821], [32.271221, -90.235683], [32.270797, -90.235577], [32.269777, -90.235315], [32.269286, -90.235177], [32.268747, -90.235046], [32.268544, -90.235018], [32.268505, -90.235013], [32.268501, -90.236149], [32.268512, -90.236711], [32.268523, -90.238663], [32.268522, -90.238816], [32.268536, -90.239854], [32.268536, -90.240818], [32.268534, -90.24169], [32.268552, -90.242673], [32.26855, -90.243728], [32.268557, -90.244539], [32.268558, -90.245145], [32.273266, -90.24521], [32.273345, -90.247893]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(32.273345, -90.247893),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());