@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
@@ -35,7 +35,10 @@
35
35
 
36
36
 
37
37
  <div class="description">
38
- <p>聚类渲染器,多个点聚集在一起,会形成一个点符号</p>
38
+ <p>聚类渲染器,多个点聚集在一起,会形成一个点符号
39
+ 使用须知:
40
+ 1、推荐使用点要素图层作为聚类的数据,区和线会额外增加计算聚类点的工作量,影响加载的性能。
41
+ 2、推荐使用空间参考系为地理系的数据,其他投影系会在前端内部处理反投逻辑,影响加载的性能。</p>
39
42
  </div>
40
43
 
41
44
 
@@ -176,7 +179,7 @@
176
179
 
177
180
  <span class="param-type">
178
181
 
179
- Array.&lt;<a onclick="getTypeHTML(event)" link="ClusterInfo.html">ClusterInfo</a>>
182
+ Array.&lt;(UniqueValueClusterlnfo|ClassBreakClusterlnfo)>
180
183
 
181
184
  </span>
182
185
 
@@ -395,6 +398,136 @@
395
398
 
396
399
 
397
400
 
401
+
402
+ <tr class="deep-level-1">
403
+
404
+ <td class="name"><code>valueExpressionTitle</code></td>
405
+
406
+
407
+ <td class="type">
408
+
409
+
410
+ <span class="param-type">
411
+
412
+ String
413
+
414
+ </span>
415
+
416
+
417
+
418
+
419
+ </td>
420
+
421
+
422
+ <td class="default">
423
+
424
+ </td>
425
+
426
+
427
+ <td class="description last"><p>字段表达式描述</p></td>
428
+ </tr>
429
+
430
+
431
+
432
+
433
+ <tr class="deep-level-1">
434
+
435
+ <td class="name"><code>valueExpression</code></td>
436
+
437
+
438
+ <td class="type">
439
+
440
+
441
+ <span class="param-type">
442
+
443
+ String
444
+
445
+ </span>
446
+
447
+
448
+
449
+
450
+ </td>
451
+
452
+
453
+ <td class="default">
454
+
455
+ '$cluster_count'
456
+
457
+ </td>
458
+
459
+
460
+ <td class="description last"><p>字段表达式,默认取'$cluster_count',表示按聚类簇上点的数量作为分段的依据</p></td>
461
+ </tr>
462
+
463
+
464
+
465
+
466
+ <tr class="deep-level-1">
467
+
468
+ <td class="name"><code>minHybridClusterCount</code></td>
469
+
470
+
471
+ <td class="type">
472
+
473
+
474
+ <span class="param-type">
475
+
476
+ Number
477
+
478
+ </span>
479
+
480
+
481
+
482
+
483
+ </td>
484
+
485
+
486
+ <td class="default">
487
+
488
+ 0
489
+
490
+ </td>
491
+
492
+
493
+ <td class="description last"><p>最小混合聚合数量。大于等于此值进行混合聚类,小于此值则优先以分组类型聚类。</p></td>
494
+ </tr>
495
+
496
+
497
+
498
+
499
+ <tr class="deep-level-1">
500
+
501
+ <td class="name"><code>deconflictionStrategy</code></td>
502
+
503
+
504
+ <td class="type">
505
+
506
+
507
+ <span class="param-type">
508
+
509
+ String
510
+
511
+ </span>
512
+
513
+
514
+
515
+
516
+ </td>
517
+
518
+
519
+ <td class="default">
520
+
521
+ 'none'
522
+
523
+ </td>
524
+
525
+
526
+ <td class="description last"><p>聚类冲突策略,默认为'none'。'none'表示不设置冲突解决策略,'static'表示采用默认的冲突解决策略。</p></td>
527
+ </tr>
528
+
529
+
530
+
398
531
 
399
532
 
400
533
 
