@mapgis/webclient-common 17.0.7 → 17.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -37
- package/dist/es5/webclient-common.min.js +15 -4
- package/dist/webclient-common-es6.min.js +16 -5
- package/documention/AddressServer.html +12 -12
- package/documention/ArcGISFeatureServer.html +10 -10
- package/documention/ArcGISGeometryServer.html +10 -10
- package/documention/ArcGISMapImageLayer.html +10 -10
- package/documention/ArcGISMapImageSubLayer.html +311 -7
- package/documention/ArcGISMapServer.html +414 -10
- package/documention/ArcGISTileLayer.html +121 -13
- package/documention/ArcGISVectorTileLayer.html +7 -7
- package/documention/ArcGISVectorTileServer.html +10 -10
- package/documention/BaseRenderer.html +239 -0
- package/documention/BaseServer.html +11 -11
- package/documention/BaseView.html +458 -3
- package/documention/Basemap.html +3 -3
- package/documention/Callout3D.html +107 -0
- package/documention/Cesium3DTilesCacheLayer.html +149 -177
- package/documention/Cesium3DTilesServer.html +11 -11
- package/documention/Circle.html +110 -7
- package/documention/ClassBreakInfo.html +0 -217
- package/documention/ClassBreakRenderer.html +413 -23
- package/documention/ClusterRenderer.html +247 -7
- package/documention/Config.html +4 -4
- package/documention/Extent.html +118 -15
- package/documention/ExtrudeSymbol3DLayer.html +109 -2
- package/documention/Feature.html +7 -7
- package/documention/FeatureLayer.html +116 -8
- package/documention/FeatureServer.html +27 -27
- package/documention/FeatureSet.html +7 -7
- package/documention/FillSymbol.html +107 -0
- package/documention/FillSymbol3DLayer.html +109 -2
- package/documention/Font.html +4 -4
- package/documention/GeoJSONLayer.html +142 -34
- package/documention/Geometry.html +138 -7
- package/documention/GeometryEngine.html +79 -79
- package/documention/GeometryServer.html +30 -30
- package/documention/GraphicsLayer.html +147 -39
- package/documention/GroupLayer.html +120 -12
- package/documention/HeatmapRenderer.html +107 -0
- package/documention/IGSFeatureLayer.html +25 -25
- package/documention/IGSMapImageLayer.html +46 -46
- package/documention/IGSMapImageSubLayer.html +307 -3
- package/documention/IGSSceneLayer.html +11 -11
- package/documention/IGSSceneSubLayer.html +213 -33
- package/documention/IGSTileLayer.html +126 -19
- package/documention/IGSVectorTileLayer.html +230 -43
- package/documention/IGSVectorTileSubLayer.html +5 -4
- package/documention/IconSymbol3DLayer.html +111 -4
- package/documention/ImageServer.html +11 -11
- package/documention/LabelClass.html +10 -5
- package/documention/LabelSymbol3D.html +2 -2
- package/documention/Layer.html +244 -9
- package/documention/LineCallout3D.html +107 -0
- package/documention/LineString.html +113 -10
- package/documention/LineSymbol.html +107 -0
- package/documention/LineSymbol3D.html +2 -2
- package/documention/LineSymbol3DLayer.html +109 -2
- package/documention/M3DModelCacheLayer.html +133 -79
- package/documention/M3DServer.html +12 -12
- package/documention/Map.html +32 -5
- package/documention/MapGISTextSymbol.html +110 -3
- package/documention/MapImageLayer.html +527 -16
- package/documention/MapServer.html +14 -14
- package/documention/MapView.html +204 -3
- package/documention/MarkerSymbol.html +107 -0
- package/documention/MultiLineString.html +116 -13
- package/documention/MultiPoint.html +113 -10
- package/documention/MultiPolygon.html +112 -9
- package/documention/OGCLayer.html +116 -8
- package/documention/ObjectSymbol3DLayer.html +111 -4
- package/documention/OutStatistic.html +1 -1
- package/documention/OverlayLayer.html +116 -8
- package/documention/PathSymbol3DLayer.html +109 -2
- package/documention/PictureFillSymbol.html +169 -8
- package/documention/PictureMarkerSymbol.html +3 -3
- package/documention/PlotServer.html +10 -10
- package/documention/PoiServer.html +12 -12
- package/documention/Point.html +115 -12
- package/documention/PointSymbol3D.html +3 -3
- package/documention/Polygon.html +117 -14
- package/documention/PolygonSymbol3D.html +2 -2
- package/documention/Projection.html +429 -8
- package/documention/RandomRenderer.html +108 -1
- package/documention/RankRenderer.html +109 -2
- package/documention/ResourceServer.html +150 -150
- package/documention/RootServer.html +12 -12
- package/documention/SceneLayer.html +116 -8
- package/documention/SceneServer.html +16 -16
- package/documention/SceneView.html +10164 -130
- package/documention/SecurityServer.html +12 -12
- package/documention/SimpleFillSymbol.html +110 -3
- package/documention/SimpleLineSymbol.html +3 -3
- package/documention/SimpleMarkerSymbol.html +3 -3
- package/documention/SimpleRenderer.html +116 -9
- package/documention/SizeVariable.html +1 -1
- package/documention/SketchBaseDrawTool.html +181 -3
- package/documention/SketchCircleDrawTool.html +159 -3
- package/documention/SketchEditor.html +2 -2
- package/documention/SketchEditorCesium.html +1 -1
- package/documention/SketchEditorVideo.html +2 -2
- package/documention/SketchEditorVideoBase.html +3 -3
- package/documention/SketchExtentDrawTool.html +159 -3
- package/documention/SketchFreehandPolygonDrawTool.html +159 -3
- package/documention/SketchFreehandPolylineDrawTool.html +159 -3
- package/documention/SketchPointDrawTool.html +159 -3
- package/documention/SketchPolygonDrawTool.html +318 -6
- package/documention/SketchPolylineDrawTool.html +318 -6
- package/documention/SpatialReference.html +1 -1
- package/documention/SubLayer.html +296 -26
- package/documention/Symbol.html +134 -1
- package/documention/Symbol3DLayer.html +107 -0
- package/documention/Symbol3DVerticalOffset.html +107 -0
- package/documention/TerrainCacheLayer.html +133 -165
- package/documention/TerrainServer.html +11 -11
- package/documention/TextSymbol.html +111 -4
- package/documention/TextSymbol3DLayer.html +109 -2
- package/documention/ThemeServer.html +13 -13
- package/documention/TileLayer.html +116 -8
- package/documention/TileServer.html +12 -12
- package/documention/UniqueValueInfo.html +0 -217
- package/documention/UniqueValueRenderer.html +125 -18
- package/documention/UnknownLayer.html +116 -8
- package/documention/VectorTileLayer.html +117 -9
- package/documention/VectorTileServer.html +11 -11
- package/documention/VectorTileSubLayer.html +304 -0
- package/documention/VideoMapView.html +4 -4
- package/documention/WCSServer.html +10 -10
- package/documention/WFSLayer.html +140 -32
- package/documention/WFSServer.html +11 -11
- package/documention/WMSLayer.html +131 -23
- package/documention/WMSServer.html +12 -12
- package/documention/WMSSubLayer.html +218 -7
- package/documention/WMTSLayer.html +126 -18
- package/documention/WMTSServer.html +12 -12
- package/documention/WMTSSubLayer.html +116 -8
- package/documention/WPSServer.html +10 -10
- package/documention/WaterSymbol3DLayer.html +107 -0
- package/documention/WebTileLayer.html +121 -13
- package/documention/WorkFlowServer.html +12 -12
- package/documention/WorkFlowServer600227.html +12 -12
- package/documention/WorkFlowServer600228.html +13 -13
- package/documention/WorkFlowServer600229.html +12 -12
- package/documention/WorkFlowServer600230.html +12 -12
- package/documention/WorkFlowServer600231.html +12 -12
- package/documention/WorkFlowServer600232.html +13 -13
- package/documention/WorkFlowServer600233.html +14 -14
- package/documention/WorkFlowServer600235.html +12 -12
- package/documention/WorkFlowServer600237.html +13 -13
- package/documention/WorkFlowServer600238.html +15 -15
- package/documention/WorkFlowServer600239.html +16 -16
- package/documention/WorkFlowServer600307.html +14 -14
- package/documention/WorkFlowServer600308.html +2 -2
- package/documention/WorkFlowServer600309.html +12 -12
- package/documention/WorkFlowServer600314.html +12 -12
- package/documention/WorkFlowServer600334.html +12 -12
- package/documention/WorkFlowServer600336.html +12 -12
- package/documention/WorkFlowServer600340.html +12 -12
- package/documention/WorkFlowServer600354.html +12 -12
- package/documention/WorkFlowServer600368.html +12 -12
- package/documention/WorkFlowServer600369.html +12 -12
- package/documention/WorkFlowServer600370.html +12 -12
- package/documention/global.html +1024 -1874
- package/documention/index.html +84 -78
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CAllOtherDataItemInfoSource.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CAnnInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartLabelFormat.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartTheme.html +4 -4
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartThemeInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartThemeRepresentInfo.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartType.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CDotDensityTheme.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CFourColorTheme.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CGraduatedSymbolTheme.html +7 -7
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CLinInfo.html +5 -5
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CMultiClassTheme.html +5 -5
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CPntInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRandomTheme.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRangeTheme.html +5 -5
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRangeThemeInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRegInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CSimpleTheme.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CTheme.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CThemeInfo.html +7 -7
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CUniqueTheme.html +4 -4
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CUniqueThemeInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ExpInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.FolderInfo.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.FolderInfoAttribute.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ItemValue.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ThemesInfo.html +2 -2
- package/documention/scripts/sideBar.js +16 -2
- package/documention/tutorial-/346/270/262/346/237/223/345/231/250.html +5 -1
- package/documention/tutorial-/347/254/246/345/217/267.html +52 -6
- package/documention/tutorial-/350/241/250/350/276/276/345/274/217.html +293 -1
- package/package.json +14 -13
|
@@ -387,6 +387,24 @@
|
|
|
387
387
|
<td class="name"><code><p>符号的额外构造参数,该构造参数是地图引擎的额外构造参数,在此设置了之后,会覆盖该符号转换好地图引擎的构造参数</p></code></td>
|
|
388
388
|
</tr>
|
|
389
389
|
|
|
390
|
+
<tr class="deep-level-0">
|
|
391
|
+
<td class="name"><code><a href="#id">id</a></code></td>
|
|
392
|
+
<td class="name">
|
|
393
|
+
<code>
|
|
394
|
+
|
|
395
|
+
<span class="param-type">
|
|
396
|
+
|
|
397
|
+
String
|
|
398
|
+
|
|
399
|
+
</span>
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
</code>
|
|
404
|
+
</td>
|
|
405
|
+
<td class="name"><code><p>符号id</p></code></td>
|
|
406
|
+
</tr>
|
|
407
|
+
|
|
390
408
|
<tr class="deep-level-0">
|
|
391
409
|
<td class="name"><code><a href="#type">type</a></code></td>
|
|
392
410
|
<td class="name">
|
|
@@ -610,6 +628,95 @@
|
|
|
610
628
|
|
|
611
629
|
|
|
612
630
|
|
|
631
|
+
<dt class="tag-default">Default Value:</dt>
|
|
632
|
+
<dd class="tag-default"><ul class="dummy">
|
|
633
|
+
<li>{}</li>
|
|
634
|
+
</ul></dd>
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
|
|
642
|
+
|
|
643
|
+
</dl>
|
|
644
|
+
|
|
645
|
+
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
</div>
|
|
650
|
+
|
|
651
|
+
<div class="member">
|
|
652
|
+
|
|
653
|
+
<span class="method-parameter is-pulled-right">
|
|
654
|
+
<label>类型:</label>
|
|
655
|
+
|
|
656
|
+
<span class="param-type">
|
|
657
|
+
|
|
658
|
+
String
|
|
659
|
+
|
|
660
|
+
</span>
|
|
661
|
+
|
|
662
|
+
|
|
663
|
+
|
|
664
|
+
</span>
|
|
665
|
+
|
|
666
|
+
<h4 class="name" id="id">
|
|
667
|
+
<a class="href-link" href="#id">#</a>
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
<span class='tag'>readonly</span>
|
|
671
|
+
|
|
672
|
+
|
|
673
|
+
<span class="code-name">
|
|
674
|
+
id
|
|
675
|
+
</span>
|
|
676
|
+
|
|
677
|
+
</h4>
|
|
678
|
+
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
<div class="description">
|
|
683
|
+
<p>符号id</p>
|
|
684
|
+
</div>
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
|
|
688
|
+
|
|
689
|
+
|
|
690
|
+
<dl class="details">
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
|
|
697
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
698
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
699
|
+
<a goto="id" link="Symbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Symbol#id" Symbol.html#id>Symbol#id</a>
|
|
700
|
+
</li></ul></dd>
|
|
701
|
+
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
|
|
710
|
+
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
|
|
719
|
+
|
|
613
720
|
|
|
614
721
|
|
|
615
722
|
|
|
@@ -46,7 +46,7 @@ http://t5.tianditu.com/DataServer?T=vec_w&x={col}&y={row}&l={level}<
|
|
|
46
46
|
1、默认是标准的经纬度裁图坐标系(4326),默认支持的坐标系有地理坐标系和Web墨卡托坐标系<br/>
|
|
47
47
|
2、如果是上述坐标系,但是坐标系的分辨率有所改变,因此不是标准的地理坐标系和Web墨卡托坐标系;或者不是上述坐标系,请自行构造TileInfo、Extent、SpatialReference等参数,来创建图层<br/>
|
|
48
48
|
<br><br>[ES5引入方式]:<br/>
|
|
49
|
-
|
|
49
|
+
zondy.layer.WebTileLayer() <br/>
|
|
50
50
|
[ES6引入方式]:<br/>
|
|
51
51
|
import { WebTileLayer } from "@mapgis/webclient-common" <br/>
|
|
52
52
|
<br/>
|
|
@@ -709,8 +709,8 @@ http://{任意字符串}{col}{任意字符串}{row}{任意字符串}{level}<br/>
|
|
|
709
709
|
|
|
710
710
|
|
|
711
711
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
712
|
-
const { SpatialReference } =
|
|
713
|
-
const { WebTileLayer} =
|
|
712
|
+
const { SpatialReference } = zondy
|
|
713
|
+
const { WebTileLayer} = zondy.layer
|
|
714
714
|
// ES6引入方式
|
|
715
715
|
import { WebTileLayer, SpatialReference } from "@mapgis/webclient-common"
|
|
716
716
|
const webTileLayer = new WebTileLayer({
|
|
@@ -725,7 +725,7 @@ const webTileLayer = new WebTileLayer({
|
|
|
725
725
|
|
|
726
726
|
|
|
727
727
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
728
|
-
const { WebTileLayer} =
|
|
728
|
+
const { WebTileLayer} = zondy.layer
|
|
729
729
|
// ES6引入方式
|
|
730
730
|
import { WebTileLayer } from "@mapgis/webclient-common"
|
|
731
731
|
// 初始化时设置
|
|
@@ -747,7 +747,7 @@ arcgisTileLayer.on('layerview-created', function (result) {
|
|
|
747
747
|
|
|
748
748
|
|
|
749
749
|
<pre class="prettyprint"><code>* // ES5引入方式
|
|
750
|
-
const { WebTileLayer} =
|
|
750
|
+
const { WebTileLayer} = zondy.layer
|
|
751
751
|
// ES6引入方式
|
|
752
752
|
import { WebTileLayer } from "@mapgis/webclient-common"
|
|
753
753
|
// 初始化时设置
|
|
@@ -877,7 +877,7 @@ map.reorder(webTileLayer, '要移动到的index');</code></pre>
|
|
|
877
877
|
|
|
878
878
|
</code>
|
|
879
879
|
</td>
|
|
880
|
-
<td class="name"><code><p
|
|
880
|
+
<td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
|
|
881
881
|
</tr>
|
|
882
882
|
|
|
883
883
|
<tr class="deep-level-0">
|
|
@@ -895,7 +895,7 @@ map.reorder(webTileLayer, '要移动到的index');</code></pre>
|
|
|
895
895
|
|
|
896
896
|
</code>
|
|
897
897
|
</td>
|
|
898
|
-
<td class="name"><code><p
|
|
898
|
+
<td class="name"><code><p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
|
|
899
899
|
</tr>
|
|
900
900
|
|
|
901
901
|
<tr class="deep-level-0">
|
|
@@ -959,7 +959,7 @@ map.reorder(webTileLayer, '要移动到的index');</code></pre>
|
|
|
959
959
|
|
|
960
960
|
<span class="param-type">
|
|
961
961
|
|
|
962
|
-
|
|
962
|
+
<a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
|
|
963
963
|
|
|
964
964
|
</span>
|
|
965
965
|
|
|
@@ -1093,7 +1093,7 @@ map.reorder(webTileLayer, '要移动到的index');</code></pre>
|
|
|
1093
1093
|
|
|
1094
1094
|
</code>
|
|
1095
1095
|
</td>
|
|
1096
|
-
<td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1
|
|
1096
|
+
<td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p></code></td>
|
|
1097
1097
|
</tr>
|
|
1098
1098
|
|
|
1099
1099
|
<tr class="deep-level-0">
|
|
@@ -1186,6 +1186,24 @@ map.reorder(webTileLayer, '要移动到的index');</code></pre>
|
|
|
1186
1186
|
<td class="name"><code><p>图层名称</p></code></td>
|
|
1187
1187
|
</tr>
|
|
1188
1188
|
|
|
1189
|
+
<tr class="deep-level-0">
|
|
1190
|
+
<td class="name"><code><a href="#tokenAttachType">tokenAttachType</a></code></td>
|
|
1191
|
+
<td class="name">
|
|
1192
|
+
<code>
|
|
1193
|
+
|
|
1194
|
+
<span class="param-type">
|
|
1195
|
+
|
|
1196
|
+
String
|
|
1197
|
+
|
|
1198
|
+
</span>
|
|
1199
|
+
|
|
1200
|
+
|
|
1201
|
+
|
|
1202
|
+
</code>
|
|
1203
|
+
</td>
|
|
1204
|
+
<td class="name"><code><p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p></code></td>
|
|
1205
|
+
</tr>
|
|
1206
|
+
|
|
1189
1207
|
<tr class="deep-level-0">
|
|
1190
1208
|
<td class="name"><code><a href="#tokenKey">tokenKey</a></code></td>
|
|
1191
1209
|
<td class="name">
|
|
@@ -1460,7 +1478,7 @@ map.reorder(webTileLayer, '要移动到的index');</code></pre>
|
|
|
1460
1478
|
|
|
1461
1479
|
|
|
1462
1480
|
<div class="description">
|
|
1463
|
-
<p
|
|
1481
|
+
<p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
|
|
1464
1482
|
</div>
|
|
1465
1483
|
|
|
1466
1484
|
|
|
@@ -1497,6 +1515,11 @@ map.reorder(webTileLayer, '要移动到的index');</code></pre>
|
|
|
1497
1515
|
|
|
1498
1516
|
|
|
1499
1517
|
|
|
1518
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1519
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1520
|
+
<li>{}</li>
|
|
1521
|
+
</ul></dd>
|
|
1522
|
+
|
|
1500
1523
|
|
|
1501
1524
|
|
|
1502
1525
|
|
|
@@ -1540,7 +1563,7 @@ map.reorder(webTileLayer, '要移动到的index');</code></pre>
|
|
|
1540
1563
|
|
|
1541
1564
|
|
|
1542
1565
|
<div class="description">
|
|
1543
|
-
<p
|
|
1566
|
+
<p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
|
|
1544
1567
|
</div>
|
|
1545
1568
|
|
|
1546
1569
|
|
|
@@ -1577,6 +1600,11 @@ map.reorder(webTileLayer, '要移动到的index');</code></pre>
|
|
|
1577
1600
|
|
|
1578
1601
|
|
|
1579
1602
|
|
|
1603
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1604
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1605
|
+
<li>{}</li>
|
|
1606
|
+
</ul></dd>
|
|
1607
|
+
|
|
1580
1608
|
|
|
1581
1609
|
|
|
1582
1610
|
|
|
@@ -1843,7 +1871,7 @@ map.reorder(webTileLayer, '要移动到的index');</code></pre>
|
|
|
1843
1871
|
|
|
1844
1872
|
<span class="param-type">
|
|
1845
1873
|
|
|
1846
|
-
|
|
1874
|
+
<a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
|
|
1847
1875
|
|
|
1848
1876
|
</span>
|
|
1849
1877
|
|
|
@@ -2456,7 +2484,7 @@ map.reorder(webTileLayer, '要移动到的index');</code></pre>
|
|
|
2456
2484
|
|
|
2457
2485
|
|
|
2458
2486
|
<div class="description">
|
|
2459
|
-
<p>图层透明度,0到1之间的值,0为完全透明,1
|
|
2487
|
+
<p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p>
|
|
2460
2488
|
</div>
|
|
2461
2489
|
|
|
2462
2490
|
|
|
@@ -2879,6 +2907,86 @@ map.reorder(webTileLayer, '要移动到的index');</code></pre>
|
|
|
2879
2907
|
|
|
2880
2908
|
|
|
2881
2909
|
|
|
2910
|
+
|
|
2911
|
+
|
|
2912
|
+
|
|
2913
|
+
|
|
2914
|
+
|
|
2915
|
+
|
|
2916
|
+
</dl>
|
|
2917
|
+
|
|
2918
|
+
|
|
2919
|
+
|
|
2920
|
+
|
|
2921
|
+
|
|
2922
|
+
</div>
|
|
2923
|
+
|
|
2924
|
+
<div class="member">
|
|
2925
|
+
|
|
2926
|
+
<span class="method-parameter is-pulled-right">
|
|
2927
|
+
<label>类型:</label>
|
|
2928
|
+
|
|
2929
|
+
<span class="param-type">
|
|
2930
|
+
|
|
2931
|
+
String
|
|
2932
|
+
|
|
2933
|
+
</span>
|
|
2934
|
+
|
|
2935
|
+
|
|
2936
|
+
|
|
2937
|
+
</span>
|
|
2938
|
+
|
|
2939
|
+
<h4 class="name" id="tokenAttachType">
|
|
2940
|
+
<a class="href-link" href="#tokenAttachType">#</a>
|
|
2941
|
+
|
|
2942
|
+
<span class="code-name">
|
|
2943
|
+
tokenAttachType
|
|
2944
|
+
</span>
|
|
2945
|
+
|
|
2946
|
+
</h4>
|
|
2947
|
+
|
|
2948
|
+
|
|
2949
|
+
|
|
2950
|
+
|
|
2951
|
+
<div class="description">
|
|
2952
|
+
<p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p>
|
|
2953
|
+
</div>
|
|
2954
|
+
|
|
2955
|
+
|
|
2956
|
+
|
|
2957
|
+
|
|
2958
|
+
|
|
2959
|
+
<dl class="details">
|
|
2960
|
+
|
|
2961
|
+
|
|
2962
|
+
|
|
2963
|
+
|
|
2964
|
+
|
|
2965
|
+
|
|
2966
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
2967
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
2968
|
+
<a goto="tokenAttachType" link="Layer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Layer#tokenAttachType" Layer.html#tokenAttachType>Layer#tokenAttachType</a>
|
|
2969
|
+
</li></ul></dd>
|
|
2970
|
+
|
|
2971
|
+
|
|
2972
|
+
|
|
2973
|
+
|
|
2974
|
+
|
|
2975
|
+
|
|
2976
|
+
|
|
2977
|
+
|
|
2978
|
+
|
|
2979
|
+
|
|
2980
|
+
|
|
2981
|
+
|
|
2982
|
+
|
|
2983
|
+
|
|
2984
|
+
|
|
2985
|
+
|
|
2986
|
+
|
|
2987
|
+
|
|
2988
|
+
|
|
2989
|
+
|
|
2882
2990
|
|
|
2883
2991
|
|
|
2884
2992
|
|
|
@@ -606,7 +606,7 @@ const workflow = WorkFlowServer.createWorkFlow({
|
|
|
606
606
|
|
|
607
607
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
608
608
|
// ES5引入方式
|
|
609
|
-
const { BaseServer } =
|
|
609
|
+
const { BaseServer } = zondy.service
|
|
610
610
|
// ES6引入方式
|
|
611
611
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
612
612
|
let BaseServer = new BaseServer({
|
|
@@ -707,7 +707,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
707
707
|
|
|
708
708
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
709
709
|
// ES5引入方式
|
|
710
|
-
const { BaseServer } =
|
|
710
|
+
const { BaseServer } = zondy.service
|
|
711
711
|
// ES6引入方式
|
|
712
712
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
713
713
|
let BaseServer = new BaseServer({
|
|
@@ -809,7 +809,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
809
809
|
|
|
810
810
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
811
811
|
// ES5引入方式
|
|
812
|
-
const { BaseServer,RequestInterceptor } =
|
|
812
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
813
813
|
// ES6引入方式
|
|
814
814
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
815
815
|
let BaseServer = new BaseServer({
|
|
@@ -918,7 +918,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
918
918
|
<pre class="prettyprint"><code>//设置超时时间
|
|
919
919
|
//初始化AddressServer服务对象
|
|
920
920
|
// ES5引入方式
|
|
921
|
-
const { BaseServer } =
|
|
921
|
+
const { BaseServer } = zondy.service
|
|
922
922
|
// ES6引入方式
|
|
923
923
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
924
924
|
let BaseServer = new BaseServer({
|
|
@@ -1015,7 +1015,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
1015
1015
|
|
|
1016
1016
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1017
1017
|
// ES5引入方式
|
|
1018
|
-
const { BaseServer,ResponseInterceptor } =
|
|
1018
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
1019
1019
|
// ES6引入方式
|
|
1020
1020
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
1021
1021
|
let BaseServer = new BaseServer({
|
|
@@ -1125,8 +1125,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
1125
1125
|
|
|
1126
1126
|
<pre class="prettyprint"><code>//设置token值
|
|
1127
1127
|
// ES5引入方式
|
|
1128
|
-
const { BaseServer } =
|
|
1129
|
-
const { TokenAttachType } =
|
|
1128
|
+
const { BaseServer } = zondy.service
|
|
1129
|
+
const { TokenAttachType } = zondy.enum
|
|
1130
1130
|
// ES6引入方式
|
|
1131
1131
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
1132
1132
|
let BaseServer = new BaseServer({
|
|
@@ -1227,7 +1227,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
1227
1227
|
|
|
1228
1228
|
<pre class="prettyprint"><code>//设置token名
|
|
1229
1229
|
// ES5引入方式
|
|
1230
|
-
const { BaseServer } =
|
|
1230
|
+
const { BaseServer } = zondy.service
|
|
1231
1231
|
// ES6引入方式
|
|
1232
1232
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1233
1233
|
let BaseServer = new BaseServer({
|
|
@@ -1324,7 +1324,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
1324
1324
|
|
|
1325
1325
|
<pre class="prettyprint"><code>//设置token值
|
|
1326
1326
|
// ES5引入方式
|
|
1327
|
-
const { BaseServer } =
|
|
1327
|
+
const { BaseServer } = zondy.service
|
|
1328
1328
|
// ES6引入方式
|
|
1329
1329
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1330
1330
|
let BaseServer = new BaseServer({
|
|
@@ -1421,7 +1421,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
1421
1421
|
|
|
1422
1422
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
1423
1423
|
// ES5引入方式
|
|
1424
|
-
const { BaseServer } =
|
|
1424
|
+
const { BaseServer } = zondy.service
|
|
1425
1425
|
// ES6引入方式
|
|
1426
1426
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1427
1427
|
let BaseServer = new BaseServer({
|
|
@@ -2069,7 +2069,7 @@ BaseServer.url = '新URL';</code></pre>
|
|
|
2069
2069
|
|
|
2070
2070
|
|
|
2071
2071
|
<pre class="prettyprint"><code>workflow.execute({
|
|
2072
|
-
method:
|
|
2072
|
+
method: zondy.enum.FetchMethod.get,
|
|
2073
2073
|
success: function (res) {
|
|
2074
2074
|
console.log("execute: ", res);
|
|
2075
2075
|
},
|
|
@@ -3306,7 +3306,7 @@ BaseServer.url = '新URL';</code></pre>
|
|
|
3306
3306
|
<div class="columns">
|
|
3307
3307
|
|
|
3308
3308
|
<div class='param-desc column is-7'><p>workflow.submit({
|
|
3309
|
-
method:
|
|
3309
|
+
method: zondy.enum.FetchMethod.get,
|
|
3310
3310
|
success: function (res) {
|
|
3311
3311
|
console.log("submit: ", res);
|
|
3312
3312
|
},
|
|
@@ -450,7 +450,7 @@
|
|
|
450
450
|
radius: 0.01,
|
|
451
451
|
});
|
|
452
452
|
workFlowServer600227.execute({
|
|
453
|
-
method:
|
|
453
|
+
method: zondy.enum.FetchMethod.get,
|
|
454
454
|
success: function (res) {
|
|
455
455
|
console.log("execute: ", res);
|
|
456
456
|
},
|
|
@@ -1298,7 +1298,7 @@
|
|
|
1298
1298
|
|
|
1299
1299
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
1300
1300
|
// ES5引入方式
|
|
1301
|
-
const { BaseServer } =
|
|
1301
|
+
const { BaseServer } = zondy.service
|
|
1302
1302
|
// ES6引入方式
|
|
1303
1303
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1304
1304
|
let BaseServer = new BaseServer({
|
|
@@ -1557,7 +1557,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
1557
1557
|
|
|
1558
1558
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
1559
1559
|
// ES5引入方式
|
|
1560
|
-
const { BaseServer } =
|
|
1560
|
+
const { BaseServer } = zondy.service
|
|
1561
1561
|
// ES6引入方式
|
|
1562
1562
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1563
1563
|
let BaseServer = new BaseServer({
|
|
@@ -1884,7 +1884,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
1884
1884
|
|
|
1885
1885
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1886
1886
|
// ES5引入方式
|
|
1887
|
-
const { BaseServer,RequestInterceptor } =
|
|
1887
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
1888
1888
|
// ES6引入方式
|
|
1889
1889
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
1890
1890
|
let BaseServer = new BaseServer({
|
|
@@ -1993,7 +1993,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
1993
1993
|
<pre class="prettyprint"><code>//设置超时时间
|
|
1994
1994
|
//初始化AddressServer服务对象
|
|
1995
1995
|
// ES5引入方式
|
|
1996
|
-
const { BaseServer } =
|
|
1996
|
+
const { BaseServer } = zondy.service
|
|
1997
1997
|
// ES6引入方式
|
|
1998
1998
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1999
1999
|
let BaseServer = new BaseServer({
|
|
@@ -2090,7 +2090,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
2090
2090
|
|
|
2091
2091
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
2092
2092
|
// ES5引入方式
|
|
2093
|
-
const { BaseServer,ResponseInterceptor } =
|
|
2093
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
2094
2094
|
// ES6引入方式
|
|
2095
2095
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
2096
2096
|
let BaseServer = new BaseServer({
|
|
@@ -2500,8 +2500,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
2500
2500
|
|
|
2501
2501
|
<pre class="prettyprint"><code>//设置token值
|
|
2502
2502
|
// ES5引入方式
|
|
2503
|
-
const { BaseServer } =
|
|
2504
|
-
const { TokenAttachType } =
|
|
2503
|
+
const { BaseServer } = zondy.service
|
|
2504
|
+
const { TokenAttachType } = zondy.enum
|
|
2505
2505
|
// ES6引入方式
|
|
2506
2506
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
2507
2507
|
let BaseServer = new BaseServer({
|
|
@@ -2602,7 +2602,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
2602
2602
|
|
|
2603
2603
|
<pre class="prettyprint"><code>//设置token名
|
|
2604
2604
|
// ES5引入方式
|
|
2605
|
-
const { BaseServer } =
|
|
2605
|
+
const { BaseServer } = zondy.service
|
|
2606
2606
|
// ES6引入方式
|
|
2607
2607
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2608
2608
|
let BaseServer = new BaseServer({
|
|
@@ -2699,7 +2699,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
2699
2699
|
|
|
2700
2700
|
<pre class="prettyprint"><code>//设置token值
|
|
2701
2701
|
// ES5引入方式
|
|
2702
|
-
const { BaseServer } =
|
|
2702
|
+
const { BaseServer } = zondy.service
|
|
2703
2703
|
// ES6引入方式
|
|
2704
2704
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2705
2705
|
let BaseServer = new BaseServer({
|
|
@@ -3223,7 +3223,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
3223
3223
|
|
|
3224
3224
|
|
|
3225
3225
|
<pre class="prettyprint"><code>workflow.execute({
|
|
3226
|
-
method:
|
|
3226
|
+
method: zondy.enum.FetchMethod.get,
|
|
3227
3227
|
success: function (res) {
|
|
3228
3228
|
console.log("execute: ", res);
|
|
3229
3229
|
},
|
|
@@ -4475,7 +4475,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
4475
4475
|
<div class="columns">
|
|
4476
4476
|
|
|
4477
4477
|
<div class='param-desc column is-7'><p>workflow.submit({
|
|
4478
|
-
method:
|
|
4478
|
+
method: zondy.enum.FetchMethod.get,
|
|
4479
4479
|
success: function (res) {
|
|
4480
4480
|
console.log("submit: ", res);
|
|
4481
4481
|
},
|
|
@@ -387,7 +387,7 @@
|
|
|
387
387
|
url: "http://localhost:8089/igs/rest/services/workflow/600228/WorkflowServer",
|
|
388
388
|
srcInfo: "gdbp://MapGISLocalPlus/test/sfcls/湖泊",
|
|
389
389
|
desInfo: "gdbp://MapGISLocalPlus/test/sfcls/湖泊_resultClip",
|
|
390
|
-
geometry: new
|
|
390
|
+
geometry: new zondy.geometry.Polygon({
|
|
391
391
|
coordinates: [
|
|
392
392
|
// 外圈
|
|
393
393
|
[
|
|
@@ -406,7 +406,7 @@
|
|
|
406
406
|
tolerance: 0.001,
|
|
407
407
|
});
|
|
408
408
|
workFlowServer600228.execute({
|
|
409
|
-
method:
|
|
409
|
+
method: zondy.enum.FetchMethod.get,
|
|
410
410
|
success: function (res) {
|
|
411
411
|
console.log("execute: ", res);
|
|
412
412
|
},
|
|
@@ -1218,7 +1218,7 @@
|
|
|
1218
1218
|
|
|
1219
1219
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
1220
1220
|
// ES5引入方式
|
|
1221
|
-
const { BaseServer } =
|
|
1221
|
+
const { BaseServer } = zondy.service
|
|
1222
1222
|
// ES6引入方式
|
|
1223
1223
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1224
1224
|
let BaseServer = new BaseServer({
|
|
@@ -1552,7 +1552,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
1552
1552
|
|
|
1553
1553
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
1554
1554
|
// ES5引入方式
|
|
1555
|
-
const { BaseServer } =
|
|
1555
|
+
const { BaseServer } = zondy.service
|
|
1556
1556
|
// ES6引入方式
|
|
1557
1557
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1558
1558
|
let BaseServer = new BaseServer({
|
|
@@ -1804,7 +1804,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
1804
1804
|
|
|
1805
1805
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1806
1806
|
// ES5引入方式
|
|
1807
|
-
const { BaseServer,RequestInterceptor } =
|
|
1807
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
1808
1808
|
// ES6引入方式
|
|
1809
1809
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
1810
1810
|
let BaseServer = new BaseServer({
|
|
@@ -1913,7 +1913,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
1913
1913
|
<pre class="prettyprint"><code>//设置超时时间
|
|
1914
1914
|
//初始化AddressServer服务对象
|
|
1915
1915
|
// ES5引入方式
|
|
1916
|
-
const { BaseServer } =
|
|
1916
|
+
const { BaseServer } = zondy.service
|
|
1917
1917
|
// ES6引入方式
|
|
1918
1918
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1919
1919
|
let BaseServer = new BaseServer({
|
|
@@ -2010,7 +2010,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
2010
2010
|
|
|
2011
2011
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
2012
2012
|
// ES5引入方式
|
|
2013
|
-
const { BaseServer,ResponseInterceptor } =
|
|
2013
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
2014
2014
|
// ES6引入方式
|
|
2015
2015
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
2016
2016
|
let BaseServer = new BaseServer({
|
|
@@ -2195,8 +2195,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
2195
2195
|
|
|
2196
2196
|
<pre class="prettyprint"><code>//设置token值
|
|
2197
2197
|
// ES5引入方式
|
|
2198
|
-
const { BaseServer } =
|
|
2199
|
-
const { TokenAttachType } =
|
|
2198
|
+
const { BaseServer } = zondy.service
|
|
2199
|
+
const { TokenAttachType } = zondy.enum
|
|
2200
2200
|
// ES6引入方式
|
|
2201
2201
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
2202
2202
|
let BaseServer = new BaseServer({
|
|
@@ -2297,7 +2297,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
2297
2297
|
|
|
2298
2298
|
<pre class="prettyprint"><code>//设置token名
|
|
2299
2299
|
// ES5引入方式
|
|
2300
|
-
const { BaseServer } =
|
|
2300
|
+
const { BaseServer } = zondy.service
|
|
2301
2301
|
// ES6引入方式
|
|
2302
2302
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2303
2303
|
let BaseServer = new BaseServer({
|
|
@@ -2394,7 +2394,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
2394
2394
|
|
|
2395
2395
|
<pre class="prettyprint"><code>//设置token值
|
|
2396
2396
|
// ES5引入方式
|
|
2397
|
-
const { BaseServer } =
|
|
2397
|
+
const { BaseServer } = zondy.service
|
|
2398
2398
|
// ES6引入方式
|
|
2399
2399
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2400
2400
|
let BaseServer = new BaseServer({
|
|
@@ -2993,7 +2993,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
2993
2993
|
|
|
2994
2994
|
|
|
2995
2995
|
<pre class="prettyprint"><code>workflow.execute({
|
|
2996
|
-
method:
|
|
2996
|
+
method: zondy.enum.FetchMethod.get,
|
|
2997
2997
|
success: function (res) {
|
|
2998
2998
|
console.log("execute: ", res);
|
|
2999
2999
|
},
|
|
@@ -4245,7 +4245,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
4245
4245
|
<div class="columns">
|
|
4246
4246
|
|
|
4247
4247
|
<div class='param-desc column is-7'><p>workflow.submit({
|
|
4248
|
-
method:
|
|
4248
|
+
method: zondy.enum.FetchMethod.get,
|
|
4249
4249
|
success: function (res) {
|
|
4250
4250
|
console.log("submit: ", res);
|
|
4251
4251
|
},
|