@mapgis/webclient-common 17.0.7 → 17.2.0

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.
Files changed (105) hide show
  1. package/README.md +9 -44
  2. package/dist/es5/webclient-common.min.js +15 -4
  3. package/dist/webclient-common-es6.min.js +16 -5
  4. package/documention/ArcGISMapImageSubLayer.html +311 -7
  5. package/documention/ArcGISMapServer.html +404 -0
  6. package/documention/ArcGISTileLayer.html +116 -8
  7. package/documention/BaseRenderer.html +239 -0
  8. package/documention/BaseServer.html +1 -1
  9. package/documention/BaseView.html +457 -2
  10. package/documention/Callout3D.html +107 -0
  11. package/documention/Cesium3DTilesCacheLayer.html +131 -85
  12. package/documention/Circle.html +103 -0
  13. package/documention/ClassBreakInfo.html +0 -217
  14. package/documention/ClassBreakRenderer.html +395 -5
  15. package/documention/ClusterRenderer.html +245 -5
  16. package/documention/Extent.html +103 -0
  17. package/documention/ExtrudeSymbol3DLayer.html +107 -0
  18. package/documention/FeatureLayer.html +116 -8
  19. package/documention/FillSymbol.html +107 -0
  20. package/documention/FillSymbol3DLayer.html +107 -0
  21. package/documention/Font.html +3 -3
  22. package/documention/GeoJSONLayer.html +116 -8
  23. package/documention/Geometry.html +131 -0
  24. package/documention/GraphicsLayer.html +116 -8
  25. package/documention/GroupLayer.html +118 -10
  26. package/documention/HeatmapRenderer.html +107 -0
  27. package/documention/IGSMapImageSubLayer.html +304 -0
  28. package/documention/IGSSceneSubLayer.html +213 -33
  29. package/documention/IGSTileLayer.html +116 -8
  30. package/documention/IGSVectorTileLayer.html +198 -14
  31. package/documention/IconSymbol3DLayer.html +107 -0
  32. package/documention/LabelClass.html +7 -2
  33. package/documention/Layer.html +244 -9
  34. package/documention/LineCallout3D.html +107 -0
  35. package/documention/LineString.html +103 -0
  36. package/documention/LineSymbol.html +107 -0
  37. package/documention/LineSymbol3DLayer.html +107 -0
  38. package/documention/M3DModelCacheLayer.html +121 -67
  39. package/documention/M3DServer.html +1 -1
  40. package/documention/Map.html +28 -1
  41. package/documention/MapGISTextSymbol.html +107 -0
  42. package/documention/MapImageLayer.html +527 -16
  43. package/documention/MapView.html +203 -2
  44. package/documention/MarkerSymbol.html +107 -0
  45. package/documention/MultiLineString.html +103 -0
  46. package/documention/MultiPoint.html +103 -0
  47. package/documention/MultiPolygon.html +103 -0
  48. package/documention/OGCLayer.html +116 -8
  49. package/documention/ObjectSymbol3DLayer.html +107 -0
  50. package/documention/OverlayLayer.html +116 -8
  51. package/documention/PathSymbol3DLayer.html +107 -0
  52. package/documention/PictureFillSymbol.html +168 -7
  53. package/documention/PoiServer.html +1 -1
  54. package/documention/Point.html +103 -0
  55. package/documention/PointSymbol3D.html +1 -1
  56. package/documention/Polygon.html +103 -0
  57. package/documention/Projection.html +421 -0
  58. package/documention/RandomRenderer.html +107 -0
  59. package/documention/RankRenderer.html +107 -0
  60. package/documention/RootServer.html +1 -1
  61. package/documention/SceneLayer.html +116 -8
  62. package/documention/SceneView.html +10164 -130
  63. package/documention/SimpleFillSymbol.html +107 -0
  64. package/documention/SimpleRenderer.html +107 -0
  65. package/documention/SketchBaseDrawTool.html +181 -3
  66. package/documention/SketchCircleDrawTool.html +159 -3
  67. package/documention/SketchEditor.html +1 -1
  68. package/documention/SketchEditorCesium.html +1 -1
  69. package/documention/SketchExtentDrawTool.html +159 -3
  70. package/documention/SketchFreehandPolygonDrawTool.html +159 -3
  71. package/documention/SketchFreehandPolylineDrawTool.html +159 -3
  72. package/documention/SketchPointDrawTool.html +159 -3
  73. package/documention/SketchPolygonDrawTool.html +318 -6
  74. package/documention/SketchPolylineDrawTool.html +318 -6
  75. package/documention/SubLayer.html +296 -26
  76. package/documention/Symbol.html +133 -0
  77. package/documention/Symbol3DLayer.html +107 -0
  78. package/documention/Symbol3DVerticalOffset.html +107 -0
  79. package/documention/TerrainCacheLayer.html +132 -164
  80. package/documention/TextSymbol.html +107 -0
  81. package/documention/TextSymbol3DLayer.html +107 -0
  82. package/documention/ThemeServer.html +1 -1
  83. package/documention/TileLayer.html +116 -8
  84. package/documention/TileServer.html +1 -1
  85. package/documention/UniqueValueInfo.html +0 -217
  86. package/documention/UniqueValueRenderer.html +107 -0
  87. package/documention/UnknownLayer.html +116 -8
  88. package/documention/VectorTileLayer.html +116 -8
  89. package/documention/VectorTileSubLayer.html +304 -0
  90. package/documention/WFSLayer.html +116 -8
  91. package/documention/WMSLayer.html +116 -8
  92. package/documention/WMSServer.html +1 -1
  93. package/documention/WMSSubLayer.html +218 -7
  94. package/documention/WMTSLayer.html +116 -8
  95. package/documention/WMTSServer.html +1 -1
  96. package/documention/WMTSSubLayer.html +116 -8
  97. package/documention/WaterSymbol3DLayer.html +107 -0
  98. package/documention/WebTileLayer.html +116 -8
  99. package/documention/global.html +454 -4
  100. package/documention/index.html +47 -44
  101. package/documention/scripts/sideBar.js +16 -2
  102. package/documention/tutorial-/346/270/262/346/237/223/345/231/250.html +5 -1
  103. package/documention/tutorial-/347/254/246/345/217/267.html +52 -6
  104. package/documention/tutorial-/350/241/250/350/276/276/345/274/217.html +293 -1
  105. package/package.json +13 -13
