var shape = {"title":"Aspen Village Neighborhood in Fort Wayne, IN","description":"","tags":"","points":[[41.051279000000001, -85.274919999999995], [41.051271999999997, -85.271207000000004], [41.050908, -85.271192999999997], [41.050837999999999, -85.271190000000004], [41.050837999999999, -85.271190000000004], [41.050767999999998, -85.271186], [41.050767999999998, -85.271366], [41.048122999999997, -85.271366], [41.047925999999997, -85.271433999999999], [41.046104, -85.271441999999993], [41.045670000000001, -85.271687], [41.045259000000001, -85.271686000000003], [41.045259000000001, -85.271686000000003], [41.045245999999999, -85.274927000000005], [41.051279000000001, -85.274919999999995]],"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());