var shape = {"title":"Martin Drive Neighborhood in Milwaukee, WI","description":"","tags":"","points":[[43.048738999999998, -87.972001000000006], [43.048724999999997, -87.967988000000005], [43.048662, -87.957528999999994], [43.045811999999998, -87.957554000000002], [43.044477000000001, -87.957560999999998], [43.044496000000002, -87.963635999999994], [43.044553999999998, -87.963970000000003], [43.044648000000002, -87.964230000000001], [43.044761000000001, -87.964419000000007], [43.044891, -87.964579000000001], [43.045859999999998, -87.965373], [43.045856000000001, -87.966634999999997], [43.045839000000001, -87.966797], [43.045782000000003, -87.967035999999993], [43.045623999999997, -87.967341000000005], [43.045479, -87.967527000000004], [43.045316, -87.967669000000001], [43.044750999999998, -87.968019999999996], [43.044623000000001, -87.968131999999997], [43.044482000000002, -87.968299999999999], [43.044331, -87.968552000000003], [43.044274000000001, -87.968687000000003], [43.044167000000002, -87.969040000000007], [43.044131999999998, -87.969312000000002], [43.044105999999999, -87.969686999999993], [43.044120999999997, -87.970156000000003], [43.044193999999997, -87.970533000000003], [43.044314, -87.970904000000004], [43.044392000000002, -87.971074000000002], [43.044502999999999, -87.971276000000003], [43.044727000000002, -87.971766000000002], [43.045017999999999, -87.973322999999993], [43.046615000000003, -87.972814], [43.047137999999997, -87.972601999999995], [43.048434999999998, -87.972077999999996], [43.048738999999998, -87.972001000000006]],"author":"admin"};
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(43.048739, -87.972001),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());