Skip to content

Commit a0470f1

Browse files
committed
fix 示例
1 parent 51a52f2 commit a0470f1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

examples/leaflet/timeFlow.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@
383383
map = L.map('map', {
384384
center: [34, 110],
385385
maxZoom: 20,
386-
minZoom: 1,
386+
minZoom: 3,
387387
zoom: 5,
388388
crs: L.CRS.EPSG3857
389389
});
@@ -525,6 +525,9 @@
525525
map.removeLayer(liveRenderer);
526526
liveRenderer = null;
527527
}
528+
if(liveDataSet){
529+
liveDataSet=null;
530+
}
528531
if (planeLabels) {
529532
for (var item in planeLabels) {
530533
planeLabels[item].remove();

0 commit comments

Comments
 (0)