var shape = {"title":"Ashbrook-Clawson Village Neighborhood in Charlotte, NC","description":"","tags":"","points":[[35.182295000000003, -80.866073999999998], [35.182442000000002, -80.865905999999995], [35.182561999999997, -80.865712000000002], [35.182661000000003, -80.865471999999997], [35.182706000000003, -80.865306000000004], [35.182760999999999, -80.865173999999996], [35.182828999999998, -80.865058000000005], [35.182910999999997, -80.864954999999995], [35.183031999999997, -80.864845000000003], [35.183137000000002, -80.864778999999999], [35.183247999999999, -80.864733000000001], [35.183352999999997, -80.864710000000002], [35.183537999999999, -80.864706999999996], [35.183742000000002, -80.864749000000003], [35.183945999999999, -80.864834999999999], [35.184066999999999, -80.864913000000001], [35.184184000000002, -80.865010999999996], [35.184336999999999, -80.865178], [35.184519999999999, -80.864986999999999], [35.184652, -80.864887999999993], [35.184767000000001, -80.864830999999995], [35.184932000000003, -80.864784], [35.185059000000003, -80.864773999999997], [35.185201999999997, -80.864787000000007], [35.18533, -80.864823000000001], [35.185451999999998, -80.864878000000004], [35.185555999999998, -80.864946000000003], [35.185656999999999, -80.865035000000006], [35.185907, -80.865348999999995], [35.185935000000001, -80.865298999999993], [35.186281999999999, -80.864744999999999], [35.186374000000001, -80.864656999999994], [35.186461999999999, -80.864603000000002], [35.186546999999997, -80.864572999999993], [35.186646000000003, -80.864560999999995], [35.186743999999997, -80.864569000000003], [35.186838999999999, -80.864598999999998], [35.186919000000003, -80.864643000000001], [35.187013999999998, -80.864726000000005], [35.187123, -80.864805000000004], [35.187238000000001, -80.864863999999997], [35.187429999999999, -80.864924999999999], [35.187565999999997, -80.864931999999996], [35.188988999999999, -80.864947000000001], [35.189022000000001, -80.864947000000001], [35.189194000000001, -80.864917000000005], [35.189551000000002, -80.864838000000006], [35.189625999999997, -80.864844000000005], [35.189698999999997, -80.864870999999994], [35.189759000000002, -80.864913000000001], [35.189965000000001, -80.865138000000002], [35.190024999999999, -80.865202999999994], [35.190224999999998, -80.865443999999997], [35.190269999999998, -80.865513000000007], [35.191049, -80.864425999999995], [35.192064999999999, -80.863024999999993], [35.192610000000002, -80.862268], [35.192680000000003, -80.862117999999995], [35.192712, -80.862014000000002], [35.192782000000001, -80.861490000000003], [35.192590000000003, -80.861452], [35.191949000000001, -80.861326000000005], [35.191305, -80.86121], [35.191096000000002, -80.861170000000001], [35.190637000000002, -80.861080999999999], [35.189259, -80.860816999999997], [35.189132000000001, -80.860769000000005], [35.188997999999998, -80.860691000000003], [35.188875000000003, -80.860595000000004], [35.188761999999997, -80.860482000000005], [35.188665, -80.860358000000005], [35.188581999999997, -80.860221999999993], [35.188445000000002, -80.859975000000006], [35.187671000000002, -80.858560999999995], [35.186816999999998, -80.857032000000004], [35.186566999999997, -80.856577999999999], [35.186194999999998, -80.855889000000005], [35.186160000000001, -80.855787000000007], [35.186141999999997, -80.855678999999995], [35.186140999999999, -80.855569000000003], [35.186160000000001, -80.855451000000002], [35.186199000000002, -80.855329999999995], [35.186266000000003, -80.855198999999999], [35.186430000000001, -80.854965000000007], [35.186521999999997, -80.854865000000004], [35.186734999999999, -80.854695000000007], [35.186808999999997, -80.854617000000005], [35.186869999999999, -80.854523999999998], [35.186928999999999, -80.854382000000001], [35.187331, -80.852969999999999], [35.184967999999998, -80.852773999999997], [35.184755000000003, -80.852753000000007], [35.184469, -80.852708000000007], [35.183880000000002, -80.852531999999997], [35.183377, -80.852373999999998], [35.182797999999998, -80.852181999999999], [35.182411999999999, -80.852031999999994], [35.181376, -80.851624999999999], [35.181116000000003, -80.851541999999995], [35.180984000000002, -80.851507999999995], [35.180014999999997, -80.851359000000002], [35.179046, -80.851208999999997], [35.178545999999997, -80.851128000000003], [35.178139000000002, -80.851070000000007], [35.177967000000002, -80.851054000000005], [35.177582000000001, -80.851022999999998], [35.177180999999997, -80.851012999999995], [35.176707999999998, -80.851018999999994], [35.176157000000003, -80.851040999999995], [35.175924000000002, -80.851027000000002], [35.174345000000002, -80.851130999999995], [35.173551000000003, -80.851196999999999], [35.173347, -80.851213999999999], [35.172975999999998, -80.851228000000006], [35.172479000000003, -80.851211000000006], [35.172072, -80.851157999999998], [35.172153999999999, -80.852329999999995], [35.172317, -80.854896999999994], [35.172384000000001, -80.855924000000002], [35.172426000000002, -80.856575000000007], [35.172469999999997, -80.857284000000007], [35.172514999999997, -80.857956000000001], [35.172637000000002, -80.859041000000005], [35.172708, -80.859650999999999], [35.172713000000002, -80.859691999999995], [35.175063999999999, -80.860355999999996], [35.176765000000003, -80.860767999999993], [35.177847, -80.861541000000003], [35.179279999999999, -80.862647999999993], [35.179443999999997, -80.862784000000005], [35.179606, -80.862933999999996], [35.180124999999997, -80.863521000000006], [35.181074000000002, -80.864625000000004], [35.181849999999997, -80.865540999999993], [35.182295000000003, -80.866073999999998]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(35.182295, -80.866074),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());