Skip to content

Commit 70ee4ae

Browse files
committed
更新标绘产品示例和资源
1 parent 8995619 commit 70ee4ae

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+11
-7
lines changed

examples/img/Plane/Plane_0.png

1.57 KB

examples/img/Plane/Plane_1.png

2.32 KB

examples/img/Plane/Plane_10.png

2.29 KB

examples/img/Plane/Plane_11.png

2.03 KB

examples/img/Plane/Plane_12.png

1.97 KB

examples/img/Plane/Plane_13.png

1.87 KB

examples/img/Plane/Plane_14.png

2.05 KB

examples/img/Plane/Plane_15.png

1.88 KB

examples/img/Plane/Plane_16.png

3.01 KB

examples/img/Plane/Plane_17.png

2.01 KB

examples/img/Plane/Plane_18.png

1.86 KB

examples/img/Plane/Plane_19.png

2.54 KB

examples/img/Plane/Plane_2.png

2.28 KB

examples/img/Plane/Plane_20.png

2.55 KB

examples/img/Plane/Plane_21.png

1.89 KB

examples/img/Plane/Plane_22.png

2.47 KB

examples/img/Plane/Plane_23.png

1.38 KB

examples/img/Plane/Plane_24.png

1.91 KB

examples/img/Plane/Plane_25.png

2.52 KB

examples/img/Plane/Plane_26.png

2.52 KB

examples/img/Plane/Plane_27.png

1.84 KB

examples/img/Plane/Plane_28.png

2.66 KB

examples/img/Plane/Plane_29.png

1.87 KB

examples/img/Plane/Plane_3.png

2.9 KB

examples/img/Plane/Plane_30.png

2.01 KB

examples/img/Plane/Plane_31.png

1.77 KB

examples/img/Plane/Plane_32.png

1.59 KB

examples/img/Plane/Plane_33.png

1.84 KB

examples/img/Plane/Plane_34.png

1.3 KB

examples/img/Plane/Plane_35.png

1.66 KB

examples/img/Plane/Plane_36.png

1.98 KB

examples/img/Plane/Plane_37.png

1.44 KB

examples/img/Plane/Plane_4.png

2.55 KB

examples/img/Plane/Plane_5.png

1.27 KB

examples/img/Plane/Plane_6.png

2.55 KB

examples/img/Plane/Plane_7.png

2.34 KB

examples/img/Plane/Plane_8.png

1.45 KB

examples/img/Plane/Plane_9.png

1.39 KB

examples/js/plottingPanel/PublicStyleFunction.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ function getLineStyleRows() {
193193
rows.push({ "value": "6", "text": resources.text_threeSegDashline });
194194
rows.push({ "value": "7", "text": resources.text_fourSegDashline });
195195
rows.push({ "value": "8", "text": resources.text_fiveSegDashline });
196-
rows.push({ "value": "999", "text": resources.text_selfDefinedDashline });
196+
// rows.push({ "value": "999", "text": resources.text_selfDefinedDashline });
197197
return rows;
198198
}
199199

examples/js/plottingPanel/StylePanel.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,12 @@ L.supermap.plotting.initStylePanel = function (div, serverUrl, editControl) {
7474
}
7575

7676
function showFeatureProperty(event) {
77-
for (var index = 0; index < event.features.length; index++) {
78-
var sIndex = SuperMap.Util.indexOf(selectFeatures, event.features[index]);
79-
if (sIndex === -1) {
80-
selectFeatures.push(event.features[index]);
77+
if (event.features) {
78+
for (var index = 0; index < event.features.length; index++) {
79+
var sIndex = SuperMap.Util.indexOf(selectFeatures, event.features[index]);
80+
if (sIndex === -1) {
81+
selectFeatures.push(event.features[index]);
82+
}
8183
}
8284
}
8385

examples/leaflet/plot_signSymbol.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<meta charset="UTF-8">
1313
<title data-i18n="resources.title_signSymbol"></title>
1414
<link rel="stylesheet" href="../css/iconfont/iconfont.css">
15-
<link rel="stylesheet" href="../css/iconfont/plotting.css">
1615
<style type="text/css">
1716
body {
1817
margin: 0;

examples/leaflet/plot_symbolGeometricQuery.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,12 @@ <h5 class='panel-title text-center' data-i18n="resources.title_symbolGeometricQu
153153
var queryResult = [];
154154

155155
function resetGeometryStyle() {
156-
for (var i = 0; i < queryResult.length; i++) {
156+
if(queryResult){
157+
for (var i = 0; i < queryResult.length; i++) {
157158
queryResult[i].setStyle({color: "#FF0000"});
158159
}
160+
}
161+
159162
queryResult = [];
160163
}
161164

0 commit comments

Comments
 (0)