|
8 | 8 | position: absolute;
|
9 | 9 | left: 250px;
|
10 | 10 | right: 0px;
|
11 | | - width: 100%; |
12 | 11 | height: 100%;
|
13 | 12 | border: 1px solid #3473b7;
|
14 | 13 | }
|
@@ -121,6 +120,13 @@ <h5 class="panel-title text-center" data-i18n="resources.title_plotGOAnimation"
|
121 | 120 | var plotting = L.supermap.plotting.getControl(map, serverUrl);
|
122 | 121 | var goAnimationManager = plotting.getGOAnimationManager();
|
123 | 122 | 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 | + } |
124 | 130 |
|
125 | 131 | //保存态势图
|
126 | 132 | function saveSimulationMap() {
|
@@ -354,13 +360,6 @@ <h5 class="panel-title text-center" data-i18n="resources.title_plotGOAnimation"
|
354 | 360 | }
|
355 | 361 | }
|
356 | 362 | }
|
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 | | - } |
364 | 363 |
|
365 | 364 | function selectAnimationType() {
|
366 | 365 |
|
|
0 commit comments