Skip to content

Commit deaae77

Browse files
committed
修改map显示不全
1 parent 2e0ccc8 commit deaae77

File tree

6 files changed

+7
-13
lines changed

6 files changed

+7
-13
lines changed

examples/leaflet/plot_drawGraphics.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
position: absolute;
1919
left: 250px;
2020
right: 0px;
21-
width: 100%;
2221
height: 100%;
2322
border: 1px solid #3473b7;
2423
}

examples/leaflet/plot_dynamicPlot.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
position: absolute;
1919
left: 250px;
2020
right: 0px;
21-
width: 100%;
2221
height: 100%;
2322
border: 1px solid #3473b7;
2423
}

examples/leaflet/plot_modifySymbolStyle.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
position: absolute;
1919
left: 250px;
2020
right: 0px;
21-
width: 100%;
2221
height: 100%;
2322
border: 1px solid #3473b7;
2423
}

examples/leaflet/plot_plotGOAnimation.html

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
position: absolute;
99
left: 250px;
1010
right: 0px;
11-
width: 100%;
1211
height: 100%;
1312
border: 1px solid #3473b7;
1413
}
@@ -121,6 +120,13 @@ <h5 class="panel-title text-center" data-i18n="resources.title_plotGOAnimation"
121120
var plotting = L.supermap.plotting.getControl(map, serverUrl);
122121
var goAnimationManager = plotting.getGOAnimationManager();
123122
window.setInterval("execute()", 100);
123+
select = document.getElementById("SLT");
124+
for (var i = 0, len = item.length; i < len; i++) {
125+
var options = document.createElement("option");
126+
options.setAttribute("value", item[i]);
127+
options.innerHTML = item[i];
128+
select.appendChild(options);
129+
}
124130

125131
//保存态势图
126132
function saveSimulationMap() {
@@ -354,13 +360,6 @@ <h5 class="panel-title text-center" data-i18n="resources.title_plotGOAnimation"
354360
}
355361
}
356362
}
357-
select = document.getElementById("SLT");
358-
for (var i = 0, len = item.length; i < len; i++) {
359-
var options = document.createElement("option");
360-
options.setAttribute("value", item[i]);
361-
options.innerHTML = item[i];
362-
select.appendChild(options);
363-
}
364363

365364
function selectAnimationType() {
366365

examples/leaflet/plot_plotSymbol.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
position: absolute;
99
left: 250px;
1010
right: 0px;
11-
width: 100%;
1211
height: 100%;
1312
border: 1px solid #3473b7;
1413
}

examples/leaflet/plot_saveload.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
position: absolute;
99
left: 250px;
1010
right: 0px;
11-
width: 100%;
1211
height: 100%;
1312
border: 1px solid #3473b7;
1413
}

0 commit comments

Comments
 (0)