@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
|
@@ -160,60 +160,6 @@ M3D服务基地址格式(IGS2.0):http://{ip}:{port}/igs/rest/services/{服务
|
|
|
160
160
|
|
|
161
161
|
|
|
162
162
|
|
|
163
|
-
|
|
164
|
-
<tr class="deep-level-1">
|
|
165
|
-
|
|
166
|
-
<td class="name"><code>extendOptions</code></td>
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
<td class="type">
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
<span class="param-type">
|
|
173
|
-
|
|
174
|
-
Object
|
|
175
|
-
|
|
176
|
-
</span>
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
</td>
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
<td class="description last"><p>初始化场景图层的额外参数,三维引擎专有的初始化参数请传入此对象</p></td>
|
|
186
|
-
</tr>
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
<tr class="deep-level-1">
|
|
192
|
-
|
|
193
|
-
<td class="name"><code>extendProps</code></td>
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
<td class="type">
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
<span class="param-type">
|
|
200
|
-
|
|
201
|
-
Object
|
|
202
|
-
|
|
203
|
-
</span>
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
</td>
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
<td class="description last"><p>存储额外参数的属性</p></td>
|
|
213
|
-
</tr>
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
163
|
|
|
218
164
|
|
|
219
165
|
|
|
@@ -296,7 +242,7 @@ M3D服务基地址格式(IGS2.0):http://{ip}:{port}/igs/rest/services/{服务
|
|
|
296
242
|
|
|
297
243
|
|
|
298
244
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
299
|
-
const { M3DModelCacheLayer } =
|
|
245
|
+
const { M3DModelCacheLayer } = zondy.layer
|
|
300
246
|
// ES6引入方式
|
|
301
247
|
import { M3DModelCacheLayer } from "@mapgis/webclient-common"
|
|
302
248
|
const layer = new M3DModelCacheLayer({
|
|
@@ -314,10 +260,10 @@ const layer = new M3DModelCacheLayer({
|
|
|
314
260
|
|
|
315
261
|
|
|
316
262
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
317
|
-
const { M3DModelCacheLayer } =
|
|
318
|
-
const { UniqueValueRenderer } =
|
|
319
|
-
const { SimpleFillSymbol,SimpleLineSymbol } =
|
|
320
|
-
const { Color } =
|
|
263
|
+
const { M3DModelCacheLayer } = zondy.layer
|
|
264
|
+
const { UniqueValueRenderer } = zondy.renderer
|
|
265
|
+
const { SimpleFillSymbol,SimpleLineSymbol } = zondy.symbol
|
|
266
|
+
const { Color } = zondy
|
|
321
267
|
// ES6引入方式
|
|
322
268
|
import { M3DModelCacheLayer,UniqueValueRenderer,SimpleFillSymbol,SimpleLineSymbol,Color } from "@mapgis/webclient-common"
|
|
323
269
|
// 构造单值渲染器
|
|
@@ -366,10 +312,10 @@ const layer = new M3DModelCacheLayer({
|
|
|
366
312
|
|
|
367
313
|
|
|
368
314
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
369
|
-
const { M3DModelCacheLayer } =
|
|
370
|
-
const { ClassBreakRenderer } =
|
|
371
|
-
const { SimpleFillSymbol } =
|
|
372
|
-
const { Color } =
|
|
315
|
+
const { M3DModelCacheLayer } = zondy.layer
|
|
316
|
+
const { ClassBreakRenderer } = zondy.renderer
|
|
317
|
+
const { SimpleFillSymbol } = zondy.symbol
|
|
318
|
+
const { Color } = zondy
|
|
373
319
|
// ES6引入方式
|
|
374
320
|
import { M3DModelCacheLayer,ClassBreakRenderer,SimpleFillSymbol,Color } from "@mapgis/webclient-common"
|
|
375
321
|
// 构造分段渲染器
|
|
@@ -422,7 +368,7 @@ const layer = new M3DModelCacheLayer({
|
|
|
422
368
|
|
|
423
369
|
|
|
424
370
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
425
|
-
const { M3DModelCacheLayer } =
|
|
371
|
+
const { M3DModelCacheLayer } = zondy.layer
|
|
426
372
|
// ES6引入方式
|
|
427
373
|
import { M3DModelCacheLayer } from "@mapgis/webclient-common"
|
|
428
374
|
// 构造Cesium原生渲染器
|
|
@@ -472,7 +418,7 @@ const layer = new M3DModelCacheLayer({
|
|
|
472
418
|
|
|
473
419
|
|
|
474
420
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
475
|
-
const { M3DModelCacheLayer } =
|
|
421
|
+
const { M3DModelCacheLayer } = zondy.layer
|
|
476
422
|
// ES6引入方式
|
|
477
423
|
import { M3DModelCacheLayer } from "@mapgis/webclient-common"
|
|
478
424
|
// 构造Cesium原生渲染器
|
|
@@ -632,7 +578,7 @@ const layer = new M3DModelCacheLayer({
|
|
|
632
578
|
|
|
633
579
|
</code>
|
|
634
580
|
</td>
|
|
635
|
-
<td class="name"><code><p
|
|
581
|
+
<td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
|
|
636
582
|
</tr>
|
|
637
583
|
|
|
638
584
|
<tr class="deep-level-0">
|
|
@@ -650,7 +596,7 @@ const layer = new M3DModelCacheLayer({
|
|
|
650
596
|
|
|
651
597
|
</code>
|
|
652
598
|
</td>
|
|
653
|
-
<td class="name"><code><p
|
|
599
|
+
<td class="name"><code><p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
|
|
654
600
|
</tr>
|
|
655
601
|
|
|
656
602
|
<tr class="deep-level-0">
|
|
@@ -714,7 +660,7 @@ const layer = new M3DModelCacheLayer({
|
|
|
714
660
|
|
|
715
661
|
<span class="param-type">
|
|
716
662
|
|
|
717
|
-
|
|
663
|
+
<a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
|
|
718
664
|
|
|
719
665
|
</span>
|
|
720
666
|
|
|
@@ -848,7 +794,7 @@ const layer = new M3DModelCacheLayer({
|
|
|
848
794
|
|
|
849
795
|
</code>
|
|
850
796
|
</td>
|
|
851
|
-
<td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1
|
|
797
|
+
<td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p></code></td>
|
|
852
798
|
</tr>
|
|
853
799
|
|
|
854
800
|
<tr class="deep-level-0">
|
|
@@ -941,6 +887,24 @@ const layer = new M3DModelCacheLayer({
|
|
|
941
887
|
<td class="name"><code><p>图层名称</p></code></td>
|
|
942
888
|
</tr>
|
|
943
889
|
|
|
890
|
+
<tr class="deep-level-0">
|
|
891
|
+
<td class="name"><code><a href="#tokenAttachType">tokenAttachType</a></code></td>
|
|
892
|
+
<td class="name">
|
|
893
|
+
<code>
|
|
894
|
+
|
|
895
|
+
<span class="param-type">
|
|
896
|
+
|
|
897
|
+
String
|
|
898
|
+
|
|
899
|
+
</span>
|
|
900
|
+
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
</code>
|
|
904
|
+
</td>
|
|
905
|
+
<td class="name"><code><p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p></code></td>
|
|
906
|
+
</tr>
|
|
907
|
+
|
|
944
908
|
<tr class="deep-level-0">
|
|
945
909
|
<td class="name"><code><a href="#tokenKey">tokenKey</a></code></td>
|
|
946
910
|
<td class="name">
|
|
@@ -1322,7 +1286,7 @@ const layer = new M3DModelCacheLayer({
|
|
|
1322
1286
|
|
|
1323
1287
|
|
|
1324
1288
|
<div class="description">
|
|
1325
|
-
<p
|
|
1289
|
+
<p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
|
|
1326
1290
|
</div>
|
|
1327
1291
|
|
|
1328
1292
|
|
|
@@ -1336,11 +1300,9 @@ const layer = new M3DModelCacheLayer({
|
|
|
1336
1300
|
|
|
1337
1301
|
|
|
1338
1302
|
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
<dd class="tag-overrides"><ul class="dummy"><li>
|
|
1343
|
-
<a class="mapgis-link-name" title="Layer#extendOptions" Layer.html#extendOptions>Layer#extendOptions</a>
|
|
1303
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
1304
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
1305
|
+
<a goto="extendOptions" link="Layer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Layer#extendOptions" Layer.html#extendOptions>Layer#extendOptions</a>
|
|
1344
1306
|
</li></ul></dd>
|
|
1345
1307
|
|
|
1346
1308
|
|
|
@@ -1359,6 +1321,13 @@ const layer = new M3DModelCacheLayer({
|
|
|
1359
1321
|
|
|
1360
1322
|
|
|
1361
1323
|
|
|
1324
|
+
|
|
1325
|
+
|
|
1326
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1327
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1328
|
+
<li>{}</li>
|
|
1329
|
+
</ul></dd>
|
|
1330
|
+
|
|
1362
1331
|
|
|
1363
1332
|
|
|
1364
1333
|
|
|
@@ -1402,7 +1371,7 @@ const layer = new M3DModelCacheLayer({
|
|
|
1402
1371
|
|
|
1403
1372
|
|
|
1404
1373
|
<div class="description">
|
|
1405
|
-
<p
|
|
1374
|
+
<p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
|
|
1406
1375
|
</div>
|
|
1407
1376
|
|
|
1408
1377
|
|
|
@@ -1439,6 +1408,11 @@ const layer = new M3DModelCacheLayer({
|
|
|
1439
1408
|
|
|
1440
1409
|
|
|
1441
1410
|
|
|
1411
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1412
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1413
|
+
<li>{}</li>
|
|
1414
|
+
</ul></dd>
|
|
1415
|
+
|
|
1442
1416
|
|
|
1443
1417
|
|
|
1444
1418
|
|
|
@@ -1700,7 +1674,7 @@ const layer = new M3DModelCacheLayer({
|
|
|
1700
1674
|
|
|
1701
1675
|
<span class="param-type">
|
|
1702
1676
|
|
|
1703
|
-
|
|
1677
|
+
<a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
|
|
1704
1678
|
|
|
1705
1679
|
</span>
|
|
1706
1680
|
|
|
@@ -2313,7 +2287,7 @@ const layer = new M3DModelCacheLayer({
|
|
|
2313
2287
|
|
|
2314
2288
|
|
|
2315
2289
|
<div class="description">
|
|
2316
|
-
<p>图层透明度,0到1之间的值,0为完全透明,1
|
|
2290
|
+
<p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p>
|
|
2317
2291
|
</div>
|
|
2318
2292
|
|
|
2319
2293
|
|
|
@@ -2736,6 +2710,86 @@ const layer = new M3DModelCacheLayer({
|
|
|
2736
2710
|
|
|
2737
2711
|
|
|
2738
2712
|
|
|
2713
|
+
|
|
2714
|
+
|
|
2715
|
+
|
|
2716
|
+
|
|
2717
|
+
|
|
2718
|
+
|
|
2719
|
+
</dl>
|
|
2720
|
+
|
|
2721
|
+
|
|
2722
|
+
|
|
2723
|
+
|
|
2724
|
+
|
|
2725
|
+
</div>
|
|
2726
|
+
|
|
2727
|
+
<div class="member">
|
|
2728
|
+
|
|
2729
|
+
<span class="method-parameter is-pulled-right">
|
|
2730
|
+
<label>类型:</label>
|
|
2731
|
+
|
|
2732
|
+
<span class="param-type">
|
|
2733
|
+
|
|
2734
|
+
String
|
|
2735
|
+
|
|
2736
|
+
</span>
|
|
2737
|
+
|
|
2738
|
+
|
|
2739
|
+
|
|
2740
|
+
</span>
|
|
2741
|
+
|
|
2742
|
+
<h4 class="name" id="tokenAttachType">
|
|
2743
|
+
<a class="href-link" href="#tokenAttachType">#</a>
|
|
2744
|
+
|
|
2745
|
+
<span class="code-name">
|
|
2746
|
+
tokenAttachType
|
|
2747
|
+
</span>
|
|
2748
|
+
|
|
2749
|
+
</h4>
|
|
2750
|
+
|
|
2751
|
+
|
|
2752
|
+
|
|
2753
|
+
|
|
2754
|
+
<div class="description">
|
|
2755
|
+
<p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p>
|
|
2756
|
+
</div>
|
|
2757
|
+
|
|
2758
|
+
|
|
2759
|
+
|
|
2760
|
+
|
|
2761
|
+
|
|
2762
|
+
<dl class="details">
|
|
2763
|
+
|
|
2764
|
+
|
|
2765
|
+
|
|
2766
|
+
|
|
2767
|
+
|
|
2768
|
+
|
|
2769
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
2770
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
2771
|
+
<a goto="tokenAttachType" link="Layer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Layer#tokenAttachType" Layer.html#tokenAttachType>Layer#tokenAttachType</a>
|
|
2772
|
+
</li></ul></dd>
|
|
2773
|
+
|
|
2774
|
+
|
|
2775
|
+
|
|
2776
|
+
|
|
2777
|
+
|
|
2778
|
+
|
|
2779
|
+
|
|
2780
|
+
|
|
2781
|
+
|
|
2782
|
+
|
|
2783
|
+
|
|
2784
|
+
|
|
2785
|
+
|
|
2786
|
+
|
|
2787
|
+
|
|
2788
|
+
|
|
2789
|
+
|
|
2790
|
+
|
|
2791
|
+
|
|
2792
|
+
|
|
2739
2793
|
|
|
2740
2794
|
|
|
2741
2795
|
|
|
@@ -4216,7 +4270,7 @@ const layer = new M3DModelCacheLayer({
|
|
|
4216
4270
|
|
|
4217
4271
|
|
|
4218
4272
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
4219
|
-
const { M3DModelCacheLayer } =
|
|
4273
|
+
const { M3DModelCacheLayer } = zondy.layer
|
|
4220
4274
|
// ES6引入方式
|
|
4221
4275
|
import { M3DModelCacheLayer } from "@mapgis/webclient-common"
|
|
4222
4276
|
// 初始化图层
|
|
@@ -208,12 +208,12 @@
|
|
|
208
208
|
|
|
209
209
|
<pre class="prettyprint"><code>//初始化M3DServer服务对象
|
|
210
210
|
// ES5引入方式
|
|
211
|
-
const { M3DServer } =
|
|
211
|
+
const { M3DServer } = zondy.service
|
|
212
212
|
// ES6引入方式
|
|
213
213
|
import { M3DServer } from "@mapgis/webclient-common"
|
|
214
214
|
const m3dServer = new M3DServer({
|
|
215
215
|
//服务基地址
|
|
216
|
-
url: 'http://
|
|
216
|
+
url: 'http://192.168.82.89:8089/igs/rest/services/M3Dv2/武汉建筑轮廓白模/M3dServer'
|
|
217
217
|
})</code></pre>
|
|
218
218
|
|
|
219
219
|
|
|
@@ -613,7 +613,7 @@ import { M3DServer } 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({
|
package/documention/Map.html
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<div class="description">
|
|
38
38
|
<p>图层管理容器,和地图引擎无关,通过此对象而不是地图引擎来对图层进行管理
|
|
39
39
|
<br>[ES5引入方式]:<br/>
|
|
40
|
-
|
|
40
|
+
zondy.Map() <br/>
|
|
41
41
|
[ES6引入方式]:<br/>
|
|
42
42
|
import { Map } from "@mapgis/webclient-common" <br/></p>
|
|
43
43
|
</div>
|
|
@@ -121,7 +121,34 @@ import { Map } from "@mapgis/webclient-common" <br/></p>
|
|
|
121
121
|
|
|
122
122
|
|
|
123
123
|
|
|
124
|
-
<td class="description last"><p
|
|
124
|
+
<td class="description last"><p>设置地图中的底图;<br/></p></td>
|
|
125
|
+
</tr>
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
<tr class="deep-level-1">
|
|
131
|
+
|
|
132
|
+
<td class="name"><code>layers</code></td>
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
<td class="type">
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
<span class="param-type">
|
|
139
|
+
|
|
140
|
+
Array.<<a onclick="getTypeHTML(event)" link="Layer.html">Layer</a>>
|
|
141
|
+
|
|
142
|
+
</span>
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
</td>
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
<td class="description last"><p>设置地图中的图层数组;<br/>
|
|
125
152
|
1、如果底图存在,则会使用底图上的参考系作为地图视图的参考系,如果没有,则使用常规图层上的坐标系;<br/>
|
|
126
153
|
2、底图图层在常规图层的最下面;
|
|
127
154
|
3、除GraphicsLayer外的二维地图都可以作为底图<br/></p></td>
|
|
@@ -234,7 +261,7 @@ import { Map } from "@mapgis/webclient-common" <br/></p>
|
|
|
234
261
|
|
|
235
262
|
|
|
236
263
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
237
|
-
const { Map } =
|
|
264
|
+
const { Map } = zondy
|
|
238
265
|
// ES6引入方式
|
|
239
266
|
import { Map } from "@mapgis/webclient-common"
|
|
240
267
|
//创建Map对象
|
|
@@ -245,8 +272,8 @@ let map = new Map();</code></pre>
|
|
|
245
272
|
|
|
246
273
|
|
|
247
274
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
248
|
-
const { Map, Basemap, Collection } =
|
|
249
|
-
const { IGSTileLayer } =
|
|
275
|
+
const { Map, Basemap, Collection } = zondy
|
|
276
|
+
const { IGSTileLayer } = zondy.layer
|
|
250
277
|
// ES6引入方式
|
|
251
278
|
import { Map, Basemap, Collection, IGSTileLayer } from "@mapgis/webclient-common"
|
|
252
279
|
//创建Map对象
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<div class="description">
|
|
38
38
|
<p>文本符号,支持点几何对象,参考示例:<a href='#new-MapGISTextSymbol'>[创建文本样式]</a>
|
|
39
39
|
<br><br>[ES5引入方式]:<br/>
|
|
40
|
-
|
|
40
|
+
zondy.symbol.MapGISTextSymbol() <br/>
|
|
41
41
|
[ES6引入方式]:<br/>
|
|
42
42
|
import { MapGISTextSymbol } from "@mapgis/webclient-common" <br/>
|
|
43
43
|
<br/></p>
|
|
@@ -707,8 +707,8 @@ import { MapGISTextSymbol } from "@mapgis/webclient-common" <br/>
|
|
|
707
707
|
|
|
708
708
|
|
|
709
709
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
710
|
-
const { MapGISTextSymbol } =
|
|
711
|
-
const { MapGISTextSymbol, Color } =
|
|
710
|
+
const { MapGISTextSymbol } = zondy.symbol
|
|
711
|
+
const { MapGISTextSymbol, Color } = zondy
|
|
712
712
|
// ES6引入方式
|
|
713
713
|
import { MapGISTextSymbol, Color } from "@mapgis/webclient-common"
|
|
714
714
|
const textSymbol = new MapGISTextSymbol({
|
|
@@ -1000,6 +1000,24 @@ const textSymbol = new MapGISTextSymbol({
|
|
|
1000
1000
|
<td class="name"><code><p>水平方向</p></code></td>
|
|
1001
1001
|
</tr>
|
|
1002
1002
|
|
|
1003
|
+
<tr class="deep-level-0">
|
|
1004
|
+
<td class="name"><code><a href="#id">id</a></code></td>
|
|
1005
|
+
<td class="name">
|
|
1006
|
+
<code>
|
|
1007
|
+
|
|
1008
|
+
<span class="param-type">
|
|
1009
|
+
|
|
1010
|
+
String
|
|
1011
|
+
|
|
1012
|
+
</span>
|
|
1013
|
+
|
|
1014
|
+
|
|
1015
|
+
|
|
1016
|
+
</code>
|
|
1017
|
+
</td>
|
|
1018
|
+
<td class="name"><code><p>符号id</p></code></td>
|
|
1019
|
+
</tr>
|
|
1020
|
+
|
|
1003
1021
|
<tr class="deep-level-0">
|
|
1004
1022
|
<td class="name"><code><a href="#kerning">kerning</a></code></td>
|
|
1005
1023
|
<td class="name">
|
|
@@ -2042,6 +2060,11 @@ const textSymbol = new MapGISTextSymbol({
|
|
|
2042
2060
|
|
|
2043
2061
|
|
|
2044
2062
|
|
|
2063
|
+
<dt class="tag-default">Default Value:</dt>
|
|
2064
|
+
<dd class="tag-default"><ul class="dummy">
|
|
2065
|
+
<li>{}</li>
|
|
2066
|
+
</ul></dd>
|
|
2067
|
+
|
|
2045
2068
|
|
|
2046
2069
|
|
|
2047
2070
|
|
|
@@ -2363,6 +2386,90 @@ const textSymbol = new MapGISTextSymbol({
|
|
|
2363
2386
|
|
|
2364
2387
|
|
|
2365
2388
|
|
|
2389
|
+
|
|
2390
|
+
|
|
2391
|
+
|
|
2392
|
+
|
|
2393
|
+
|
|
2394
|
+
|
|
2395
|
+
</dl>
|
|
2396
|
+
|
|
2397
|
+
|
|
2398
|
+
|
|
2399
|
+
|
|
2400
|
+
|
|
2401
|
+
</div>
|
|
2402
|
+
|
|
2403
|
+
<div class="member">
|
|
2404
|
+
|
|
2405
|
+
<span class="method-parameter is-pulled-right">
|
|
2406
|
+
<label>类型:</label>
|
|
2407
|
+
|
|
2408
|
+
<span class="param-type">
|
|
2409
|
+
|
|
2410
|
+
String
|
|
2411
|
+
|
|
2412
|
+
</span>
|
|
2413
|
+
|
|
2414
|
+
|
|
2415
|
+
|
|
2416
|
+
</span>
|
|
2417
|
+
|
|
2418
|
+
<h4 class="name" id="id">
|
|
2419
|
+
<a class="href-link" href="#id">#</a>
|
|
2420
|
+
|
|
2421
|
+
|
|
2422
|
+
<span class='tag'>readonly</span>
|
|
2423
|
+
|
|
2424
|
+
|
|
2425
|
+
<span class="code-name">
|
|
2426
|
+
id
|
|
2427
|
+
</span>
|
|
2428
|
+
|
|
2429
|
+
</h4>
|
|
2430
|
+
|
|
2431
|
+
|
|
2432
|
+
|
|
2433
|
+
|
|
2434
|
+
<div class="description">
|
|
2435
|
+
<p>符号id</p>
|
|
2436
|
+
</div>
|
|
2437
|
+
|
|
2438
|
+
|
|
2439
|
+
|
|
2440
|
+
|
|
2441
|
+
|
|
2442
|
+
<dl class="details">
|
|
2443
|
+
|
|
2444
|
+
|
|
2445
|
+
|
|
2446
|
+
|
|
2447
|
+
|
|
2448
|
+
|
|
2449
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
2450
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
2451
|
+
<a goto="id" link="Symbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Symbol#id" Symbol.html#id>Symbol#id</a>
|
|
2452
|
+
</li></ul></dd>
|
|
2453
|
+
|
|
2454
|
+
|
|
2455
|
+
|
|
2456
|
+
|
|
2457
|
+
|
|
2458
|
+
|
|
2459
|
+
|
|
2460
|
+
|
|
2461
|
+
|
|
2462
|
+
|
|
2463
|
+
|
|
2464
|
+
|
|
2465
|
+
|
|
2466
|
+
|
|
2467
|
+
|
|
2468
|
+
|
|
2469
|
+
|
|
2470
|
+
|
|
2471
|
+
|
|
2472
|
+
|
|
2366
2473
|
|
|
2367
2474
|
|
|
2368
2475
|
|