var shape = {"title":"Alvernon Heights Neighborhood in Tucson, AZ","description":"","tags":"","points":[[32.207092, -110.90969], [32.207092, -110.90959], [32.207091, -110.909496], [32.207056, -110.907353], [32.207046, -110.905216], [32.207038, -110.903058], [32.207021, -110.900868], [32.206936, -110.900868], [32.206872, -110.900868], [32.204825, -110.900863], [32.20424, -110.900866], [32.203369, -110.900873], [32.201642, -110.900885], [32.201503, -110.90088], [32.201086, -110.900882], [32.200699, -110.900885], [32.200256, -110.900879], [32.199738, -110.900871], [32.199761, -110.904969], [32.199832, -110.909551], [32.201666, -110.909601], [32.202765, -110.909593], [32.203368, -110.909619], [32.203804, -110.90963], [32.205335, -110.909654], [32.206908, -110.909682], [32.207018, -110.909682], [32.207092, -110.90969]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(32.207092, -110.90969),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());