Skip to content

Commit 6b549e1

Browse files
更新标绘示范程序
1 parent eee9ac9 commit 6b549e1

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

dist/leaflet/include-leaflet.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,13 @@
138138
inputCSS('../../dist/leaflet/iclient-leaflet.min.css');
139139
}
140140
if (inArray(includes, 'iclient-plot-leaflet')) {
141-
inputCSS('https://iclient.supermap.io/web/libs/plotting/leaflet/10.1.1/iclient-plot-leaflet.css');
141+
inputCSS('https://iclient.supermap.io/web/libs/plotting/leaflet/10.1.2/iclient-plot-leaflet.css');
142142
if (supportES6()) {
143143
inputScript(
144-
'https://iclient.supermap.io/web/libs/plotting/leaflet/10.1.1/iclient-plot-leaflet-es6.min.js'
144+
'https://iclient.supermap.io/web/libs/plotting/leaflet/10.1.2/iclient-plot-leaflet-es6.min.js'
145145
);
146146
} else {
147-
inputScript('https://iclient.supermap.io/web/libs/plotting/leaflet/10.1.1/iclient-plot-leaflet.min.js');
147+
inputScript('https://iclient.supermap.io/web/libs/plotting/leaflet/10.1.2/iclient-plot-leaflet.min.js');
148148
}
149149
}
150150
if (inArray(includes, 'ant-design-vue')) {
960 Bytes
Loading
4.77 KB
Loading
2.93 KB
Loading
3.44 KB
Loading
5.01 KB
Loading

examples/js/plottingPanel/PlotPanel.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,15 +164,15 @@ function addBasicCellTreeNodes(treeData){
164164
cellRootNode.drawData = [];
165165
treeData.push(cellRootNode);
166166

167-
var symbolCode = [24, 28, 29, 31, 34, 410, 32, 590, 360, 390, 400, 350, 26, 370, 380, 44, 48, 320
167+
var symbolCode = [24, 28, 29, 31, 34, 410, 32, 590, 360, 390, 400, 350, 26, 370, 380, 44, 3701, 3801, 4401, 48, 320
168168
, 1019, 1022,1024,321,1023,1025
169169
,1013, 1014, 1016, 1017,1026
170-
,1001, 1003, 1004,1028];
170+
,1001, 1003, 1004,1028,1029,3000];
171171
var symbolName = ["折线", "平行四边形", "圆", "椭圆", "注记", "正多边形", "多边形", "贝赛尔曲线", "闭合贝赛尔曲线"
172-
, "集结地", "大括号", "梯形", "矩形", "弓形", "扇形", "弧线", "平行线", "注记指示框"
172+
, "集结地", "大括号", "梯形", "矩形", "弓形", "扇形", "弧线","弓形", "扇形", "弧线", "平行线", "注记指示框"
173173
, "同心圆", "组合圆","标注框","多角标注框","自由线", "节点链"
174174
, "跑道形", "八字形", "箭头线", "沿线注记","线型标注"
175-
, "对象间连线", "多边形区域","扇形区域","铁丝网"];
175+
, "对象间连线", "多边形区域","扇形区域","铁丝网","直线箭头","图片"];
176176
var cellId = cellRootNode.id + 1;
177177
for(var i = 0; i < symbolCode.length; i++){
178178
var drawCellNode = {

examples/js/plottingPanel/PublicStyleFunction.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1282,7 +1282,7 @@ function symbolPropertyObject(selectfeature,styleObject) {
12821282
algoSymbolRows.push(objectLibID);
12831283
}
12841284
//四个点以上含4个点可以设置成折线显示
1285-
if (typeof selectfeature.isCanPolyLineConnectCode !== "undefined" && selectfeature.isCanPolyLineConnectCode()=== true ) {
1285+
if ((selectfeature.getLatLngs().length >3)&&(typeof selectfeature.canPolylineConnectLocationPoint !== "undefined" && selectfeature.canPolylineConnectLocationPoint()=== true )) {
12861286
var algoLineType = new Object();
12871287
algoLineType.group = groupNew[8];
12881288
algoLineType.name = displayNameNew[20];

examples/js/plottingPanel/customEditor/ColorpickerEditor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright© 2000 - 2021 SuperMap Software Co.Ltd. All rights reserved.*/
1+
/* Copyright© 2000 - 2020 SuperMap Software Co.Ltd. All rights reserved.*/
22
$.extend($.fn.datagrid.defaults.editors, {
33
colorpicker: {
44
init: function (container, options) {

0 commit comments

Comments
 (0)