@@ -505,6 +505,24 @@ const lineSymbol3DLayer = new LineSymbol3DLayer({
505
505
  <td class="name"><code><p>符号的额外构造参数,该构造参数是地图引擎的额外构造参数,在此设置了之后,会覆盖该符号转换好地图引擎的构造参数</p></code></td>
506
506
  </tr>
507
507
 
508
+ <tr class="deep-level-0">
509
+ <td class="name"><code><a href="#id">id</a></code></td>
510
+ <td class="name">
511
+ <code>
512
+
513
+ <span class="param-type">
514
+
515
+ String
516
+
517
+ </span>
518
+
519
+
520
+
521
+ </code>
522
+ </td>
523
+ <td class="name"><code><p>符号id</p></code></td>
524
+ </tr>
525
+
508
526
  <tr class="deep-level-0">
509
527
  <td class="name"><code><a href="#join">join</a></code></td>
510
528
  <td class="name">
@@ -839,6 +857,95 @@ const lineSymbol3DLayer = new LineSymbol3DLayer({
839
857
 
840
858
 
841
859
 
860
+ <dt class="tag-default">Default Value:</dt>
861
+ <dd class="tag-default"><ul class="dummy">
862
+ <li>{}</li>
863
+ </ul></dd>
864
+
865
+
866
+
867
+
868
+
869
+
870
+
871
+
872
+ </dl>
873
+
874
+
875
+
876
+
877
+
878
+ </div>
879
+
880
+ <div class="member">
881
+
882
+ <span class="method-parameter is-pulled-right">
883
+ <label>类型:</label>
884
+
885
+ <span class="param-type">
886
+
887
+ String
888
+
889
+ </span>
890
+
891
+
892
+
893
+ </span>
894
+
895
+ <h4 class="name" id="id">
896
+ <a class="href-link" href="#id">#</a>
897
+
898
+
899
+ <span class='tag'>readonly</span>
900
+
901
+
902
+ <span class="code-name">
903
+ id
904
+ </span>
905
+
906
+ </h4>
907
+
908
+
909
+
910
+
911
+ <div class="description">
912
+ <p>符号id</p>
913
+ </div>
914
+
915
+
916
+
917
+
918
+
919
+ <dl class="details">
920
+
921
+
922
+
923
+
924
+
925
+
926
+ <dt class="inherited-from">Inherited From:</dt>
927
+ <dd class="inherited-from"><ul class="dummy"><li>
928
+ <a goto="id" link="Symbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Symbol#id" Symbol.html#id>Symbol#id</a>
929
+ </li></ul></dd>
930
+
931
+
932
+
933
+
934
+
935
+
936
+
937
+
938
+
939
+
940
+
941
+
942
+
943
+
944
+
945
+
946
+
947
+
948
+
842
949
 
843
950
 
844
951
 
@@ -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
 
@@ -632,7 +578,7 @@ const layer = new M3DModelCacheLayer({
632
578
 
633
579
  </code>
634
580
  </td>
635
- <td class="name"><code><p>初始化图层的额外参数,三维引擎专有的初始化参数请传入此对象</p></code></td>
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>存储额外参数的属性</p></code></td>
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
- String
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为不透明,会触发图层更新完毕事件</p></code></td>
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>初始化图层的额外参数,三维引擎专有的初始化参数请传入此对象</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
- <dt class="tag-overrides">Overrides:</dt>
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>存储额外参数的属性</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
- String
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为不透明,会触发图层更新完毕事件</p>
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
 
@@ -213,7 +213,7 @@ const { M3DServer } = Zondy.Service
213
213
  import { M3DServer } from "@mapgis/webclient-common"
214
214
  const m3dServer = new M3DServer({
215
215
  //服务基地址
216
- url: 'http://webclient.smaryun.com:8089/igs/rest/services/M3Dv2/武汉建筑轮廓白模/M3dServer'
216
+ url: 'http://192.168.82.89:8089/igs/rest/services/M3Dv2/武汉建筑轮廓白模/M3dServer'
217
217
  })</code></pre>
218
218
 
219
219
 
@@ -121,7 +121,34 @@ import { Map } from &quot;@mapgis/webclient-common&quot; <br/></p>
121
121
 
122
122
 
123
123
 
124
- <td class="description last"><p>设置地图视图中的底图;<br/>
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.&lt;<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>
@@ -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