Skip to content

Commit 6b025e7

Browse files
committed
【update】更新plot
1 parent 7710930 commit 6b025e7

File tree

4 files changed

+29
-1
lines changed

4 files changed

+29
-1
lines changed

examples/js/plottingPanel/PublicStyleFunction.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1268,7 +1268,7 @@ function symbolPropertyObject(selectfeature, styleObject) {
12681268

12691269
//文字
12701270
var textRows = [];
1271-
if (!SuperMapAlgoPlot.MJAlgoSymbolFactory.isAccessServer(selectfeature.libID, selectfeature.code) &&
1271+
if (SuperMapAlgoPlot.MJAlgoSymbolFactory && !SuperMapAlgoPlot.MJAlgoSymbolFactory.isAccessServer(selectfeature.libID, selectfeature.code) &&
12721272
!SuperMapAlgoPlot.MJAlgoSymbolFactory.isSupportTextContent(selectfeature.libID, selectfeature.code)) {
12731273
textRows.push(fontFamilyObj);
12741274
textRows.push(fontSizeObj);

examples/leaflet/plot_symbolGeometricQuery.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ <h5 class='panel-title text-center' data-i18n="resources.title_symbolGeometricQu
4545
queryPlottingLayer.addTo(map);
4646
var drawControl = L.supermap.plotting.drawControl(queryPlottingLayer);
4747
drawControl.addTo(map);
48+
var editControl = L.supermap.plotting.editControl();
49+
editControl.addTo(map);
4850
var plotting = L.supermap.plotting.getControl(map, serverUrl);
4951
function loadSymbolLib() {
5052
var symbolLibManager = plotting.getSymbolLibManager();

examples/locales/en-US/resources.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2529,6 +2529,19 @@ window.examplesResources = {
25292529
"text_sectorArea":"sectorArea",
25302530
"text_barbedWire":"barbedWire",
25312531
"text_straightLineArrow":"straightLine arrow",
2532+
"text_parallelHorizontalEarsArrow": "Parallel Horizontal Ears Arrow",
2533+
"text_trapeziumHorizonalEarsArrow": "Trapezium Horizontal Ears Arrow",
2534+
"text_baseBezierarrow": "Base Bezier Arrow",
2535+
"text_polylineTriangleArrow": "Polyline Triangle Arrow",
2536+
"text_bezierSwallowTailedArrow": "Bezier Swallow Tailed Arrow",
2537+
"text_basePolylineArrow": "Base Polyline Arrow",
2538+
"text_baseBezierArrowNoScaleByMap": "Base Bezier Arrow No Scale By Map",
2539+
"text_polylineTriangleArrowNoScaleByMap": "Polyline Triangle Arrow No Scale By Map",
2540+
"text_bezierSwallowTailedArrowNoScaleByMap": "BezierSwallow Tailed Arrow No Scale By Map",
2541+
"text_basePolylineArrowNoScaleByMap": "Base Polyline Arrow No Scale By Map",
2542+
"text_combinationArrow": "Combination Arrow",
2543+
"text_parallelBatLikeEarsArrow": "Parallel Bat Like Ears Arrow",
2544+
"text_bidirectionalPathArrow": "Bidirectional Path Arrow",
25322545
"text_routeObj":"route object",
25332546
"text_route1":"route1",
25342547
"text_route2":"route2",

examples/locales/zh-CN/resources.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2490,6 +2490,19 @@ window.examplesResources = {
24902490
"text_sectorArea":"扇形区域",
24912491
"text_barbedWire":"铁丝网",
24922492
"text_straightLineArrow":"直线箭头",
2493+
"text_parallelHorizontalEarsArrow": "平行平耳箭头",
2494+
"text_trapeziumHorizonalEarsArrow": "梯形平耳箭头",
2495+
"text_baseBezierarrow": "普通贝塞尔箭头",
2496+
"text_polylineTriangleArrow": "折线三角箭头",
2497+
"text_bezierSwallowTailedArrow": "贝塞尔燕尾箭头",
2498+
"text_basePolylineArrow": "普通折线箭头",
2499+
"text_baseBezierArrowNoScaleByMap": "普通贝塞尔箭头(不随图)",
2500+
"text_polylineTriangleArrowNoScaleByMap": "折线三角箭头(不随图)",
2501+
"text_bezierSwallowTailedArrowNoScaleByMap": "贝塞尔燕尾箭头(不随图)",
2502+
"text_basePolylineArrowNoScaleByMap": "普通折线箭头(不随图)",
2503+
"text_combinationArrow": "组合箭头",
2504+
"text_parallelBatLikeEarsArrow": "平行尖耳箭头",
2505+
"text_bidirectionalPathArrow": "路径2",
24932506
"text_routeObj":"航线对象",
24942507
"text_route1":"航线1",
24952508
"text_route2":"航线2",

0 commit comments

Comments
 (0)