dzx 4 年之前
父节点
当前提交
3ee8490359
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      js/visual.js

+ 2 - 2
js/visual.js

@@ -25,8 +25,8 @@ function init() {
             new SuperMap.Control.Navigation()
         ]
     });
-    
-    layer = new SuperMap.Layer.TiledDynamicRESTLayer("World", url, null, { maxResolution: "auto" });
+
+    layer = new SuperMap.Layer.TiledDynamicRESTLayer("World", url, { transparent: true });
     markerlayer = new SuperMap.Layer.Markers("markerLayer");
     layer.events.on({ "layerInitialized": addLayer });