@mapgis/webclient-common 17.2.0 → 17.2.2
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 +21 -3
- package/dist/es5/webclient-common.min.js +5 -5
- package/dist/webclient-common-es6.min.js +6 -6
- 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/ArcGISMapServer.html +10 -10
- package/documention/ArcGISTileLayer.html +5 -5
- package/documention/ArcGISVectorTileLayer.html +7 -7
- package/documention/ArcGISVectorTileServer.html +10 -10
- package/documention/BaseScene.html +7577 -0
- package/documention/BaseServer.html +10 -10
- package/documention/BaseView.html +1 -1
- package/documention/Basemap.html +3 -3
- package/documention/Cesium3DTilesCacheLayer.html +38 -112
- package/documention/Cesium3DTilesServer.html +11 -11
- package/documention/Circle.html +7 -7
- package/documention/ClassBreakRenderer.html +18 -18
- package/documention/ClusterRenderer.html +2 -2
- package/documention/Collection.html +198 -4
- package/documention/Config.html +4 -4
- package/documention/Extent.html +15 -15
- package/documention/ExtrudeSymbol3DLayer.html +2 -2
- package/documention/Feature.html +7 -7
- package/documention/FeatureServer.html +27 -27
- package/documention/FeatureSet.html +7 -7
- package/documention/FillSymbol3DLayer.html +2 -2
- package/documention/Font.html +1 -1
- package/documention/GeoJSONLayer.html +26 -26
- package/documention/Geometry.html +7 -7
- package/documention/GeometryEngine.html +79 -79
- package/documention/GeometryServer.html +30 -30
- package/documention/GraphicsLayer.html +31 -31
- package/documention/GroupLayer.html +2 -2
- package/documention/IGSFeatureLayer.html +25 -25
- package/documention/IGSMapImageLayer.html +47 -49
- package/documention/IGSMapImageSubLayer.html +3 -3
- package/documention/IGSSceneLayer.html +11 -11
- package/documention/IGSTileLayer.html +10 -11
- package/documention/IGSVectorTileLayer.html +33 -63
- package/documention/IGSVectorTileSubLayer.html +5 -4
- package/documention/ISScene.html +1336 -0
- package/documention/ISSceneLayer.html +2028 -0
- package/documention/ISSceneServer.html +2234 -0
- package/documention/ISSceneSubLayer.html +3356 -0
- package/documention/IconSymbol3DLayer.html +4 -4
- package/documention/ImageServer.html +11 -11
- package/documention/LabelClass.html +3 -3
- package/documention/LabelSymbol3D.html +2 -2
- package/documention/LineString.html +10 -10
- package/documention/LineSymbol3D.html +2 -2
- package/documention/LineSymbol3DLayer.html +2 -2
- package/documention/M3DModelCacheLayer.html +12 -12
- package/documention/M3DServer.html +11 -11
- package/documention/Map.html +4 -4
- package/documention/MapGISTextSymbol.html +3 -3
- package/documention/MapServer.html +14 -14
- package/documention/MapView.html +1 -1
- package/documention/MultiLineString.html +13 -13
- package/documention/MultiPoint.html +10 -10
- package/documention/MultiPolygon.html +9 -9
- package/documention/ObjectSymbol3DLayer.html +4 -4
- package/documention/OutStatistic.html +1 -1
- package/documention/PathSymbol3DLayer.html +2 -2
- package/documention/PictureFillSymbol.html +1 -1
- package/documention/PictureMarkerSymbol.html +3 -3
- package/documention/PlotServer.html +10 -10
- package/documention/PoiServer.html +11 -11
- package/documention/Point.html +12 -12
- package/documention/PointSymbol3D.html +3 -3
- package/documention/Polygon.html +14 -14
- package/documention/PolygonSymbol3D.html +2 -2
- package/documention/Projection.html +8 -8
- package/documention/RandomRenderer.html +1 -1
- package/documention/RankRenderer.html +2 -2
- package/documention/ResourceServer.html +150 -150
- package/documention/RootServer.html +11 -11
- package/documention/S3MTilesCacheLayer.html +7726 -0
- package/documention/SceneServer.html +16 -16
- package/documention/SceneView.html +1 -1
- package/documention/SecurityServer.html +12 -12
- package/documention/SimpleFillSymbol.html +3 -3
- package/documention/SimpleLineSymbol.html +3 -3
- package/documention/SimpleMarkerSymbol.html +3 -3
- package/documention/SimpleRenderer.html +9 -9
- package/documention/SizeVariable.html +1 -1
- package/documention/SketchEditor.html +1 -1
- package/documention/SpatialReference.html +1 -1
- package/documention/Symbol.html +1 -1
- package/documention/TerrainCacheLayer.html +1 -1
- package/documention/TerrainServer.html +11 -11
- package/documention/TextSymbol.html +4 -4
- package/documention/TextSymbol3DLayer.html +2 -2
- package/documention/ThemeServer.html +12 -12
- package/documention/TileServer.html +11 -11
- package/documention/UniqueValueRenderer.html +18 -18
- package/documention/VectorTileLayer.html +1 -1
- package/documention/VectorTileServer.html +11 -11
- package/documention/WCSServer.html +10 -10
- package/documention/WFSLayer.html +24 -24
- package/documention/WFSServer.html +11 -11
- package/documention/WMSLayer.html +15 -15
- package/documention/WMSServer.html +11 -11
- package/documention/WMTSLayer.html +10 -10
- package/documention/WMTSServer.html +11 -11
- package/documention/WPSServer.html +10 -10
- package/documention/WebTileLayer.html +5 -5
- 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 +344 -1644
- package/documention/index.html +40 -37
- 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/package.json +2 -1
|
@@ -413,7 +413,7 @@
|
|
|
413
413
|
<pre class="prettyprint"><code>const workFlowServer600233 = WorkFlowServer.createWorkFlow({
|
|
414
414
|
url: "http://localhost:8089/igs/rest/services/workflow/600233/WorkflowServer",
|
|
415
415
|
netClsUrl: "gdbp://MapGISLocalPlus/sample/ds/网络分析/ncls/道路交通网",
|
|
416
|
-
flagGeometry: new
|
|
416
|
+
flagGeometry: new zondy.geometry.MultiPoint({
|
|
417
417
|
coordinates: [
|
|
418
418
|
[114.45731, 38.017986],
|
|
419
419
|
[114.46711, 38.023956],
|
|
@@ -422,7 +422,7 @@
|
|
|
422
422
|
],
|
|
423
423
|
}),
|
|
424
424
|
elementType: 1,
|
|
425
|
-
barrierGeometry: new
|
|
425
|
+
barrierGeometry: new zondy.geometry.MultiPoint({
|
|
426
426
|
coordinates: [
|
|
427
427
|
[114.46147, 38.008148],
|
|
428
428
|
[114.43793, 38.014698],
|
|
@@ -435,7 +435,7 @@
|
|
|
435
435
|
outFormat: "JSON",
|
|
436
436
|
});
|
|
437
437
|
workFlowServer600233.execute({
|
|
438
|
-
method:
|
|
438
|
+
method: zondy.enum.FetchMethod.get,
|
|
439
439
|
success: function (res) {
|
|
440
440
|
console.log("execute: ", res);
|
|
441
441
|
},
|
|
@@ -1340,7 +1340,7 @@
|
|
|
1340
1340
|
|
|
1341
1341
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
1342
1342
|
// ES5引入方式
|
|
1343
|
-
const { BaseServer } =
|
|
1343
|
+
const { BaseServer } = zondy.service
|
|
1344
1344
|
// ES6引入方式
|
|
1345
1345
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1346
1346
|
let BaseServer = new BaseServer({
|
|
@@ -1674,7 +1674,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
1674
1674
|
|
|
1675
1675
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
1676
1676
|
// ES5引入方式
|
|
1677
|
-
const { BaseServer } =
|
|
1677
|
+
const { BaseServer } = zondy.service
|
|
1678
1678
|
// ES6引入方式
|
|
1679
1679
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1680
1680
|
let BaseServer = new BaseServer({
|
|
@@ -2001,7 +2001,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
2001
2001
|
|
|
2002
2002
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
2003
2003
|
// ES5引入方式
|
|
2004
|
-
const { BaseServer,RequestInterceptor } =
|
|
2004
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
2005
2005
|
// ES6引入方式
|
|
2006
2006
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
2007
2007
|
let BaseServer = new BaseServer({
|
|
@@ -2110,7 +2110,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
2110
2110
|
<pre class="prettyprint"><code>//设置超时时间
|
|
2111
2111
|
//初始化AddressServer服务对象
|
|
2112
2112
|
// ES5引入方式
|
|
2113
|
-
const { BaseServer } =
|
|
2113
|
+
const { BaseServer } = zondy.service
|
|
2114
2114
|
// ES6引入方式
|
|
2115
2115
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2116
2116
|
let BaseServer = new BaseServer({
|
|
@@ -2207,7 +2207,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
2207
2207
|
|
|
2208
2208
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
2209
2209
|
// ES5引入方式
|
|
2210
|
-
const { BaseServer,ResponseInterceptor } =
|
|
2210
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
2211
2211
|
// ES6引入方式
|
|
2212
2212
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
2213
2213
|
let BaseServer = new BaseServer({
|
|
@@ -2317,8 +2317,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
2317
2317
|
|
|
2318
2318
|
<pre class="prettyprint"><code>//设置token值
|
|
2319
2319
|
// ES5引入方式
|
|
2320
|
-
const { BaseServer } =
|
|
2321
|
-
const { TokenAttachType } =
|
|
2320
|
+
const { BaseServer } = zondy.service
|
|
2321
|
+
const { TokenAttachType } = zondy.enum
|
|
2322
2322
|
// ES6引入方式
|
|
2323
2323
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
2324
2324
|
let BaseServer = new BaseServer({
|
|
@@ -2419,7 +2419,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
2419
2419
|
|
|
2420
2420
|
<pre class="prettyprint"><code>//设置token名
|
|
2421
2421
|
// ES5引入方式
|
|
2422
|
-
const { BaseServer } =
|
|
2422
|
+
const { BaseServer } = zondy.service
|
|
2423
2423
|
// ES6引入方式
|
|
2424
2424
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2425
2425
|
let BaseServer = new BaseServer({
|
|
@@ -2516,7 +2516,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
2516
2516
|
|
|
2517
2517
|
<pre class="prettyprint"><code>//设置token值
|
|
2518
2518
|
// ES5引入方式
|
|
2519
|
-
const { BaseServer } =
|
|
2519
|
+
const { BaseServer } = zondy.service
|
|
2520
2520
|
// ES6引入方式
|
|
2521
2521
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2522
2522
|
let BaseServer = new BaseServer({
|
|
@@ -3115,7 +3115,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
3115
3115
|
|
|
3116
3116
|
|
|
3117
3117
|
<pre class="prettyprint"><code>workflow.execute({
|
|
3118
|
-
method:
|
|
3118
|
+
method: zondy.enum.FetchMethod.get,
|
|
3119
3119
|
success: function (res) {
|
|
3120
3120
|
console.log("execute: ", res);
|
|
3121
3121
|
},
|
|
@@ -4367,7 +4367,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
4367
4367
|
<div class="columns">
|
|
4368
4368
|
|
|
4369
4369
|
<div class='param-desc column is-7'><p>workflow.submit({
|
|
4370
|
-
method:
|
|
4370
|
+
method: zondy.enum.FetchMethod.get,
|
|
4371
4371
|
success: function (res) {
|
|
4372
4372
|
console.log("submit: ", res);
|
|
4373
4373
|
},
|
|
@@ -282,7 +282,7 @@
|
|
|
282
282
|
crsName: "高斯大地坐标系_西安80_36带3_北",
|
|
283
283
|
});
|
|
284
284
|
workFlowServer600235.execute({
|
|
285
|
-
method:
|
|
285
|
+
method: zondy.enum.FetchMethod.get,
|
|
286
286
|
success: function (res) {
|
|
287
287
|
console.log("execute: ", res);
|
|
288
288
|
},
|
|
@@ -1097,7 +1097,7 @@
|
|
|
1097
1097
|
|
|
1098
1098
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
1099
1099
|
// ES5引入方式
|
|
1100
|
-
const { BaseServer } =
|
|
1100
|
+
const { BaseServer } = zondy.service
|
|
1101
1101
|
// ES6引入方式
|
|
1102
1102
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1103
1103
|
let BaseServer = new BaseServer({
|
|
@@ -1356,7 +1356,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
1356
1356
|
|
|
1357
1357
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
1358
1358
|
// ES5引入方式
|
|
1359
|
-
const { BaseServer } =
|
|
1359
|
+
const { BaseServer } = zondy.service
|
|
1360
1360
|
// ES6引入方式
|
|
1361
1361
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1362
1362
|
let BaseServer = new BaseServer({
|
|
@@ -1458,7 +1458,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
1458
1458
|
|
|
1459
1459
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1460
1460
|
// ES5引入方式
|
|
1461
|
-
const { BaseServer,RequestInterceptor } =
|
|
1461
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
1462
1462
|
// ES6引入方式
|
|
1463
1463
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
1464
1464
|
let BaseServer = new BaseServer({
|
|
@@ -1567,7 +1567,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
1567
1567
|
<pre class="prettyprint"><code>//设置超时时间
|
|
1568
1568
|
//初始化AddressServer服务对象
|
|
1569
1569
|
// ES5引入方式
|
|
1570
|
-
const { BaseServer } =
|
|
1570
|
+
const { BaseServer } = zondy.service
|
|
1571
1571
|
// ES6引入方式
|
|
1572
1572
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1573
1573
|
let BaseServer = new BaseServer({
|
|
@@ -1664,7 +1664,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
1664
1664
|
|
|
1665
1665
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1666
1666
|
// ES5引入方式
|
|
1667
|
-
const { BaseServer,ResponseInterceptor } =
|
|
1667
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
1668
1668
|
// ES6引入方式
|
|
1669
1669
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
1670
1670
|
let BaseServer = new BaseServer({
|
|
@@ -1774,8 +1774,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
1774
1774
|
|
|
1775
1775
|
<pre class="prettyprint"><code>//设置token值
|
|
1776
1776
|
// ES5引入方式
|
|
1777
|
-
const { BaseServer } =
|
|
1778
|
-
const { TokenAttachType } =
|
|
1777
|
+
const { BaseServer } = zondy.service
|
|
1778
|
+
const { TokenAttachType } = zondy.enum
|
|
1779
1779
|
// ES6引入方式
|
|
1780
1780
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
1781
1781
|
let BaseServer = new BaseServer({
|
|
@@ -1876,7 +1876,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
1876
1876
|
|
|
1877
1877
|
<pre class="prettyprint"><code>//设置token名
|
|
1878
1878
|
// ES5引入方式
|
|
1879
|
-
const { BaseServer } =
|
|
1879
|
+
const { BaseServer } = zondy.service
|
|
1880
1880
|
// ES6引入方式
|
|
1881
1881
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1882
1882
|
let BaseServer = new BaseServer({
|
|
@@ -1973,7 +1973,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
1973
1973
|
|
|
1974
1974
|
<pre class="prettyprint"><code>//设置token值
|
|
1975
1975
|
// ES5引入方式
|
|
1976
|
-
const { BaseServer } =
|
|
1976
|
+
const { BaseServer } = zondy.service
|
|
1977
1977
|
// ES6引入方式
|
|
1978
1978
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1979
1979
|
let BaseServer = new BaseServer({
|
|
@@ -2497,7 +2497,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
2497
2497
|
|
|
2498
2498
|
|
|
2499
2499
|
<pre class="prettyprint"><code>workflow.execute({
|
|
2500
|
-
method:
|
|
2500
|
+
method: zondy.enum.FetchMethod.get,
|
|
2501
2501
|
success: function (res) {
|
|
2502
2502
|
console.log("execute: ", res);
|
|
2503
2503
|
},
|
|
@@ -3749,7 +3749,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
3749
3749
|
<div class="columns">
|
|
3750
3750
|
|
|
3751
3751
|
<div class='param-desc column is-7'><p>workflow.submit({
|
|
3752
|
-
method:
|
|
3752
|
+
method: zondy.enum.FetchMethod.get,
|
|
3753
3753
|
success: function (res) {
|
|
3754
3754
|
console.log("submit: ", res);
|
|
3755
3755
|
},
|
|
@@ -413,7 +413,7 @@
|
|
|
413
413
|
<pre class="prettyprint"><code>const workFlowServer600237 = WorkFlowServer.createWorkFlow({
|
|
414
414
|
url: "http://localhost:8089/igs/rest/services/workflow/600237/WorkflowServer",
|
|
415
415
|
srcInfo1: "gdbp://MapGISLocalPlus/test/sfcls/林地-gs",
|
|
416
|
-
geometry: new
|
|
416
|
+
geometry: new zondy.geometry.Polygon({
|
|
417
417
|
coordinates: [
|
|
418
418
|
[
|
|
419
419
|
[11.2203627335275, 532.624659163762],
|
|
@@ -433,7 +433,7 @@
|
|
|
433
433
|
inFormat: "JSON",
|
|
434
434
|
});
|
|
435
435
|
workFlowServer600237.execute({
|
|
436
|
-
method:
|
|
436
|
+
method: zondy.enum.FetchMethod.get,
|
|
437
437
|
success: function (res) {
|
|
438
438
|
console.log("execute: ", res);
|
|
439
439
|
},
|
|
@@ -1299,7 +1299,7 @@
|
|
|
1299
1299
|
|
|
1300
1300
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
1301
1301
|
// ES5引入方式
|
|
1302
|
-
const { BaseServer } =
|
|
1302
|
+
const { BaseServer } = zondy.service
|
|
1303
1303
|
// ES6引入方式
|
|
1304
1304
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1305
1305
|
let BaseServer = new BaseServer({
|
|
@@ -1783,7 +1783,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
1783
1783
|
|
|
1784
1784
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
1785
1785
|
// ES5引入方式
|
|
1786
|
-
const { BaseServer } =
|
|
1786
|
+
const { BaseServer } = zondy.service
|
|
1787
1787
|
// ES6引入方式
|
|
1788
1788
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1789
1789
|
let BaseServer = new BaseServer({
|
|
@@ -2185,7 +2185,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
2185
2185
|
|
|
2186
2186
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
2187
2187
|
// ES5引入方式
|
|
2188
|
-
const { BaseServer,RequestInterceptor } =
|
|
2188
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
2189
2189
|
// ES6引入方式
|
|
2190
2190
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
2191
2191
|
let BaseServer = new BaseServer({
|
|
@@ -2294,7 +2294,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
2294
2294
|
<pre class="prettyprint"><code>//设置超时时间
|
|
2295
2295
|
//初始化AddressServer服务对象
|
|
2296
2296
|
// ES5引入方式
|
|
2297
|
-
const { BaseServer } =
|
|
2297
|
+
const { BaseServer } = zondy.service
|
|
2298
2298
|
// ES6引入方式
|
|
2299
2299
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2300
2300
|
let BaseServer = new BaseServer({
|
|
@@ -2391,7 +2391,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
2391
2391
|
|
|
2392
2392
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
2393
2393
|
// ES5引入方式
|
|
2394
|
-
const { BaseServer,ResponseInterceptor } =
|
|
2394
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
2395
2395
|
// ES6引入方式
|
|
2396
2396
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
2397
2397
|
let BaseServer = new BaseServer({
|
|
@@ -2576,8 +2576,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
2576
2576
|
|
|
2577
2577
|
<pre class="prettyprint"><code>//设置token值
|
|
2578
2578
|
// ES5引入方式
|
|
2579
|
-
const { BaseServer } =
|
|
2580
|
-
const { TokenAttachType } =
|
|
2579
|
+
const { BaseServer } = zondy.service
|
|
2580
|
+
const { TokenAttachType } = zondy.enum
|
|
2581
2581
|
// ES6引入方式
|
|
2582
2582
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
2583
2583
|
let BaseServer = new BaseServer({
|
|
@@ -2678,7 +2678,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
2678
2678
|
|
|
2679
2679
|
<pre class="prettyprint"><code>//设置token名
|
|
2680
2680
|
// ES5引入方式
|
|
2681
|
-
const { BaseServer } =
|
|
2681
|
+
const { BaseServer } = zondy.service
|
|
2682
2682
|
// ES6引入方式
|
|
2683
2683
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2684
2684
|
let BaseServer = new BaseServer({
|
|
@@ -2775,7 +2775,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
2775
2775
|
|
|
2776
2776
|
<pre class="prettyprint"><code>//设置token值
|
|
2777
2777
|
// ES5引入方式
|
|
2778
|
-
const { BaseServer } =
|
|
2778
|
+
const { BaseServer } = zondy.service
|
|
2779
2779
|
// ES6引入方式
|
|
2780
2780
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2781
2781
|
let BaseServer = new BaseServer({
|
|
@@ -3299,7 +3299,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
3299
3299
|
|
|
3300
3300
|
|
|
3301
3301
|
<pre class="prettyprint"><code>workflow.execute({
|
|
3302
|
-
method:
|
|
3302
|
+
method: zondy.enum.FetchMethod.get,
|
|
3303
3303
|
success: function (res) {
|
|
3304
3304
|
console.log("execute: ", res);
|
|
3305
3305
|
},
|
|
@@ -4551,7 +4551,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
4551
4551
|
<div class="columns">
|
|
4552
4552
|
|
|
4553
4553
|
<div class='param-desc column is-7'><p>workflow.submit({
|
|
4554
|
-
method:
|
|
4554
|
+
method: zondy.enum.FetchMethod.get,
|
|
4555
4555
|
success: function (res) {
|
|
4556
4556
|
console.log("submit: ", res);
|
|
4557
4557
|
},
|
|
@@ -437,16 +437,16 @@
|
|
|
437
437
|
<h5>示例</h5>
|
|
438
438
|
|
|
439
439
|
|
|
440
|
-
<pre class="prettyprint"><code>const attStrct = new
|
|
440
|
+
<pre class="prettyprint"><code>const attStrct = new zondy.object.CAttStruct({
|
|
441
441
|
FldName: ["ID", "面积", "周长", "LayerID"],
|
|
442
442
|
FldNumber: 4,
|
|
443
443
|
FldType: ["FldLong", "FldDouble", "FldDouble", "FldLong"],
|
|
444
444
|
});
|
|
445
|
-
const valuesRow = new
|
|
445
|
+
const valuesRow = new zondy.object.CAttDataRow([0, 62.566714, 50.803211, 0], 1);
|
|
446
446
|
const workFlowServer600238 = WorkFlowServer.createWorkFlow({
|
|
447
447
|
url: "http://localhost:8089/igs/rest/services/workflow/600238/WorkflowServer",
|
|
448
448
|
geometrys: [
|
|
449
|
-
new
|
|
449
|
+
new zondy.geometry.Polygon({
|
|
450
450
|
coordinates: [
|
|
451
451
|
[
|
|
452
452
|
[11.2203627335275, 532.624659163762],
|
|
@@ -466,7 +466,7 @@
|
|
|
466
466
|
inFormat: "JSON",
|
|
467
467
|
});
|
|
468
468
|
workFlowServer600238.execute({
|
|
469
|
-
method:
|
|
469
|
+
method: zondy.enum.FetchMethod.get,
|
|
470
470
|
success: function (res) {
|
|
471
471
|
console.log("execute: ", res);
|
|
472
472
|
},
|
|
@@ -1557,7 +1557,7 @@
|
|
|
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({
|
|
@@ -1816,7 +1816,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
1816
1816
|
|
|
1817
1817
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
1818
1818
|
// ES5引入方式
|
|
1819
|
-
const { BaseServer } =
|
|
1819
|
+
const { BaseServer } = zondy.service
|
|
1820
1820
|
// ES6引入方式
|
|
1821
1821
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1822
1822
|
let BaseServer = new BaseServer({
|
|
@@ -2143,7 +2143,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
2143
2143
|
|
|
2144
2144
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
2145
2145
|
// ES5引入方式
|
|
2146
|
-
const { BaseServer,RequestInterceptor } =
|
|
2146
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
2147
2147
|
// ES6引入方式
|
|
2148
2148
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
2149
2149
|
let BaseServer = new BaseServer({
|
|
@@ -2252,7 +2252,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
2252
2252
|
<pre class="prettyprint"><code>//设置超时时间
|
|
2253
2253
|
//初始化AddressServer服务对象
|
|
2254
2254
|
// ES5引入方式
|
|
2255
|
-
const { BaseServer } =
|
|
2255
|
+
const { BaseServer } = zondy.service
|
|
2256
2256
|
// ES6引入方式
|
|
2257
2257
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2258
2258
|
let BaseServer = new BaseServer({
|
|
@@ -2349,7 +2349,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
2349
2349
|
|
|
2350
2350
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
2351
2351
|
// ES5引入方式
|
|
2352
|
-
const { BaseServer,ResponseInterceptor } =
|
|
2352
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
2353
2353
|
// ES6引入方式
|
|
2354
2354
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
2355
2355
|
let BaseServer = new BaseServer({
|
|
@@ -2534,8 +2534,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
2534
2534
|
|
|
2535
2535
|
<pre class="prettyprint"><code>//设置token值
|
|
2536
2536
|
// ES5引入方式
|
|
2537
|
-
const { BaseServer } =
|
|
2538
|
-
const { TokenAttachType } =
|
|
2537
|
+
const { BaseServer } = zondy.service
|
|
2538
|
+
const { TokenAttachType } = zondy.enum
|
|
2539
2539
|
// ES6引入方式
|
|
2540
2540
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
2541
2541
|
let BaseServer = new BaseServer({
|
|
@@ -2636,7 +2636,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
2636
2636
|
|
|
2637
2637
|
<pre class="prettyprint"><code>//设置token名
|
|
2638
2638
|
// ES5引入方式
|
|
2639
|
-
const { BaseServer } =
|
|
2639
|
+
const { BaseServer } = zondy.service
|
|
2640
2640
|
// ES6引入方式
|
|
2641
2641
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2642
2642
|
let BaseServer = new BaseServer({
|
|
@@ -2733,7 +2733,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
2733
2733
|
|
|
2734
2734
|
<pre class="prettyprint"><code>//设置token值
|
|
2735
2735
|
// ES5引入方式
|
|
2736
|
-
const { BaseServer } =
|
|
2736
|
+
const { BaseServer } = zondy.service
|
|
2737
2737
|
// ES6引入方式
|
|
2738
2738
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2739
2739
|
let BaseServer = new BaseServer({
|
|
@@ -3332,7 +3332,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
3332
3332
|
|
|
3333
3333
|
|
|
3334
3334
|
<pre class="prettyprint"><code>workflow.execute({
|
|
3335
|
-
method:
|
|
3335
|
+
method: zondy.enum.FetchMethod.get,
|
|
3336
3336
|
success: function (res) {
|
|
3337
3337
|
console.log("execute: ", res);
|
|
3338
3338
|
},
|
|
@@ -4584,7 +4584,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
4584
4584
|
<div class="columns">
|
|
4585
4585
|
|
|
4586
4586
|
<div class='param-desc column is-7'><p>workflow.submit({
|
|
4587
|
-
method:
|
|
4587
|
+
method: zondy.enum.FetchMethod.get,
|
|
4588
4588
|
success: function (res) {
|
|
4589
4589
|
console.log("submit: ", res);
|
|
4590
4590
|
},
|
|
@@ -410,20 +410,20 @@
|
|
|
410
410
|
<h5>示例</h5>
|
|
411
411
|
|
|
412
412
|
|
|
413
|
-
<pre class="prettyprint"><code>const attStrct1 = new
|
|
413
|
+
<pre class="prettyprint"><code>const attStrct1 = new zondy.object.CAttStruct({
|
|
414
414
|
FldName: ["ID", "面积", "周长", "LayerID"],
|
|
415
415
|
FldNumber: 4,
|
|
416
416
|
FldType: ["FldLong", "FldDouble", "FldDouble", "FldLong"],
|
|
417
417
|
});
|
|
418
418
|
//实例化CAttDataRow类
|
|
419
|
-
const valuesRow1 = new
|
|
419
|
+
const valuesRow1 = new zondy.object.CAttDataRow(
|
|
420
420
|
[0, 62.566714, 50.803211, 0],
|
|
421
421
|
1
|
|
422
422
|
);
|
|
423
|
-
const workFlowServer600239 = new
|
|
423
|
+
const workFlowServer600239 = new zondy.service.WorkFlowServer600239({
|
|
424
424
|
url: "http://localhost:8089/igs/rest/services/workflow/600239/WorkflowServer",
|
|
425
425
|
geometrys: [
|
|
426
|
-
new
|
|
426
|
+
new zondy.geometry.Polygon({
|
|
427
427
|
coordinates: [
|
|
428
428
|
[
|
|
429
429
|
[11.2203627335275, 532.624659163762],
|
|
@@ -444,7 +444,7 @@
|
|
|
444
444
|
inFormat: "JSON",
|
|
445
445
|
});
|
|
446
446
|
workFlowServer600239.execute({
|
|
447
|
-
method:
|
|
447
|
+
method: zondy.enum.FetchMethod.get,
|
|
448
448
|
success: function (res) {
|
|
449
449
|
console.log("execute: ", res);
|
|
450
450
|
},
|
|
@@ -1145,7 +1145,7 @@
|
|
|
1145
1145
|
|
|
1146
1146
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
1147
1147
|
// ES5引入方式
|
|
1148
|
-
const { BaseServer } =
|
|
1148
|
+
const { BaseServer } = zondy.service
|
|
1149
1149
|
// ES6引入方式
|
|
1150
1150
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1151
1151
|
let BaseServer = new BaseServer({
|
|
@@ -1404,7 +1404,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
1404
1404
|
|
|
1405
1405
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
1406
1406
|
// ES5引入方式
|
|
1407
|
-
const { BaseServer } =
|
|
1407
|
+
const { BaseServer } = zondy.service
|
|
1408
1408
|
// ES6引入方式
|
|
1409
1409
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1410
1410
|
let BaseServer = new BaseServer({
|
|
@@ -1731,7 +1731,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
1731
1731
|
|
|
1732
1732
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1733
1733
|
// ES5引入方式
|
|
1734
|
-
const { BaseServer,RequestInterceptor } =
|
|
1734
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
1735
1735
|
// ES6引入方式
|
|
1736
1736
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
1737
1737
|
let BaseServer = new BaseServer({
|
|
@@ -1840,7 +1840,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
1840
1840
|
<pre class="prettyprint"><code>//设置超时时间
|
|
1841
1841
|
//初始化AddressServer服务对象
|
|
1842
1842
|
// ES5引入方式
|
|
1843
|
-
const { BaseServer } =
|
|
1843
|
+
const { BaseServer } = zondy.service
|
|
1844
1844
|
// ES6引入方式
|
|
1845
1845
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1846
1846
|
let BaseServer = new BaseServer({
|
|
@@ -1937,7 +1937,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
1937
1937
|
|
|
1938
1938
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1939
1939
|
// ES5引入方式
|
|
1940
|
-
const { BaseServer,ResponseInterceptor } =
|
|
1940
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
1941
1941
|
// ES6引入方式
|
|
1942
1942
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
1943
1943
|
let BaseServer = new BaseServer({
|
|
@@ -2047,8 +2047,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
2047
2047
|
|
|
2048
2048
|
<pre class="prettyprint"><code>//设置token值
|
|
2049
2049
|
// ES5引入方式
|
|
2050
|
-
const { BaseServer } =
|
|
2051
|
-
const { TokenAttachType } =
|
|
2050
|
+
const { BaseServer } = zondy.service
|
|
2051
|
+
const { TokenAttachType } = zondy.enum
|
|
2052
2052
|
// ES6引入方式
|
|
2053
2053
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
2054
2054
|
let BaseServer = new BaseServer({
|
|
@@ -2149,7 +2149,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
2149
2149
|
|
|
2150
2150
|
<pre class="prettyprint"><code>//设置token名
|
|
2151
2151
|
// ES5引入方式
|
|
2152
|
-
const { BaseServer } =
|
|
2152
|
+
const { BaseServer } = zondy.service
|
|
2153
2153
|
// ES6引入方式
|
|
2154
2154
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2155
2155
|
let BaseServer = new BaseServer({
|
|
@@ -2246,7 +2246,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
2246
2246
|
|
|
2247
2247
|
<pre class="prettyprint"><code>//设置token值
|
|
2248
2248
|
// ES5引入方式
|
|
2249
|
-
const { BaseServer } =
|
|
2249
|
+
const { BaseServer } = zondy.service
|
|
2250
2250
|
// ES6引入方式
|
|
2251
2251
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2252
2252
|
let BaseServer = new BaseServer({
|
|
@@ -2845,7 +2845,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
2845
2845
|
|
|
2846
2846
|
|
|
2847
2847
|
<pre class="prettyprint"><code>workflow.execute({
|
|
2848
|
-
method:
|
|
2848
|
+
method: zondy.enum.FetchMethod.get,
|
|
2849
2849
|
success: function (res) {
|
|
2850
2850
|
console.log("execute: ", res);
|
|
2851
2851
|
},
|
|
@@ -4097,7 +4097,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
4097
4097
|
<div class="columns">
|
|
4098
4098
|
|
|
4099
4099
|
<div class='param-desc column is-7'><p>workflow.submit({
|
|
4100
|
-
method:
|
|
4100
|
+
method: zondy.enum.FetchMethod.get,
|
|
4101
4101
|
success: function (res) {
|
|
4102
4102
|
console.log("submit: ", res);
|
|
4103
4103
|
},
|