dzx 4 years ago
parent
commit
3ee8490359
1 changed files with 2 additions and 2 deletions
  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 });