var shape = {"title":"Historic Third Ward Neighborhood in Milwaukee, WI","description":"","tags":"","points":[[43.035534, -87.897102], [43.034809, -87.897254], [43.03444, -87.897329], [43.03032, -87.898165], [43.030004, -87.898106], [43.02972, -87.897988], [43.029478, -87.897799], [43.029278, -87.897608], [43.029042, -87.897291], [43.02909, -87.896106], [43.029109, -87.895917], [43.029424, -87.895484], [43.029487, -87.895476], [43.030169, -87.895279], [43.030568, -87.895322], [43.030771, -87.895371], [43.031322, -87.895796], [43.031607, -87.896223], [43.03189, -87.896928], [43.032596, -87.896858], [43.032747, -87.897019], [43.032927, -87.896996], [43.033575, -87.89594], [43.033615, -87.895925], [43.033784, -87.896097], [43.033814, -87.896088], [43.033866, -87.896001], [43.033833, -87.895911], [43.03378, -87.895827], [43.033703, -87.895704], [43.033558, -87.895493], [43.033358, -87.895234], [43.032941, -87.894827], [43.032688, -87.894612], [43.032393, -87.89439], [43.032112, -87.894235], [43.03184, -87.894127], [43.031523, -87.894046], [43.031012, -87.89402], [43.03054, -87.894148], [43.030295, -87.894233], [43.030018, -87.894388], [43.029811, -87.894538], [43.029573, -87.894781], [43.029379, -87.895061], [43.029355, -87.895146], [43.029349, -87.895225], [43.029337, -87.895324], [43.029312, -87.895401], [43.029235, -87.895512], [43.029029, -87.895788], [43.0289, -87.895791], [43.028888, -87.895829], [43.026004, -87.895764], [43.026036, -87.89524], [43.025932, -87.895225], [43.025573, -87.901888], [43.025817, -87.902181], [43.026825, -87.90301], [43.028506, -87.904481], [43.029814, -87.906298], [43.030494, -87.907394], [43.031448, -87.909802], [43.031469, -87.909826], [43.03213, -87.91058], [43.034716, -87.909898], [43.034877, -87.908679], [43.035287, -87.902211], [43.035668, -87.898813], [43.035486, -87.897269], [43.035534, -87.897102]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(43.035534, -87.897102),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());