Skip to content

Commit c4289e8

Browse files
committed
【fix】修复classic例子
1 parent d6e50d9 commit c4289e8

10 files changed

+10
-10
lines changed

examples/classic/controler_drawGeometry.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ <h5 class='panel-title text-center' data-i18n="resources.text_drawGeometry"></h5
7272
new SuperMap.Control.LayerSwitcher()
7373
, drawPoint, drawLine, drawPolygon, selectCtrl, modifyCtrl]
7474
});
75-
layer = new SuperMap.Layer.CloudLayer();
75+
layer = new SuperMap.Layer.OSM("OSM");
7676
addLayer();
7777
//layer.events.on({"layerInitialized":addLayer});
7878
vecotrLayer.style = {

examples/classic/map_cloudLayer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
})]
2626
});
2727

28-
layer = new SuperMap.Layer.CloudLayer();
28+
layer = new SuperMap.Layer.OSM("OSM");
2929
map.addLayers([layer]);
3030
map.setCenter(new SuperMap.LonLat(11339634.286396, 4588716.5813769), 4);
3131
</script>

examples/classic/others_contextMenu.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
}
4141
</style>
4242
</head>
43-
<body style=" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0;;">
43+
<body style=" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0;">
4444

4545
<div id="map" style="margin:0 auto;width: 100%;height: 100%;"></div>
4646
<div id="myMenu">

examples/classic/others_d3_zoomablePacking.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
#box > div {
2121
overflow: hidden;
22-
overflow: hidden;;
22+
overflow: hidden;
2323
text-align: center;
2424
opacity: 0.7;
2525
}

examples/classic/vizLayer_animatorBase.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ <h5 class='panel-title text-center' data-i18n="resources.title_animatorBase"></h
7373
})]
7474
});
7575
map.addControl(new SuperMap.Control.LayerSwitcher(), new SuperMap.Pixel(42, 80));
76-
layer = new SuperMap.Layer.CloudLayer();
76+
layer = new SuperMap.Layer.OSM("OSM");
7777

7878
map.addLayers([layer]);
7979

examples/classic/vizLayer_animatorLine.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ <h5 class='panel-title text-center' data-i18n="resources.title_animatorLine"></h
101101
})],
102102
projection: "EPSG:3857"
103103
});
104-
layer = new SuperMap.Layer.CloudLayer();
104+
layer = new SuperMap.Layer.OSM("OSM");
105105
//初始化动画矢量图层
106106
animatorVector = new SuperMap.Layer.AnimatorVector("Train", {}, {
107107
//设置速度为每帧播放0.01小时的数据

examples/classic/vizLayer_animatorMetro.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ <h5 class='panel-title text-center' data-i18n="resources.title_animatorMetro"></
174174
})],
175175
projection: "EPSG:3857"
176176
});
177-
layer = new SuperMap.Layer.CloudLayer();
177+
layer = new SuperMap.Layer.OSM("OSM");
178178
addLayer();
179179
}
180180

examples/classic/vizLayer_animatorMetro2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ <h5 class='panel-title text-center' data-i18n="resources.title_animatorMetro2"><
183183
})],
184184
projection: "EPSG:3857"
185185
});
186-
layer = new SuperMap.Layer.CloudLayer();
186+
layer = new SuperMap.Layer.OSM("OSM");
187187
addLayer();
188188
map.events.on({"zoomend": showLayer});
189189
}

examples/classic/vizLayer_animatorPoint.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ <h5 class='panel-title text-center' data-i18n="resources.title_animatorPoint"></
7373
});
7474
map.addControl(new SuperMap.Control.LayerSwitcher(), new SuperMap.Pixel(42, 80));
7575

76-
layer = new SuperMap.Layer.CloudLayer();
76+
layer = new SuperMap.Layer.OSM("OSM");
7777

7878
map.addLayers([layer]);
7979

examples/classic/vizLayer_cartoCSS_point.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
}
4242

4343
#lastInput {
44-
margin-left: 16px;;
44+
margin-left: 16px;
4545
}
4646
</style>
4747
</head>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy