我把地图加载代码贴出来给您帮我看一看吧
map = new SuperMap.Map(id,{maxResolution:0.703125/(Math.pow(2, 5)),controls:[new SuperMap.Control.Navigation()]}); var matrixIds = []; for (var i=0; i<19; ++i) { matrixIds[i] = {identifier:i}; }; //当前图层的分辨率数组信息,和matrixIds一样,需要用户从wmts服务获取并明确设置,resolutions数组和matrixIds数组长度相同 var resolutions = []; for(var i = 0, res = 0.703125; i < 19; i++){ resolutions[i] = res; res /= 2; } vecLayer = new SuperMap.Layer.WMTS({name: "天地图矢量图层", url: "http://t0.tianditu.com/vec_c/wmts", layer: "tdtgx_vec", style: "default", matrixSet: "guobiao", format: "tiles", resolutions:resolutions, matrixIds:matrixIds, opacity:1, zoomOffset:1, isBaseLayer:true, tileOrigin:new SuperMap.LonLat(-180,90), tileFullExtent:new SuperMap.Bounds(104.446173906,20.8934573829,112.057633996,26.3878914714), requestEncoding:"KVP"}); map.addLayers([imgLayer]); map.setCenter(new SuperMap.LonLat(109.23,23.29),6); }