@@ -584,7 +717,7 @@ const clusterRenderer = new ClusterRenderer({
584
717
  链接地址:https://github.com/Leaflet/Leaflet.markercluster
585
718
 
586
719
  const layer = new IGSFeatureLayer({
587
- url: "http://webclient.smaryun.com:8089/igs/rest/services/Map/%E6%B9%96%E5%8C%97%E7%9C%814326/FeatureServer/1-0",
720
+ url: "http://192.168.82.89:8089/igs/rest/services/Map/%E6%B9%96%E5%8C%97%E7%9C%814326/FeatureServer/1-0",
588
721
  renderer: new ClusterRenderer({
589
722
  // 聚类参数
590
723
  clusterInfos: [
@@ -754,7 +887,7 @@ const clusterRenderer = new ClusterRenderer({
754
887
 
755
888
  <span class="param-type">
756
889
 
757
- Array.&lt;<a onclick="getTypeHTML(event)" link="ClusterInfo.html">ClusterInfo</a>>
890
+ Array.&lt;(UniqueValueClusterlnfo|ClassBreakClusterlnfo)>
758
891
 
759
892
  </span>
760
893
 
@@ -826,6 +959,24 @@ const clusterRenderer = new ClusterRenderer({
826
959
  <td class="name"><code><p>默认的聚合点符号,目前仅支持SimpleMarkerSymbol|PcitureMarkerSymbol部分样式</p></code></td>
827
960
  </tr>
828
961
 
962
+ <tr class="deep-level-0">
963
+ <td class="name"><code><a href="#id">id</a></code></td>
964
+ <td class="name">
965
+ <code>
966
+
967
+ <span class="param-type">
968
+
969
+ String
970
+
971
+ </span>
972
+
973
+
974
+
975
+ </code>
976
+ </td>
977
+ <td class="name"><code><p>渲染器id</p></code></td>
978
+ </tr>
979
+
829
980
  <tr class="deep-level-0">
830
981
  <td class="name"><code><a href="#isExpandOnClick">isExpandOnClick</a></code></td>
831
982
  <td class="name">
@@ -1004,7 +1155,7 @@ const clusterRenderer = new ClusterRenderer({
1004
1155
 
1005
1156
  <span class="param-type">
1006
1157
 
1007
- Array.&lt;<a onclick="getTypeHTML(event)" link="ClusterInfo.html">ClusterInfo</a>>
1158
+ Array.&lt;(UniqueValueClusterlnfo|ClassBreakClusterlnfo)>
1008
1159
 
1009
1160
  </span>
1010
1161
 
@@ -1285,6 +1436,90 @@ const clusterRenderer = new ClusterRenderer({
1285
1436
 
1286
1437
 
1287
1438
 
1439
+
1440
+
1441
+
1442
+
1443
+
1444
+
1445
+
1446
+
1447
+
1448
+
1449
+
1450
+ </dl>
1451
+
1452
+
1453
+
1454
+
1455
+
1456
+ </div>
1457
+
1458
+ <div class="member">
1459
+
1460
+ <span class="method-parameter is-pulled-right">
1461
+ <label>类型:</label>
1462
+
1463
+ <span class="param-type">
1464
+
1465
+ String
1466
+
1467
+ </span>
1468
+
1469
+
1470
+
1471
+ </span>
1472
+
1473
+ <h4 class="name" id="id">
1474
+ <a class="href-link" href="#id">#</a>
1475
+
1476
+
1477
+ <span class='tag'>readonly</span>
1478
+
1479
+
1480
+ <span class="code-name">
1481
+ id
1482
+ </span>
1483
+
1484
+ </h4>
1485
+
1486
+
1487
+
1488
+
1489
+ <div class="description">
1490
+ <p>渲染器id</p>
1491
+ </div>
1492
+
1493
+
1494
+
1495
+
1496
+
1497
+ <dl class="details">
1498
+
1499
+
1500
+
1501
+
1502
+
1503
+
1504
+ <dt class="inherited-from">Inherited From:</dt>
1505
+ <dd class="inherited-from"><ul class="dummy"><li>
1506
+ <a goto="id" link="BaseRenderer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="BaseRenderer#id" BaseRenderer.html#id>BaseRenderer#id</a>
1507
+ </li></ul></dd>
1508
+
1509
+
1510
+
1511
+
1512
+
1513
+
1514
+
1515
+
1516
+
1517
+
1518
+
1519
+
1520
+
1521
+
1522
+
1288
1523
 
1289
1524
 
1290
1525
 
@@ -1652,6 +1887,11 @@ const clusterRenderer = new ClusterRenderer({
1652
1887
 
1653
1888
 
1654
1889
 
1890
+ <dt class="tag-overrides">Overrides:</dt>
1891
+ <dd class="tag-overrides"><ul class="dummy"><li>
1892
+ <a class="mapgis-link-name" title="BaseRenderer#type" BaseRenderer.html#type>BaseRenderer#type</a>
1893
+ </li></ul></dd>
1894
+
1655
1895
 
1656
1896
 
1657
1897
 
@@ -519,6 +519,24 @@ new Extent({
519
519
  <td class="name"><code><p>中心点</p></code></td>
520
520
  </tr>
521
521
 
522
+ <tr class="deep-level-0">
523
+ <td class="name"><code><a href="#extendOptions">extendOptions</a></code></td>
524
+ <td class="name">
525
+ <code>
526
+
527
+ <span class="param-type">
528
+
529
+ Object
530
+
531
+ </span>
532
+
533
+
534
+
535
+ </code>
536
+ </td>
537
+ <td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
538
+ </tr>
539
+
522
540
  <tr class="deep-level-0">
523
541
  <td class="name"><code><a href="#extent">extent</a></code></td>
524
542
  <td class="name">
@@ -782,6 +800,91 @@ new Extent({
782
800
 
783
801
 
784
802
 
803
+
804
+
805
+
806
+
807
+
808
+
809
+
810
+
811
+ </dl>
812
+
813
+
814
+
815
+
816
+
817
+ </div>
818
+
819
+ <div class="member">
820
+
821
+ <span class="method-parameter is-pulled-right">
822
+ <label>类型:</label>
823
+
824
+ <span class="param-type">
825
+
826
+ Object
827
+
828
+ </span>
829
+
830
+
831
+
832
+ </span>
833
+
834
+ <h4 class="name" id="extendOptions">
835
+ <a class="href-link" href="#extendOptions">#</a>
836
+
837
+ <span class="code-name">
838
+ extendOptions
839
+ </span>
840
+
841
+ </h4>
842
+
843
+
844
+
845
+
846
+ <div class="description">
847
+ <p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
848
+ </div>
849
+
850
+
851
+
852
+
853
+
854
+ <dl class="details">
855
+
856
+
857
+
858
+
859
+
860
+
861
+ <dt class="inherited-from">Inherited From:</dt>
862
+ <dd class="inherited-from"><ul class="dummy"><li>
863
+ <a goto="extendOptions" link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry#extendOptions" Geometry.html#extendOptions>Geometry#extendOptions</a>
864
+ </li></ul></dd>
865
+
866
+
867
+
868
+
869
+
870
+
871
+
872
+
873
+
874
+
875
+
876
+
877
+
878
+
879
+
880
+
881
+
882
+
883
+
884
+ <dt class="tag-default">Default Value:</dt>
885
+ <dd class="tag-default"><ul class="dummy">
886
+ <li>{}</li>
887
+ </ul></dd>
785
888
 
786
889
 
787
890
 
@@ -451,6 +451,24 @@ const extrudeSymbol3DLayer = new ExtrudeSymbol3DLayer({
451
451
  <td class="name"><code><p>符号的额外构造参数,该构造参数是地图引擎的额外构造参数,在此设置了之后,会覆盖该符号转换好地图引擎的构造参数</p></code></td>
452
452
  </tr>
453
453
 
454
+ <tr class="deep-level-0">
455
+ <td class="name"><code><a href="#id">id</a></code></td>
456
+ <td class="name">
457
+ <code>
458
+
459
+ <span class="param-type">
460
+
461
+ String
462
+
463
+ </span>
464
+
465
+
466
+
467
+ </code>
468
+ </td>
469
+ <td class="name"><code><p>符号id</p></code></td>
470
+ </tr>
471
+
454
472
  <tr class="deep-level-0">
455
473
  <td class="name"><code><a href="#material">material</a></code></td>
456
474
  <td class="name">
@@ -806,6 +824,95 @@ const extrudeSymbol3DLayer = new ExtrudeSymbol3DLayer({
806
824
 
807
825
 
808
826
 
827
+ <dt class="tag-default">Default Value:</dt>
828
+ <dd class="tag-default"><ul class="dummy">
829
+ <li>{}</li>
830
+ </ul></dd>
831
+
832
+
833
+
834
+
835
+
836
+
837
+
838
+
839
+ </dl>
840
+
841
+
842
+
843
+
844
+
845
+ </div>
846
+
847
+ <div class="member">
848
+
849
+ <span class="method-parameter is-pulled-right">
850
+ <label>类型:</label>
851
+
852
+ <span class="param-type">
853
+
854
+ String
855
+
856
+ </span>
857
+
858
+
859
+
860
+ </span>
861
+
862
+ <h4 class="name" id="id">
863
+ <a class="href-link" href="#id">#</a>
864
+
865
+
866
+ <span class='tag'>readonly</span>
867
+
868
+
869
+ <span class="code-name">
870
+ id
871
+ </span>
872
+
873
+ </h4>
874
+
875
+
876
+
877
+
878
+ <div class="description">
879
+ <p>符号id</p>
880
+ </div>
881
+
882
+
883
+
884
+
885
+
886
+ <dl class="details">
887
+
888
+
889
+
890
+
891
+
892
+
893
+ <dt class="inherited-from">Inherited From:</dt>
894
+ <dd class="inherited-from"><ul class="dummy"><li>
895
+ <a goto="id" link="Symbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Symbol#id" Symbol.html#id>Symbol#id</a>
896
+ </li></ul></dd>
897
+
898
+
899
+
900
+
901
+
902
+
903
+
904
+
905
+
906
+
907
+
908
+
909
+
910
+
911
+
912
+
913
+
914
+
915
+
809
916
 
810
917
 
811
918