var shape = {"title":"South Edmonton Commons","description":"South Edmonton Commons is a collection of outlet shops and retail stores.  There are approximately 100 shops of varying size from Ikea, Walmart, Bestbuy, to golfmart, and fashion outlets like tommy, mexx, etc.","tags":"","points":[[53.453356, -113.491473], [53.453254, -113.483877], [53.452896, -113.480959], [53.452231, -113.478727], [53.451593, -113.478642], [53.450954, -113.478599], [53.449804, -113.478856], [53.449574, -113.479071], [53.44919, -113.479328], [53.448577, -113.479886], [53.447171, -113.480144], [53.444615, -113.480015], [53.44165, -113.482289], [53.439707, -113.484907], [53.440219, -113.488255], [53.440934, -113.489971], [53.442059, -113.491516]],"author":"Chris"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(53.446532, -113.485057),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());