Skip to content

Commit

Permalink
修改map显示不全
Browse files Browse the repository at this point in the history
  • Loading branch information
hhyu1 committed Aug 3, 2018
1 parent 2e0ccc8 commit deaae77
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 13 deletions.
1 change: 0 additions & 1 deletion examples/leaflet/plot_drawGraphics.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
position: absolute;
left: 250px;
right: 0px;
width: 100%;
height: 100%;
border: 1px solid #3473b7;
}
Expand Down
1 change: 0 additions & 1 deletion examples/leaflet/plot_dynamicPlot.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
position: absolute;
left: 250px;
right: 0px;
width: 100%;
height: 100%;
border: 1px solid #3473b7;
}
Expand Down
1 change: 0 additions & 1 deletion examples/leaflet/plot_modifySymbolStyle.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
position: absolute;
left: 250px;
right: 0px;
width: 100%;
height: 100%;
border: 1px solid #3473b7;
}
Expand Down
15 changes: 7 additions & 8 deletions examples/leaflet/plot_plotGOAnimation.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
position: absolute;
left: 250px;
right: 0px;
width: 100%;
height: 100%;
border: 1px solid #3473b7;
}
Expand Down Expand Up @@ -121,6 +120,13 @@ <h5 class="panel-title text-center" data-i18n="resources.title_plotGOAnimation"
var plotting = L.supermap.plotting.getControl(map, serverUrl);
var goAnimationManager = plotting.getGOAnimationManager();
window.setInterval("execute()", 100);
select = document.getElementById("SLT");
for (var i = 0, len = item.length; i < len; i++) {
var options = document.createElement("option");
options.setAttribute("value", item[i]);
options.innerHTML = item[i];
select.appendChild(options);
}

//保存态势图
function saveSimulationMap() {
Expand Down Expand Up @@ -354,13 +360,6 @@ <h5 class="panel-title text-center" data-i18n="resources.title_plotGOAnimation"
}
}
}
select = document.getElementById("SLT");
for (var i = 0, len = item.length; i < len; i++) {
var options = document.createElement("option");
options.setAttribute("value", item[i]);
options.innerHTML = item[i];
select.appendChild(options);
}

function selectAnimationType() {

Expand Down
1 change: 0 additions & 1 deletion examples/leaflet/plot_plotSymbol.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
position: absolute;
left: 250px;
right: 0px;
width: 100%;
height: 100%;
border: 1px solid #3473b7;
}
Expand Down
1 change: 0 additions & 1 deletion examples/leaflet/plot_saveload.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
position: absolute;
left: 250px;
right: 0px;
width: 100%;
height: 100%;
border: 1px solid #3473b7;
}
Expand Down

0 comments on commit deaae77

Please sign in to comment.