@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
|
@@ -35,7 +35,10 @@
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
<div class="description">
|
|
38
|
-
<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.<
|
|
182
|
+
Array.<(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
|
|
|
@@ -475,8 +608,8 @@
|
|
|
475
608
|
|
|
476
609
|
|
|
477
610
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
478
|
-
const { ClusterRenderer } =
|
|
479
|
-
const { TextSymbol, SimpleMarkerSymbol } =
|
|
611
|
+
const { ClusterRenderer } = zondy.renderer
|
|
612
|
+
const { TextSymbol, SimpleMarkerSymbol } = zondy.symbol
|
|
480
613
|
// ES6引入方式
|
|
481
614
|
import { ClusterRenderer, TextSymbol, SimpleMarkerSymbol } from "@mapgis/webclient-common"
|
|
482
615
|
// 初始化聚类渲染器对象
|
|
@@ -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://
|
|
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.<
|
|
890
|
+
Array.<(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.<
|
|
1158
|
+
Array.<(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
|
|
package/documention/Config.html
CHANGED
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
|
|
314
314
|
|
|
315
315
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
316
|
-
const { Config } =
|
|
316
|
+
const { Config } = zondy.service
|
|
317
317
|
// ES6引入方式
|
|
318
318
|
import { Config } from "@mapgis/webclient-common
|
|
319
319
|
// 设置token名,如果不设置就默认维token
|
|
@@ -326,7 +326,7 @@ Config.tokenValue = '新token值'</code></pre>
|
|
|
326
326
|
|
|
327
327
|
|
|
328
328
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
329
|
-
const { Config } =
|
|
329
|
+
const { Config } = zondy.service
|
|
330
330
|
// ES6引入方式
|
|
331
331
|
import { Config } from "@mapgis/webclient-common
|
|
332
332
|
// 设置请求头,设置后,所有由基础库发出的链接都会带有该请求头
|
|
@@ -339,7 +339,7 @@ Config.headers = {
|
|
|
339
339
|
|
|
340
340
|
|
|
341
341
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
342
|
-
const { Config } =
|
|
342
|
+
const { Config } = zondy.service
|
|
343
343
|
// ES6引入方式
|
|
344
344
|
import { Config } from "@mapgis/webclient-common
|
|
345
345
|
// 当urls为''或undefined或者空数组时,设置的拦截器会应用到所有发送的请求上
|
|
@@ -363,7 +363,7 @@ Config.request.interceptors.push({
|
|
|
363
363
|
|
|
364
364
|
|
|
365
365
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
366
|
-
const { Config } =
|
|
366
|
+
const { Config } = zondy.service
|
|
367
367
|
// ES6引入方式
|
|
368
368
|
import { Config } from "@mapgis/webclient-common
|
|
369
369
|
// 指定要拦截的url
|
package/documention/Extent.html
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<div class="description">
|
|
38
38
|
<p>几何范围对象,即左下角和右上角组成的矩形范围几何对象,参考示例:<a href='#Extent'>[几何范围对象]</a>
|
|
39
39
|
<br><br>[ES5引入方式]:<br/>
|
|
40
|
-
|
|
40
|
+
zondy.geometry.Extent() <br/>
|
|
41
41
|
[ES6引入方式]:<br/>
|
|
42
42
|
import { Extent } from "@mapgis/webclient-common" <br/>
|
|
43
43
|
<br/></p>
|
|
@@ -323,7 +323,7 @@ import { Extent } from "@mapgis/webclient-common" <br/>
|
|
|
323
323
|
|
|
324
324
|
<td class="default">
|
|
325
325
|
|
|
326
|
-
new
|
|
326
|
+
new zondy.SpatialReference('EPSG:4326')
|
|
327
327
|
|
|
328
328
|
</td>
|
|
329
329
|
|
|
@@ -424,7 +424,7 @@ import { Extent } from "@mapgis/webclient-common" <br/>
|
|
|
424
424
|
|
|
425
425
|
|
|
426
426
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
427
|
-
const { Extent } =
|
|
427
|
+
const { Extent } = zondy.geometry
|
|
428
428
|
// ES6引入方式
|
|
429
429
|
import { Extent } from "@mapgis/webclient-common"
|
|
430
430
|
new Extent({
|
|
@@ -439,8 +439,8 @@ new Extent({
|
|
|
439
439
|
|
|
440
440
|
|
|
441
441
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
442
|
-
const { Extent } =
|
|
443
|
-
const { SpatialReference } =
|
|
442
|
+
const { Extent } = zondy.geometry
|
|
443
|
+
const { SpatialReference } = zondy
|
|
444
444
|
// ES6引入方式
|
|
445
445
|
import { Extent, SpatialReference } from "@mapgis/webclient-common"
|
|
446
446
|
new Extent({
|
|
@@ -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
|
|
|
@@ -2216,7 +2319,7 @@ new Extent({
|
|
|
2216
2319
|
|
|
2217
2320
|
|
|
2218
2321
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
2219
|
-
const { Extent } =
|
|
2322
|
+
const { Extent } = zondy.geometry
|
|
2220
2323
|
// ES6引入方式
|
|
2221
2324
|
import { Extent } from "@mapgis/webclient-common"
|
|
2222
2325
|
const json = {
|
|
@@ -2410,7 +2513,7 @@ const extent = Extent.fromJSON(json)</code></pre>
|
|
|
2410
2513
|
|
|
2411
2514
|
|
|
2412
2515
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
2413
|
-
const { Extent, Point } =
|
|
2516
|
+
const { Extent, Point } = zondy.geometry
|
|
2414
2517
|
// ES6引入方式
|
|
2415
2518
|
import { Extent, Point } from "@mapgis/webclient-common"
|
|
2416
2519
|
const extent = new Extent({
|
|
@@ -2740,7 +2843,7 @@ const newConst = extent.centerAt(point)</code></pre>
|
|
|
2740
2843
|
|
|
2741
2844
|
|
|
2742
2845
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
2743
|
-
const { Extent, Point } =
|
|
2846
|
+
const { Extent, Point } = zondy.geometry
|
|
2744
2847
|
// ES6引入方式
|
|
2745
2848
|
import { Extent, Point } from "@mapgis/webclient-common"
|
|
2746
2849
|
const extent = new Extent({
|
|
@@ -2937,7 +3040,7 @@ const isIn = extent.contains(point)</code></pre>
|
|
|
2937
3040
|
|
|
2938
3041
|
|
|
2939
3042
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
2940
|
-
const { Extent } =
|
|
3043
|
+
const { Extent } = zondy.geometry
|
|
2941
3044
|
// ES6引入方式
|
|
2942
3045
|
import { Extent } from "@mapgis/webclient-common"
|
|
2943
3046
|
const extent = new Extent({
|
|
@@ -3137,7 +3240,7 @@ const isEqual = extent.equals(extent2)</code></pre>
|
|
|
3137
3240
|
|
|
3138
3241
|
|
|
3139
3242
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
3140
|
-
const { Extent } =
|
|
3243
|
+
const { Extent } = zondy.geometry
|
|
3141
3244
|
// ES6引入方式
|
|
3142
3245
|
import { Extent } from "@mapgis/webclient-common"
|
|
3143
3246
|
const extent = new Extent({
|
|
@@ -3846,7 +3949,7 @@ extent.expand(1.5)</code></pre>
|
|
|
3846
3949
|
|
|
3847
3950
|
|
|
3848
3951
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
3849
|
-
const { Extent } =
|
|
3952
|
+
const { Extent } = zondy.geometry
|
|
3850
3953
|
// ES6引入方式
|
|
3851
3954
|
import { Extent } from "@mapgis/webclient-common"
|
|
3852
3955
|
const extent = new Extent({
|
|
@@ -4046,7 +4149,7 @@ const newExtent = extent.intersection(extent2)</code></pre>
|
|
|
4046
4149
|
|
|
4047
4150
|
|
|
4048
4151
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
4049
|
-
const { Extent, Point } =
|
|
4152
|
+
const { Extent, Point } = zondy.geometry
|
|
4050
4153
|
// ES6引入方式
|
|
4051
4154
|
import { Extent, Point } from "@mapgis/webclient-common"
|
|
4052
4155
|
const extent = new Extent({
|
|
@@ -4189,7 +4292,7 @@ const isIntersect = extent.intersects(point)</code></pre>
|
|
|
4189
4292
|
|
|
4190
4293
|
|
|
4191
4294
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
4192
|
-
const { Extent } =
|
|
4295
|
+
const { Extent } = zondy.geometry
|
|
4193
4296
|
// ES6引入方式
|
|
4194
4297
|
import { Extent } from "@mapgis/webclient-common"
|
|
4195
4298
|
const extent = new Extent({
|
|
@@ -4441,7 +4544,7 @@ const normalize = extent.normalize()</code></pre>
|
|
|
4441
4544
|
|
|
4442
4545
|
|
|
4443
4546
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
4444
|
-
const { Extent } =
|
|
4547
|
+
const { Extent } = zondy.geometry
|
|
4445
4548
|
// ES6引入方式
|
|
4446
4549
|
import { Extent } from "@mapgis/webclient-common"
|
|
4447
4550
|
const extent = new Extent({
|
|
@@ -5350,7 +5453,7 @@ extent.offset(0, 1, 0)</code></pre>
|
|
|
5350
5453
|
|
|
5351
5454
|
|
|
5352
5455
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
5353
|
-
const { Extent } =
|
|
5456
|
+
const { Extent } = zondy.geometry
|
|
5354
5457
|
// ES6引入方式
|
|
5355
5458
|
import { Extent } from "@mapgis/webclient-common"
|
|
5356
5459
|
const extent = new Extent({
|