var shape = {"title":"Aspen Village Neighborhood in Fort Wayne, IN","description":"","tags":"","points":[[41.051279, -85.27492], [41.051272, -85.271207], [41.050908, -85.271193], [41.050838, -85.27119], [41.050838, -85.27119], [41.050768, -85.271186], [41.050768, -85.271366], [41.048123, -85.271366], [41.047926, -85.271434], [41.046104, -85.271442], [41.04567, -85.271687], [41.045259, -85.271686], [41.045259, -85.271686], [41.045246, -85.274927], [41.051279, -85.27492]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(41.051279, -85.27492),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());