var shape = {"title":"Arlington Park Neighborhood in Fort Wayne, IN","description":"","tags":"","points":[[41.135841, -85.023825], [41.13222, -85.023662], [41.132221, -85.02377], [41.132139, -85.028461], [41.129829, -85.028351], [41.129855, -85.026292], [41.128383, -85.02624], [41.128422, -85.023641], [41.128423, -85.023591], [41.128419, -85.023491], [41.122528, -85.023236], [41.122528, -85.023323], [41.12248, -85.025127], [41.122406, -85.025118], [41.122316, -85.028041], [41.122447, -85.028052], [41.122435, -85.030396], [41.1223, -85.030388], [41.12227, -85.031674], [41.121538, -85.031597], [41.121426, -85.031587], [41.121425, -85.031684], [41.121402, -85.032576], [41.121339, -85.035115], [41.121274, -85.037665], [41.123433, -85.037784], [41.123416, -85.038575], [41.124452, -85.040096], [41.124898, -85.040212], [41.12523, -85.040442], [41.125366, -85.040493], [41.126063, -85.040983], [41.126171, -85.041096], [41.126408, -85.041413], [41.12753, -85.041489], [41.128642, -85.041554], [41.128626, -85.042161], [41.128143, -85.04214], [41.128126, -85.042694], [41.128288, -85.042703], [41.128899, -85.042737], [41.130759, -85.04284], [41.134264, -85.043033], [41.134304, -85.042673], [41.134668, -85.042693], [41.134879, -85.041247], [41.134062, -85.041074], [41.134064, -85.039776], [41.132724, -85.039703], [41.132775, -85.037621], [41.134472, -85.037641], [41.134476, -85.036565], [41.135541, -85.036575], [41.135583, -85.036576], [41.135653, -85.03658], [41.135746, -85.030077], [41.135681, -85.030081], [41.135638, -85.030079], [41.134863, -85.030048], [41.134864, -85.028591], [41.13566, -85.02863], [41.135703, -85.028632], [41.135778, -85.028634], [41.135841, -85.023825]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(41.135841, -85.023825),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());