Skip to content

Commit 98de761

Browse files
committed
提交标绘示例和修改引用资源
1 parent 3586632 commit 98de761

40 files changed

+34
-34
lines changed

examples/img/Plane/Plane_0.png

-1.57 KB
Binary file not shown.

examples/img/Plane/Plane_1.png

-2.32 KB
Binary file not shown.

examples/img/Plane/Plane_10.png

-2.29 KB
Binary file not shown.

examples/img/Plane/Plane_11.png

-2.03 KB
Binary file not shown.

examples/img/Plane/Plane_12.png

-1.97 KB
Binary file not shown.

examples/img/Plane/Plane_13.png

-1.87 KB
Binary file not shown.

examples/img/Plane/Plane_14.png

-2.05 KB
Binary file not shown.

examples/img/Plane/Plane_15.png

-1.88 KB
Binary file not shown.

examples/img/Plane/Plane_16.png

-3.01 KB
Binary file not shown.

examples/img/Plane/Plane_17.png

-2.01 KB
Binary file not shown.

examples/img/Plane/Plane_18.png

-1.86 KB
Binary file not shown.

examples/img/Plane/Plane_19.png

-2.54 KB
Binary file not shown.

examples/img/Plane/Plane_2.png

-2.28 KB
Binary file not shown.

examples/img/Plane/Plane_20.png

-2.55 KB
Binary file not shown.

examples/img/Plane/Plane_21.png

-1.89 KB
Binary file not shown.

examples/img/Plane/Plane_22.png

-2.47 KB
Binary file not shown.

examples/img/Plane/Plane_23.png

-1.38 KB
Binary file not shown.

examples/img/Plane/Plane_24.png

-1.91 KB
Binary file not shown.

examples/img/Plane/Plane_25.png

-2.52 KB
Binary file not shown.

examples/img/Plane/Plane_26.png

-2.52 KB
Binary file not shown.

examples/img/Plane/Plane_27.png

-1.84 KB
Binary file not shown.

examples/img/Plane/Plane_28.png

-2.66 KB
Binary file not shown.

examples/img/Plane/Plane_29.png

-1.87 KB
Binary file not shown.

examples/img/Plane/Plane_3.png

-2.9 KB
Binary file not shown.

examples/img/Plane/Plane_30.png

-2.01 KB
Binary file not shown.

examples/img/Plane/Plane_31.png

-1.77 KB
Binary file not shown.

examples/img/Plane/Plane_32.png

-1.59 KB
Binary file not shown.

examples/img/Plane/Plane_33.png

-1.84 KB
Binary file not shown.

examples/img/Plane/Plane_34.png

-1.3 KB
Binary file not shown.

examples/img/Plane/Plane_35.png

-1.66 KB
Binary file not shown.

examples/img/Plane/Plane_36.png

-1.98 KB
Binary file not shown.

examples/img/Plane/Plane_37.png

-1.44 KB
Binary file not shown.

examples/img/Plane/Plane_4.png

-2.55 KB
Binary file not shown.

examples/img/Plane/Plane_5.png

-1.27 KB
Binary file not shown.

examples/img/Plane/Plane_6.png

-2.55 KB
Binary file not shown.

examples/img/Plane/Plane_7.png

-2.34 KB
Binary file not shown.

examples/img/Plane/Plane_8.png

-1.45 KB
Binary file not shown.

examples/img/Plane/Plane_9.png

-1.39 KB
Binary file not shown.

