@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
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
|
|
209
209
|
<pre class="prettyprint"><code>//初始化TerrainServer服务对象
|
|
210
210
|
// ES5引入方式
|
|
211
|
-
const { TerrainServer } =
|
|
211
|
+
const { TerrainServer } = zondy.service
|
|
212
212
|
// ES6引入方式
|
|
213
213
|
import { TerrainServer } from "@mapgis/webclient-common"
|
|
214
214
|
terrainServer = new TerrainServer({
|
|
@@ -613,7 +613,7 @@ import { TerrainServer } from "@mapgis/webclient-common"
|
|
|
613
613
|
|
|
614
614
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
615
615
|
// ES5引入方式
|
|
616
|
-
const { BaseServer } =
|
|
616
|
+
const { BaseServer } = zondy.service
|
|
617
617
|
// ES6引入方式
|
|
618
618
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
619
619
|
let BaseServer = new BaseServer({
|
|
@@ -714,7 +714,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
714
714
|
|
|
715
715
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
716
716
|
// ES5引入方式
|
|
717
|
-
const { BaseServer } =
|
|
717
|
+
const { BaseServer } = zondy.service
|
|
718
718
|
// ES6引入方式
|
|
719
719
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
720
720
|
let BaseServer = new BaseServer({
|
|
@@ -816,7 +816,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
816
816
|
|
|
817
817
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
818
818
|
// ES5引入方式
|
|
819
|
-
const { BaseServer,RequestInterceptor } =
|
|
819
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
820
820
|
// ES6引入方式
|
|
821
821
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
822
822
|
let BaseServer = new BaseServer({
|
|
@@ -925,7 +925,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
925
925
|
<pre class="prettyprint"><code>//设置超时时间
|
|
926
926
|
//初始化AddressServer服务对象
|
|
927
927
|
// ES5引入方式
|
|
928
|
-
const { BaseServer } =
|
|
928
|
+
const { BaseServer } = zondy.service
|
|
929
929
|
// ES6引入方式
|
|
930
930
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
931
931
|
let BaseServer = new BaseServer({
|
|
@@ -1022,7 +1022,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
1022
1022
|
|
|
1023
1023
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1024
1024
|
// ES5引入方式
|
|
1025
|
-
const { BaseServer,ResponseInterceptor } =
|
|
1025
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
1026
1026
|
// ES6引入方式
|
|
1027
1027
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
1028
1028
|
let BaseServer = new BaseServer({
|
|
@@ -1132,8 +1132,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
1132
1132
|
|
|
1133
1133
|
<pre class="prettyprint"><code>//设置token值
|
|
1134
1134
|
// ES5引入方式
|
|
1135
|
-
const { BaseServer } =
|
|
1136
|
-
const { TokenAttachType } =
|
|
1135
|
+
const { BaseServer } = zondy.service
|
|
1136
|
+
const { TokenAttachType } = zondy.enum
|
|
1137
1137
|
// ES6引入方式
|
|
1138
1138
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
1139
1139
|
let BaseServer = new BaseServer({
|
|
@@ -1234,7 +1234,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
1234
1234
|
|
|
1235
1235
|
<pre class="prettyprint"><code>//设置token名
|
|
1236
1236
|
// ES5引入方式
|
|
1237
|
-
const { BaseServer } =
|
|
1237
|
+
const { BaseServer } = zondy.service
|
|
1238
1238
|
// ES6引入方式
|
|
1239
1239
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1240
1240
|
let BaseServer = new BaseServer({
|
|
@@ -1331,7 +1331,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
1331
1331
|
|
|
1332
1332
|
<pre class="prettyprint"><code>//设置token值
|
|
1333
1333
|
// ES5引入方式
|
|
1334
|
-
const { BaseServer } =
|
|
1334
|
+
const { BaseServer } = zondy.service
|
|
1335
1335
|
// ES6引入方式
|
|
1336
1336
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1337
1337
|
let BaseServer = new BaseServer({
|
|
@@ -1428,7 +1428,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
1428
1428
|
|
|
1429
1429
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
1430
1430
|
// ES5引入方式
|
|
1431
|
-
const { BaseServer } =
|
|
1431
|
+
const { BaseServer } = zondy.service
|
|
1432
1432
|
// ES6引入方式
|
|
1433
1433
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1434
1434
|
let BaseServer = new BaseServer({
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<div class="description">
|
|
38
38
|
<p>文本符号,支持点几何对象,参考示例:<a href='#new-TextSymbol'>[创建文本样式]</a>
|
|
39
39
|
<br><br>[ES5引入方式]:<br/>
|
|
40
|
-
|
|
40
|
+
zondy.symbol.TextSymbol() <br/>
|
|
41
41
|
[ES6引入方式]:<br/>
|
|
42
42
|
import { TextSymbol } from "@mapgis/webclient-common" <br/>
|
|
43
43
|
<br/></p>
|
|
@@ -255,7 +255,7 @@ import { TextSymbol } from "@mapgis/webclient-common" <br/>
|
|
|
255
255
|
|
|
256
256
|
<td class="default">
|
|
257
257
|
|
|
258
|
-
New
|
|
258
|
+
New zondy.Color(0,0,0)
|
|
259
259
|
|
|
260
260
|
</td>
|
|
261
261
|
|
|
@@ -733,8 +733,8 @@ import { TextSymbol } from "@mapgis/webclient-common" <br/>
|
|
|
733
733
|
|
|
734
734
|
|
|
735
735
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
736
|
-
const { TextSymbol } =
|
|
737
|
-
const { TextSymbol, Color } =
|
|
736
|
+
const { TextSymbol } = zondy.symbol
|
|
737
|
+
const { TextSymbol, Color } = zondy
|
|
738
738
|
// ES6引入方式
|
|
739
739
|
import { TextSymbol, Color } from "@mapgis/webclient-common"
|
|
740
740
|
const textSymbol = new TextSymbol({
|
|
@@ -983,6 +983,24 @@ const textSymbol = new TextSymbol({
|
|
|
983
983
|
<td class="name"><code><p>水平方向</p></code></td>
|
|
984
984
|
</tr>
|
|
985
985
|
|
|
986
|
+
<tr class="deep-level-0">
|
|
987
|
+
<td class="name"><code><a href="#id">id</a></code></td>
|
|
988
|
+
<td class="name">
|
|
989
|
+
<code>
|
|
990
|
+
|
|
991
|
+
<span class="param-type">
|
|
992
|
+
|
|
993
|
+
String
|
|
994
|
+
|
|
995
|
+
</span>
|
|
996
|
+
|
|
997
|
+
|
|
998
|
+
|
|
999
|
+
</code>
|
|
1000
|
+
</td>
|
|
1001
|
+
<td class="name"><code><p>符号id</p></code></td>
|
|
1002
|
+
</tr>
|
|
1003
|
+
|
|
986
1004
|
<tr class="deep-level-0">
|
|
987
1005
|
<td class="name"><code><a href="#kerning">kerning</a></code></td>
|
|
988
1006
|
<td class="name">
|
|
@@ -1596,6 +1614,11 @@ const textSymbol = new TextSymbol({
|
|
|
1596
1614
|
|
|
1597
1615
|
|
|
1598
1616
|
|
|
1617
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1618
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1619
|
+
<li>{}</li>
|
|
1620
|
+
</ul></dd>
|
|
1621
|
+
|
|
1599
1622
|
|
|
1600
1623
|
|
|
1601
1624
|
|
|
@@ -1892,6 +1915,90 @@ const textSymbol = new TextSymbol({
|
|
|
1892
1915
|
|
|
1893
1916
|
|
|
1894
1917
|
|
|
1918
|
+
|
|
1919
|
+
|
|
1920
|
+
|
|
1921
|
+
|
|
1922
|
+
|
|
1923
|
+
|
|
1924
|
+
|
|
1925
|
+
|
|
1926
|
+
|
|
1927
|
+
|
|
1928
|
+
|
|
1929
|
+
</dl>
|
|
1930
|
+
|
|
1931
|
+
|
|
1932
|
+
|
|
1933
|
+
|
|
1934
|
+
|
|
1935
|
+
</div>
|
|
1936
|
+
|
|
1937
|
+
<div class="member">
|
|
1938
|
+
|
|
1939
|
+
<span class="method-parameter is-pulled-right">
|
|
1940
|
+
<label>类型:</label>
|
|
1941
|
+
|
|
1942
|
+
<span class="param-type">
|
|
1943
|
+
|
|
1944
|
+
String
|
|
1945
|
+
|
|
1946
|
+
</span>
|
|
1947
|
+
|
|
1948
|
+
|
|
1949
|
+
|
|
1950
|
+
</span>
|
|
1951
|
+
|
|
1952
|
+
<h4 class="name" id="id">
|
|
1953
|
+
<a class="href-link" href="#id">#</a>
|
|
1954
|
+
|
|
1955
|
+
|
|
1956
|
+
<span class='tag'>readonly</span>
|
|
1957
|
+
|
|
1958
|
+
|
|
1959
|
+
<span class="code-name">
|
|
1960
|
+
id
|
|
1961
|
+
</span>
|
|
1962
|
+
|
|
1963
|
+
</h4>
|
|
1964
|
+
|
|
1965
|
+
|
|
1966
|
+
|
|
1967
|
+
|
|
1968
|
+
<div class="description">
|
|
1969
|
+
<p>符号id</p>
|
|
1970
|
+
</div>
|
|
1971
|
+
|
|
1972
|
+
|
|
1973
|
+
|
|
1974
|
+
|
|
1975
|
+
|
|
1976
|
+
<dl class="details">
|
|
1977
|
+
|
|
1978
|
+
|
|
1979
|
+
|
|
1980
|
+
|
|
1981
|
+
|
|
1982
|
+
|
|
1983
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
1984
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
1985
|
+
<a goto="id" link="Symbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Symbol#id" Symbol.html#id>Symbol#id</a>
|
|
1986
|
+
</li></ul></dd>
|
|
1987
|
+
|
|
1988
|
+
|
|
1989
|
+
|
|
1990
|
+
|
|
1991
|
+
|
|
1992
|
+
|
|
1993
|
+
|
|
1994
|
+
|
|
1995
|
+
|
|
1996
|
+
|
|
1997
|
+
|
|
1998
|
+
|
|
1999
|
+
|
|
2000
|
+
|
|
2001
|
+
|
|
1895
2002
|
|
|
1896
2003
|
|
|
1897
2004
|
|
|
@@ -481,8 +481,8 @@ ColorMaterial: 纯色材质,通过设置纯色材质来设置文字颜色</p><
|
|
|
481
481
|
|
|
482
482
|
|
|
483
483
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
484
|
-
const { Color } =
|
|
485
|
-
const { TextSymbol3DLayer, ColorMaterial } =
|
|
484
|
+
const { Color } = zondy
|
|
485
|
+
const { TextSymbol3DLayer, ColorMaterial } = zondy.symbol
|
|
486
486
|
// ES6引入方式
|
|
487
487
|
import { TextSymbol3DLayer, ColorMaterial, Color } from "@mapgis/webclient-common"
|
|
488
488
|
|
|
@@ -654,6 +654,24 @@ const symbol = new TextSymbol3DLayer({
|
|
|
654
654
|
<td class="name"><code><p>文字水平对齐方式</p></code></td>
|
|
655
655
|
</tr>
|
|
656
656
|
|
|
657
|
+
<tr class="deep-level-0">
|
|
658
|
+
<td class="name"><code><a href="#id">id</a></code></td>
|
|
659
|
+
<td class="name">
|
|
660
|
+
<code>
|
|
661
|
+
|
|
662
|
+
<span class="param-type">
|
|
663
|
+
|
|
664
|
+
String
|
|
665
|
+
|
|
666
|
+
</span>
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
</code>
|
|
671
|
+
</td>
|
|
672
|
+
<td class="name"><code><p>符号id</p></code></td>
|
|
673
|
+
</tr>
|
|
674
|
+
|
|
657
675
|
<tr class="deep-level-0">
|
|
658
676
|
<td class="name"><code><a href="#lineHeight">lineHeight</a></code></td>
|
|
659
677
|
<td class="name">
|
|
@@ -1063,6 +1081,11 @@ const symbol = new TextSymbol3DLayer({
|
|
|
1063
1081
|
|
|
1064
1082
|
|
|
1065
1083
|
|
|
1084
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1085
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1086
|
+
<li>{}</li>
|
|
1087
|
+
</ul></dd>
|
|
1088
|
+
|
|
1066
1089
|
|
|
1067
1090
|
|
|
1068
1091
|
|
|
@@ -1209,6 +1232,90 @@ const symbol = new TextSymbol3DLayer({
|
|
|
1209
1232
|
|
|
1210
1233
|
|
|
1211
1234
|
|
|
1235
|
+
|
|
1236
|
+
|
|
1237
|
+
|
|
1238
|
+
|
|
1239
|
+
|
|
1240
|
+
|
|
1241
|
+
|
|
1242
|
+
|
|
1243
|
+
|
|
1244
|
+
|
|
1245
|
+
|
|
1246
|
+
</dl>
|
|
1247
|
+
|
|
1248
|
+
|
|
1249
|
+
|
|
1250
|
+
|
|
1251
|
+
|
|
1252
|
+
</div>
|
|
1253
|
+
|
|
1254
|
+
<div class="member">
|
|
1255
|
+
|
|
1256
|
+
<span class="method-parameter is-pulled-right">
|
|
1257
|
+
<label>类型:</label>
|
|
1258
|
+
|
|
1259
|
+
<span class="param-type">
|
|
1260
|
+
|
|
1261
|
+
String
|
|
1262
|
+
|
|
1263
|
+
</span>
|
|
1264
|
+
|
|
1265
|
+
|
|
1266
|
+
|
|
1267
|
+
</span>
|
|
1268
|
+
|
|
1269
|
+
<h4 class="name" id="id">
|
|
1270
|
+
<a class="href-link" href="#id">#</a>
|
|
1271
|
+
|
|
1272
|
+
|
|
1273
|
+
<span class='tag'>readonly</span>
|
|
1274
|
+
|
|
1275
|
+
|
|
1276
|
+
<span class="code-name">
|
|
1277
|
+
id
|
|
1278
|
+
</span>
|
|
1279
|
+
|
|
1280
|
+
</h4>
|
|
1281
|
+
|
|
1282
|
+
|
|
1283
|
+
|
|
1284
|
+
|
|
1285
|
+
<div class="description">
|
|
1286
|
+
<p>符号id</p>
|
|
1287
|
+
</div>
|
|
1288
|
+
|
|
1289
|
+
|
|
1290
|
+
|
|
1291
|
+
|
|
1292
|
+
|
|
1293
|
+
<dl class="details">
|
|
1294
|
+
|
|
1295
|
+
|
|
1296
|
+
|
|
1297
|
+
|
|
1298
|
+
|
|
1299
|
+
|
|
1300
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
1301
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
1302
|
+
<a goto="id" link="Symbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Symbol#id" Symbol.html#id>Symbol#id</a>
|
|
1303
|
+
</li></ul></dd>
|
|
1304
|
+
|
|
1305
|
+
|
|
1306
|
+
|
|
1307
|
+
|
|
1308
|
+
|
|
1309
|
+
|
|
1310
|
+
|
|
1311
|
+
|
|
1312
|
+
|
|
1313
|
+
|
|
1314
|
+
|
|
1315
|
+
|
|
1316
|
+
|
|
1317
|
+
|
|
1318
|
+
|
|
1212
1319
|
|
|
1213
1320
|
|
|
1214
1321
|
|
|
@@ -195,11 +195,11 @@
|
|
|
195
195
|
|
|
196
196
|
|
|
197
197
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
198
|
-
const { ThemeServer } =
|
|
198
|
+
const { ThemeServer } = zondy.service
|
|
199
199
|
// ES6引入方式
|
|
200
200
|
import { ThemeServer } from "@mapgis/webclient-common"
|
|
201
201
|
const themeServer = new ThemeServer({
|
|
202
|
-
url: 'http://
|
|
202
|
+
url: 'http://192.168.82.89:6163/igs/rest/theme/Hubei4326'
|
|
203
203
|
});</code></pre>
|
|
204
204
|
|
|
205
205
|
|
|
@@ -599,7 +599,7 @@ const themeServer = new ThemeServer({
|
|
|
599
599
|
|
|
600
600
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
601
601
|
// ES5引入方式
|
|
602
|
-
const { BaseServer } =
|
|
602
|
+
const { BaseServer } = zondy.service
|
|
603
603
|
// ES6引入方式
|
|
604
604
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
605
605
|
let BaseServer = new BaseServer({
|
|
@@ -700,7 +700,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
700
700
|
|
|
701
701
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
702
702
|
// ES5引入方式
|
|
703
|
-
const { BaseServer } =
|
|
703
|
+
const { BaseServer } = zondy.service
|
|
704
704
|
// ES6引入方式
|
|
705
705
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
706
706
|
let BaseServer = new BaseServer({
|
|
@@ -802,7 +802,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
802
802
|
|
|
803
803
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
804
804
|
// ES5引入方式
|
|
805
|
-
const { BaseServer,RequestInterceptor } =
|
|
805
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
806
806
|
// ES6引入方式
|
|
807
807
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
808
808
|
let BaseServer = new BaseServer({
|
|
@@ -911,7 +911,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
911
911
|
<pre class="prettyprint"><code>//设置超时时间
|
|
912
912
|
//初始化AddressServer服务对象
|
|
913
913
|
// ES5引入方式
|
|
914
|
-
const { BaseServer } =
|
|
914
|
+
const { BaseServer } = zondy.service
|
|
915
915
|
// ES6引入方式
|
|
916
916
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
917
917
|
let BaseServer = new BaseServer({
|
|
@@ -1008,7 +1008,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
1008
1008
|
|
|
1009
1009
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1010
1010
|
// ES5引入方式
|
|
1011
|
-
const { BaseServer,ResponseInterceptor } =
|
|
1011
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
1012
1012
|
// ES6引入方式
|
|
1013
1013
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
1014
1014
|
let BaseServer = new BaseServer({
|
|
@@ -1118,8 +1118,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
1118
1118
|
|
|
1119
1119
|
<pre class="prettyprint"><code>//设置token值
|
|
1120
1120
|
// ES5引入方式
|
|
1121
|
-
const { BaseServer } =
|
|
1122
|
-
const { TokenAttachType } =
|
|
1121
|
+
const { BaseServer } = zondy.service
|
|
1122
|
+
const { TokenAttachType } = zondy.enum
|
|
1123
1123
|
// ES6引入方式
|
|
1124
1124
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
1125
1125
|
let BaseServer = new BaseServer({
|
|
@@ -1220,7 +1220,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
1220
1220
|
|
|
1221
1221
|
<pre class="prettyprint"><code>//设置token名
|
|
1222
1222
|
// ES5引入方式
|
|
1223
|
-
const { BaseServer } =
|
|
1223
|
+
const { BaseServer } = zondy.service
|
|
1224
1224
|
// ES6引入方式
|
|
1225
1225
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1226
1226
|
let BaseServer = new BaseServer({
|
|
@@ -1317,7 +1317,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
1317
1317
|
|
|
1318
1318
|
<pre class="prettyprint"><code>//设置token值
|
|
1319
1319
|
// ES5引入方式
|
|
1320
|
-
const { BaseServer } =
|
|
1320
|
+
const { BaseServer } = zondy.service
|
|
1321
1321
|
// ES6引入方式
|
|
1322
1322
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1323
1323
|
let BaseServer = new BaseServer({
|
|
@@ -1414,7 +1414,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
1414
1414
|
|
|
1415
1415
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
1416
1416
|
// ES5引入方式
|
|
1417
|
-
const { BaseServer } =
|
|
1417
|
+
const { BaseServer } = zondy.service
|
|
1418
1418
|
// ES6引入方式
|
|
1419
1419
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1420
1420
|
let BaseServer = new BaseServer({
|
|
@@ -1772,7 +1772,7 @@ BaseServer.url = '新URL';</code></pre>
|
|
|
1772
1772
|
|
|
1773
1773
|
<pre class="prettyprint"><code>//回调方式
|
|
1774
1774
|
// ES5引入方式
|
|
1775
|
-
const { Theme } =
|
|
1775
|
+
const { Theme } = zondy.object
|
|
1776
1776
|
// ES6引入方式
|
|
1777
1777
|
import { Theme } from "@mapgis/webclient-common"
|
|
1778
1778
|
//专题图信息数组
|
|
@@ -288,7 +288,7 @@
|
|
|
288
288
|
|
|
289
289
|
</code>
|
|
290
290
|
</td>
|
|
291
|
-
<td class="name"><code><p
|
|
291
|
+
<td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
|
|
292
292
|
</tr>
|
|
293
293
|
|
|
294
294
|
<tr class="deep-level-0">
|
|
@@ -306,7 +306,7 @@
|
|
|
306
306
|
|
|
307
307
|
</code>
|
|
308
308
|
</td>
|
|
309
|
-
<td class="name"><code><p
|
|
309
|
+
<td class="name"><code><p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
|
|
310
310
|
</tr>
|
|
311
311
|
|
|
312
312
|
<tr class="deep-level-0">
|
|
@@ -352,7 +352,7 @@
|
|
|
352
352
|
|
|
353
353
|
<span class="param-type">
|
|
354
354
|
|
|
355
|
-
|
|
355
|
+
<a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
|
|
356
356
|
|
|
357
357
|
</span>
|
|
358
358
|
|
|
@@ -486,7 +486,7 @@
|
|
|
486
486
|
|
|
487
487
|
</code>
|
|
488
488
|
</td>
|
|
489
|
-
<td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1
|
|
489
|
+
<td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p></code></td>
|
|
490
490
|
</tr>
|
|
491
491
|
|
|
492
492
|
<tr class="deep-level-0">
|
|
@@ -568,6 +568,24 @@
|
|
|
568
568
|
<td class="name"><code><p>图层名称</p></code></td>
|
|
569
569
|
</tr>
|
|
570
570
|
|
|
571
|
+
<tr class="deep-level-0">
|
|
572
|
+
<td class="name"><code><a href="#tokenAttachType">tokenAttachType</a></code></td>
|
|
573
|
+
<td class="name">
|
|
574
|
+
<code>
|
|
575
|
+
|
|
576
|
+
<span class="param-type">
|
|
577
|
+
|
|
578
|
+
String
|
|
579
|
+
|
|
580
|
+
</span>
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
</code>
|
|
585
|
+
</td>
|
|
586
|
+
<td class="name"><code><p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p></code></td>
|
|
587
|
+
</tr>
|
|
588
|
+
|
|
571
589
|
<tr class="deep-level-0">
|
|
572
590
|
<td class="name"><code><a href="#tokenKey">tokenKey</a></code></td>
|
|
573
591
|
<td class="name">
|
|
@@ -860,7 +878,7 @@
|
|
|
860
878
|
|
|
861
879
|
|
|
862
880
|
<div class="description">
|
|
863
|
-
<p
|
|
881
|
+
<p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
|
|
864
882
|
</div>
|
|
865
883
|
|
|
866
884
|
|
|
@@ -897,6 +915,11 @@
|
|
|
897
915
|
|
|
898
916
|
|
|
899
917
|
|
|
918
|
+
<dt class="tag-default">Default Value:</dt>
|
|
919
|
+
<dd class="tag-default"><ul class="dummy">
|
|
920
|
+
<li>{}</li>
|
|
921
|
+
</ul></dd>
|
|
922
|
+
|
|
900
923
|
|
|
901
924
|
|
|
902
925
|
|
|
@@ -940,7 +963,7 @@
|
|
|
940
963
|
|
|
941
964
|
|
|
942
965
|
<div class="description">
|
|
943
|
-
<p
|
|
966
|
+
<p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
|
|
944
967
|
</div>
|
|
945
968
|
|
|
946
969
|
|
|
@@ -977,6 +1000,11 @@
|
|
|
977
1000
|
|
|
978
1001
|
|
|
979
1002
|
|
|
1003
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1004
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1005
|
+
<li>{}</li>
|
|
1006
|
+
</ul></dd>
|
|
1007
|
+
|
|
980
1008
|
|
|
981
1009
|
|
|
982
1010
|
|
|
@@ -1163,7 +1191,7 @@
|
|
|
1163
1191
|
|
|
1164
1192
|
<span class="param-type">
|
|
1165
1193
|
|
|
1166
|
-
|
|
1194
|
+
<a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
|
|
1167
1195
|
|
|
1168
1196
|
</span>
|
|
1169
1197
|
|
|
@@ -1776,7 +1804,7 @@
|
|
|
1776
1804
|
|
|
1777
1805
|
|
|
1778
1806
|
<div class="description">
|
|
1779
|
-
<p>图层透明度,0到1之间的值,0为完全透明,1
|
|
1807
|
+
<p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p>
|
|
1780
1808
|
</div>
|
|
1781
1809
|
|
|
1782
1810
|
|
|
@@ -2139,6 +2167,86 @@
|
|
|
2139
2167
|
|
|
2140
2168
|
|
|
2141
2169
|
|
|
2170
|
+
|
|
2171
|
+
|
|
2172
|
+
|
|
2173
|
+
|
|
2174
|
+
|
|
2175
|
+
|
|
2176
|
+
</dl>
|
|
2177
|
+
|
|
2178
|
+
|
|
2179
|
+
|
|
2180
|
+
|
|
2181
|
+
|
|
2182
|
+
</div>
|
|
2183
|
+
|
|
2184
|
+
<div class="member">
|
|
2185
|
+
|
|
2186
|
+
<span class="method-parameter is-pulled-right">
|
|
2187
|
+
<label>类型:</label>
|
|
2188
|
+
|
|
2189
|
+
<span class="param-type">
|
|
2190
|
+
|
|
2191
|
+
String
|
|
2192
|
+
|
|
2193
|
+
</span>
|
|
2194
|
+
|
|
2195
|
+
|
|
2196
|
+
|
|
2197
|
+
</span>
|
|
2198
|
+
|
|
2199
|
+
<h4 class="name" id="tokenAttachType">
|
|
2200
|
+
<a class="href-link" href="#tokenAttachType">#</a>
|
|
2201
|
+
|
|
2202
|
+
<span class="code-name">
|
|
2203
|
+
tokenAttachType
|
|
2204
|
+
</span>
|
|
2205
|
+
|
|
2206
|
+
</h4>
|
|
2207
|
+
|
|
2208
|
+
|
|
2209
|
+
|
|
2210
|
+
|
|
2211
|
+
<div class="description">
|
|
2212
|
+
<p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p>
|
|
2213
|
+
</div>
|
|
2214
|
+
|
|
2215
|
+
|
|
2216
|
+
|
|
2217
|
+
|
|
2218
|
+
|
|
2219
|
+
<dl class="details">
|
|
2220
|
+
|
|
2221
|
+
|
|
2222
|
+
|
|
2223
|
+
|
|
2224
|
+
|
|
2225
|
+
|
|
2226
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
2227
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
2228
|
+
<a goto="tokenAttachType" link="Layer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Layer#tokenAttachType" Layer.html#tokenAttachType>Layer#tokenAttachType</a>
|
|
2229
|
+
</li></ul></dd>
|
|
2230
|
+
|
|
2231
|
+
|
|
2232
|
+
|
|
2233
|
+
|
|
2234
|
+
|
|
2235
|
+
|
|
2236
|
+
|
|
2237
|
+
|
|
2238
|
+
|
|
2239
|
+
|
|
2240
|
+
|
|
2241
|
+
|
|
2242
|
+
|
|
2243
|
+
|
|
2244
|
+
|
|
2245
|
+
|
|
2246
|
+
|
|
2247
|
+
|
|
2248
|
+
|
|
2249
|
+
|
|
2142
2250
|
|
|
2143
2251
|
|
|
2144
2252
|
|