//>>built
define("dojox/geo/openlayers/widget/Map","dojo/_base/lang dojo/_base/declare dojo/_base/array dojo/dom-geometry dojo/query dijit/_Widget ../_base ../Map ../Layer ../GfxLayer".split(" "),function(e,g,h,f,k,l,m,n,p,q){return g("dojox.geo.openlayers.widget.Map",l,{baseLayerType:m.BaseLayerType.OSM,initialLocation:null,touchHandler:!1,map:null,startup:function(){this.inherited(arguments);this.map.initialFit({initialLocation:this.initialLocation})},buildRendering:function(){this.inherited(arguments);this.map=
new n(this.domNode,{baseLayerType:this.baseLayerType,touchHandler:this.touchHandler});this._makeLayers()},_makeLayers:function(){var c=k("\x3e .layer",this.domNode);h.forEach(c,function(b){var a=b.getAttribute("type");b=b.getAttribute("name");if(a=e.getObject("dojox.geo.openlayers."+a))a=new a(b,{}),this.map.addLayer(a)},this)},resize:function(c,b){var a=this.map.getOLMap();switch(arguments.length){case 1:var d=e.mixin({},c);f.setMarginBox(a.div,d);break;case 2:d={w:arguments[0],h:arguments[1]},f.setMarginBox(a.div,
d)}a.updateSize()}})});