Skip to content

Commit 39a2594

Browse files
committed
修改上传态势图功能不可用;屏蔽截屏功能
1 parent 02d65f8 commit 39a2594

File tree

3 files changed

+3
-11
lines changed

3 files changed

+3
-11
lines changed

examples/classic/plot_dynamicPlot.html

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,6 @@
138138
</ul>
139139
</li>
140140

141-
<li>
142-
<a class="glyphicon glyphicon-retweet notArrow" data-i18n="[title]resources.text_screenshot" onclick="mapToImg1()"></a>
143-
</li>
144-
145141
<li>
146142
<a class="glyphicon glyphicon-adjust notArrow" data-i18n="[title]resources.text_avoid"></a>
147143
<ul>
@@ -467,11 +463,6 @@
467463
}
468464
}
469465

470-
//截屏
471-
function mapToImg1() {
472-
MapToImg && MapToImg.excute(map);
473-
}
474-
475466
//绘制避让区域
476467
function drawAvoidRegion() {
477468
plottingEdit.avoidEdit(true);

examples/classic/plot_filetransfer.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ <h5 class='panel-title text-center' data-i18n="resources.title_filetransfer"></h
8787
</div>
8888
<div id="filetree" data-i18n="[title]resources.text_fileList"></div>
8989
<div id="map"></div>
90-
<script type="text/javascript" include="bootstrap" src="../js/include-web.js"></script>
91-
<script type="text/javascript" exclude="iclient-classic" include="fileupLoad,PlottingPanel"
90+
<script type="text/javascript" include="bootstrap, fileupLoad" src="../js/include-web.js"></script>
91+
<script type="text/javascript" exclude="iclient-classic" include="PlottingPanel"
9292
src="../../dist/classic/include-classic.js"></script>
9393
<script>
9494
var map, layer, drawFeature, treePanel, plottingLayer, plottingEdit, sitManager, plotting;

examples/classic/plot_operatePlottingLayer.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ <h5 class='panel-title text-center' data-i18n="resources.title_operatePlottingLa
111111
function removeLayer() {
112112
widgets.alert.clearAlert();
113113
if (plottingLayers.length !== 0) {
114+
plottingEdit.unselectFeatures();
114115
var plottingLayer = plottingLayers[plottingLayers.length - 1];
115116
plottingLayer.events.on({"removed": layerRemoved});
116117
map.removeLayer(plottingLayer);

0 commit comments

Comments
 (0)