var shape = {"title":"Anthony Wayne Neighborhood in Fort Wayne, IN","description":"","tags":"","points":[[41.046544, -85.112625], [41.04653, -85.112617], [41.046186, -85.112412], [41.04584, -85.11214], [41.045504, -85.111817], [41.045561, -85.111729], [41.045807, -85.111354], [41.045167, -85.110643], [41.045057, -85.110523], [41.044819, -85.110256], [41.044911, -85.109336], [41.044639, -85.108426], [41.044398, -85.108059], [41.044348, -85.107998], [41.044612, -85.107585], [41.044458, -85.107427], [41.044266, -85.107275], [41.044287, -85.107188], [41.04452, -85.106152], [41.044525, -85.106134], [41.040552, -85.105994], [41.040439, -85.105992], [41.040384, -85.105992], [41.040384, -85.106076], [41.037706, -85.105975], [41.037128, -85.105953], [41.032249, -85.105819], [41.032213, -85.106925], [41.03202, -85.112789], [41.03911, -85.113076], [41.046499, -85.113374], [41.046526, -85.113375], [41.046544, -85.112625]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(41.046544, -85.112625),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());