dzx 4 лет назад
Родитель
Сommit
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 });