var shape = {"title":"Bluff Acres Neighborhood in Madison, WI","description":"","tags":"","points":[[43.135517, -89.315684000000005], [43.135894999999998, -89.315680999999998], [43.136322, -89.315675999999996], [43.136569000000001, -89.315662000000003], [43.136837999999997, -89.315646000000001], [43.137028999999998, -89.315607], [43.137180000000001, -89.315526000000006], [43.137300000000003, -89.315433999999996], [43.137414999999997, -89.315303999999998], [43.137526000000001, -89.315162999999998], [43.137636000000001, -89.314960999999997], [43.137737999999999, -89.31474], [43.138002, -89.314178999999996], [43.138432000000002, -89.313287000000003], [43.138564000000002, -89.313012999999998], [43.138710000000003, -89.312710999999993], [43.139215999999998, -89.311650999999998], [43.139285000000001, -89.311508000000003], [43.139733, -89.310574000000003], [43.139757000000003, -89.310524999999998], [43.139892000000003, -89.310293000000001], [43.140670999999998, -89.309199000000007], [43.140830000000001, -89.308975000000004], [43.141497000000001, -89.308042], [43.142530999999998, -89.306606000000002], [43.142820999999998, -89.306213], [43.142898000000002, -89.300551999999996], [43.142907000000001, -89.299970999999999], [43.140532999999998, -89.298215999999996], [43.136997999999998, -89.295991999999998], [43.135691000000001, -89.297783999999993], [43.134566, -89.299321000000006], [43.134134000000003, -89.299850000000006], [43.133282999999999, -89.300887000000003], [43.131653999999997, -89.302933999999993], [43.129807, -89.305477999999994], [43.129666, -89.305689999999998], [43.128791999999997, -89.306999000000005], [43.127989999999997, -89.308199999999999], [43.128227000000003, -89.308468000000005], [43.12829, -89.308550999999994], [43.129064, -89.309556999999998], [43.127505999999997, -89.311796999999999], [43.127780000000001, -89.312174999999996], [43.127783999999998, -89.312895999999995], [43.127789, -89.313755], [43.127752999999998, -89.313930999999997], [43.127673000000001, -89.314077999999995], [43.127592, -89.314159000000004], [43.127499999999998, -89.314221000000003], [43.126913999999999, -89.314238000000003], [43.126918000000003, -89.314342999999994], [43.126913999999999, -89.314852000000002], [43.126918000000003, -89.315488999999999], [43.127544, -89.315482000000003], [43.128337000000002, -89.315484999999995], [43.129131000000001, -89.315512999999996], [43.129942, -89.315539999999999], [43.130735000000001, -89.315550000000002], [43.130789, -89.315550999999999], [43.131528000000003, -89.315571000000006], [43.131722000000003, -89.315577000000005], [43.131858999999999, -89.315579999999997], [43.132330000000003, -89.315593000000007], [43.133127000000002, -89.315613999999997], [43.133685, -89.315629000000001], [43.133806999999997, -89.315631999999994], [43.133929999999999, -89.315635999999998], [43.134141999999997, -89.315642999999994], [43.134726999999998, -89.315663000000001], [43.134863000000003, -89.315667000000005], [43.135517, -89.315684000000005]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(43.135517, -89.315684),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());