examples/leaflet/plot_drawSymbolGroup.html

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,14 @@
7474
style=" font-size: 16px;color: #ffffff;"></h5>
7575
</div>
7676
<div style="margin: 10px;">
77-
<div class='input-group' style="width: 220px;margin-bottom: 15px;">
77+
<!-- <div class='input-group' style="width: 220px;margin-bottom: 15px;">
7878
<span class='input-group-addon' data-i18n="resources.text_checkType"></span>
7979
<select type='text' class='form-control' id='symbol' onchange="symbolChanged(event)">
8080
<option id="10001" data-i18n="resources.option_symbol" value="0"></option>
8181
<option id="10002" data-i18n="resources.option_picture" value="1"></option>
8282
<option id="10003" data-i18n="resources.option_model" value="2"></option>
8383
</select>
84-
</div>
84+
</div> -->
8585
<div class='input-group' style="width: 220px;margin-bottom: 15px;">
8686
<span class='input-group-addon' data-i18n="resources.text_number"></span>
8787
<input type='text' class='form-control' id='count' value='15' style="width: 110px;" />
@@ -92,7 +92,7 @@
9292
</div>
9393
</div>
9494
<div id="toolbar" class="panel panel-primary"
95-
style="position: absolute;top: 280px;right: 10px;text-align: center;z-index: 800;border-radius: 4px;">
95+
style="position: absolute;top: 230px;right: 10px;text-align: center;z-index: 800;border-radius: 4px;">
9696
<div class='panel-heading' id="panelheading">
9797
<h5 class='panel-title text-center' data-i18n="resources.title_symbolGroup"
9898
style="font-size: 16px;font-weight: normal;color: #fff;"></h5>
@@ -218,8 +218,8 @@
218218
plottingLayer = plotMapManager.getActivePlottingLayer();
219219
}
220220
});
221-
document.getElementById("symbol").value = "0";
222-
currentSymbolType = resources.option_symbol;
221+
// document.getElementById("symbol").value = "0";
222+
// currentSymbolType = resources.option_symbol;
223223
document.getElementById("createOrUnSymbolGroup").value = resources.btn_createSymbolGroup;
224224

225225
function featuresSelected() {
@@ -301,22 +301,22 @@
301301
document.getElementById("culsterInfoVisible").disabled = true;
302302
document.getElementById("onlyInCulsterInfoVisible").disabled = true;
303303
}
304-
function symbolChanged(event) {
305-
switch (event.target.value) {
306-
case '0':
307-
currentSymbolType = resources.option_symbol;
308-
break;
309-
case '1':
310-
currentSymbolType = resources.option_picture;
311-
break;
312-
case '2':
313-
currentSymbolType = resources.option_model;
314-
break;
315-
316-
default:
317-
break;
318-
}
319-
}
304+
// function symbolChanged(event) {
305+
// switch (event.target.value) {
306+
// case '0':
307+
// currentSymbolType = resources.option_symbol;
308+
// break;
309+
// case '1':
310+
// currentSymbolType = resources.option_picture;
311+
// break;
312+
// case '2':
313+
// currentSymbolType = resources.option_model;
314+
// break;
315+
316+
// default:
317+
// break;
318+
// }
319+
// }
320320

321321
function createRoomNumber() {
322322
var libID = 421;
@@ -396,14 +396,14 @@
396396
}
397397
}
398398
function drawGraphics() {
399-
// plottingLayer.removeAllFeatures();
400-
if (currentSymbolType === resources.option_symbol) {
401-
this.createRoomNumber();
402-
} else if (currentSymbolType === resources.option_model) {
403-
this.createAirPlane();
404-
} else if (currentSymbolType === resources.option_picture) {
405-
this.createPicture();
406-
}
399+
this.createRoomNumber();
400+
// if (currentSymbolType === resources.option_symbol) {
401+
// this.createRoomNumber();
402+
// } else if (currentSymbolType === resources.option_model) {
403+
// this.createAirPlane();
404+
// } else if (currentSymbolType === resources.option_picture) {
405+
// this.createPicture();
406+
// }
407407
}
408408
function multiSelectModel() {
409409
editControl.multiSelect();

examples/locales/zh-CN/resources.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2105,11 +2105,11 @@ window.examplesResources = {
21052105
"title_template5":"模板样式五",
21062106
"title_template6":"模板样式六",
21072107
"title_template7":"模板样式七",
2108-
"title_template7":"模板样式八",
2109-
"title_template7":"模板样式九",
2110-
"title_template7":"模板样式十",
2111-
"title_template7":"模板样式十一",
2112-
"title_template7":"模板样式十二",
2108+
"title_template8":"模板样式八",
2109+
"title_template9":"模板样式九",
2110+
"title_template10":"模板样式十",
2111+
"title_template11":"模板样式十一",
2112+
"title_template12":"模板样式十二",
21132113

21142114
"title_type1":"参数类型一",
21152115
"title_type2":"参数类型二",

0 commit comments

Comments
 (0)