@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.
- package/README.md +9 -44
- package/dist/es5/webclient-common.min.js +15 -4
- package/dist/webclient-common-es6.min.js +16 -5
- package/documention/ArcGISMapImageSubLayer.html +311 -7
- package/documention/ArcGISMapServer.html +404 -0
- package/documention/ArcGISTileLayer.html +116 -8
- package/documention/BaseRenderer.html +239 -0
- package/documention/BaseServer.html +1 -1
- package/documention/BaseView.html +457 -2
- package/documention/Callout3D.html +107 -0
- package/documention/Cesium3DTilesCacheLayer.html +131 -85
- package/documention/Circle.html +103 -0
- package/documention/ClassBreakInfo.html +0 -217
- package/documention/ClassBreakRenderer.html +395 -5
- package/documention/ClusterRenderer.html +245 -5
- package/documention/Extent.html +103 -0
- package/documention/ExtrudeSymbol3DLayer.html +107 -0
- package/documention/FeatureLayer.html +116 -8
- package/documention/FillSymbol.html +107 -0
- package/documention/FillSymbol3DLayer.html +107 -0
- package/documention/Font.html +3 -3
- package/documention/GeoJSONLayer.html +116 -8
- package/documention/Geometry.html +131 -0
- package/documention/GraphicsLayer.html +116 -8
- package/documention/GroupLayer.html +118 -10
- package/documention/HeatmapRenderer.html +107 -0
- package/documention/IGSMapImageSubLayer.html +304 -0
- package/documention/IGSSceneSubLayer.html +213 -33
- package/documention/IGSTileLayer.html +116 -8
- package/documention/IGSVectorTileLayer.html +198 -14
- package/documention/IconSymbol3DLayer.html +107 -0
- package/documention/LabelClass.html +7 -2
- package/documention/Layer.html +244 -9
- package/documention/LineCallout3D.html +107 -0
- package/documention/LineString.html +103 -0
- package/documention/LineSymbol.html +107 -0
- package/documention/LineSymbol3DLayer.html +107 -0
- package/documention/M3DModelCacheLayer.html +121 -67
- package/documention/M3DServer.html +1 -1
- package/documention/Map.html +28 -1
- package/documention/MapGISTextSymbol.html +107 -0
- package/documention/MapImageLayer.html +527 -16
- package/documention/MapView.html +203 -2
- package/documention/MarkerSymbol.html +107 -0
- package/documention/MultiLineString.html +103 -0
- package/documention/MultiPoint.html +103 -0
- package/documention/MultiPolygon.html +103 -0
- package/documention/OGCLayer.html +116 -8
- package/documention/ObjectSymbol3DLayer.html +107 -0
- package/documention/OverlayLayer.html +116 -8
- package/documention/PathSymbol3DLayer.html +107 -0
- package/documention/PictureFillSymbol.html +168 -7
- package/documention/PoiServer.html +1 -1
- package/documention/Point.html +103 -0
- package/documention/PointSymbol3D.html +1 -1
- package/documention/Polygon.html +103 -0
- package/documention/Projection.html +421 -0
- package/documention/RandomRenderer.html +107 -0
- package/documention/RankRenderer.html +107 -0
- package/documention/RootServer.html +1 -1
- package/documention/SceneLayer.html +116 -8
- package/documention/SceneView.html +10164 -130
- package/documention/SimpleFillSymbol.html +107 -0
- package/documention/SimpleRenderer.html +107 -0
- package/documention/SketchBaseDrawTool.html +181 -3
- package/documention/SketchCircleDrawTool.html +159 -3
- package/documention/SketchEditor.html +1 -1
- package/documention/SketchEditorCesium.html +1 -1
- 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/SubLayer.html +296 -26
- package/documention/Symbol.html +133 -0
- package/documention/Symbol3DLayer.html +107 -0
- package/documention/Symbol3DVerticalOffset.html +107 -0
- package/documention/TerrainCacheLayer.html +132 -164
- package/documention/TextSymbol.html +107 -0
- package/documention/TextSymbol3DLayer.html +107 -0
- package/documention/ThemeServer.html +1 -1
- package/documention/TileLayer.html +116 -8
- package/documention/TileServer.html +1 -1
- package/documention/UniqueValueInfo.html +0 -217
- package/documention/UniqueValueRenderer.html +107 -0
- package/documention/UnknownLayer.html +116 -8
- package/documention/VectorTileLayer.html +116 -8
- package/documention/VectorTileSubLayer.html +304 -0
- package/documention/WFSLayer.html +116 -8
- package/documention/WMSLayer.html +116 -8
- package/documention/WMSServer.html +1 -1
- package/documention/WMSSubLayer.html +218 -7
- package/documention/WMTSLayer.html +116 -8
- package/documention/WMTSServer.html +1 -1
- package/documention/WMTSSubLayer.html +116 -8
- package/documention/WaterSymbol3DLayer.html +107 -0
- package/documention/WebTileLayer.html +116 -8
- package/documention/global.html +454 -4
- package/documention/index.html +47 -44
- 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 +13 -13
|
@@ -102,6 +102,60 @@
|
|
|
102
102
|
|
|
103
103
|
|
|
104
104
|
|
|
105
|
+
<tr class="deep-level-1">
|
|
106
|
+
|
|
107
|
+
<td class="name"><code>color</code></td>
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
<td class="type">
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
<span class="param-type">
|
|
114
|
+
|
|
115
|
+
<a link="Color.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Color" Color.html>Color</a>
|
|
116
|
+
|
|
117
|
+
</span>
|
|
118
|
+
|
|
|
119
|
+
|
|
120
|
+
<span class="param-type">
|
|
121
|
+
|
|
122
|
+
String
|
|
123
|
+
|
|
124
|
+
</span>
|
|
125
|
+
|
|
|
126
|
+
|
|
127
|
+
<span class="param-type">
|
|
128
|
+
|
|
129
|
+
Array
|
|
130
|
+
|
|
131
|
+
</span>
|
|
132
|
+
|
|
|
133
|
+
|
|
134
|
+
<span class="param-type">
|
|
135
|
+
|
|
136
|
+
Object
|
|
137
|
+
|
|
138
|
+
</span>
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
</td>
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
<td class="default">
|
|
147
|
+
|
|
148
|
+
new Color(255, 255, 255, 1)
|
|
149
|
+
|
|
150
|
+
</td>
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
<td class="description last"><p>颜色</p></td>
|
|
154
|
+
</tr>
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
105
159
|
<tr class="deep-level-1">
|
|
106
160
|
|
|
107
161
|
<td class="name"><code>url</code></td>
|
|
@@ -500,7 +554,7 @@ const pictureFillSymbol = new PictureFillSymbol({
|
|
|
500
554
|
|
|
501
555
|
</code>
|
|
502
556
|
</td>
|
|
503
|
-
<td class="name"><code><p
|
|
557
|
+
<td class="name"><code><p>颜色(重新修改默认值)</p></code></td>
|
|
504
558
|
</tr>
|
|
505
559
|
|
|
506
560
|
<tr class="deep-level-0">
|
|
@@ -539,6 +593,24 @@ const pictureFillSymbol = new PictureFillSymbol({
|
|
|
539
593
|
<td class="name"><code><p>简单填充符号高度,默认为12,单位像素</p></code></td>
|
|
540
594
|
</tr>
|
|
541
595
|
|
|
596
|
+
<tr class="deep-level-0">
|
|
597
|
+
<td class="name"><code><a href="#id">id</a></code></td>
|
|
598
|
+
<td class="name">
|
|
599
|
+
<code>
|
|
600
|
+
|
|
601
|
+
<span class="param-type">
|
|
602
|
+
|
|
603
|
+
String
|
|
604
|
+
|
|
605
|
+
</span>
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
</code>
|
|
610
|
+
</td>
|
|
611
|
+
<td class="name"><code><p>符号id</p></code></td>
|
|
612
|
+
</tr>
|
|
613
|
+
|
|
542
614
|
<tr class="deep-level-0">
|
|
543
615
|
<td class="name"><code><a href="#outline">outline</a></code></td>
|
|
544
616
|
<td class="name">
|
|
@@ -724,7 +796,7 @@ const pictureFillSymbol = new PictureFillSymbol({
|
|
|
724
796
|
|
|
725
797
|
|
|
726
798
|
<div class="description">
|
|
727
|
-
<p
|
|
799
|
+
<p>颜色(重新修改默认值)</p>
|
|
728
800
|
</div>
|
|
729
801
|
|
|
730
802
|
|
|
@@ -738,13 +810,13 @@ const pictureFillSymbol = new PictureFillSymbol({
|
|
|
738
810
|
|
|
739
811
|
|
|
740
812
|
|
|
741
|
-
<dt class="inherited-from">Inherited From:</dt>
|
|
742
|
-
<dd class="inherited-from"><ul class="dummy"><li>
|
|
743
|
-
<a goto="color" link="Symbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Symbol#color" Symbol.html#color>Symbol#color</a>
|
|
744
|
-
</li></ul></dd>
|
|
745
|
-
|
|
746
813
|
|
|
747
814
|
|
|
815
|
+
<dt class="tag-overrides">Overrides:</dt>
|
|
816
|
+
<dd class="tag-overrides"><ul class="dummy"><li>
|
|
817
|
+
<a class="mapgis-link-name" title="FillSymbol#color" FillSymbol.html#color>FillSymbol#color</a>
|
|
818
|
+
</li></ul></dd>
|
|
819
|
+
|
|
748
820
|
|
|
749
821
|
|
|
750
822
|
|
|
@@ -841,6 +913,11 @@ const pictureFillSymbol = new PictureFillSymbol({
|
|
|
841
913
|
|
|
842
914
|
|
|
843
915
|
|
|
916
|
+
<dt class="tag-default">Default Value:</dt>
|
|
917
|
+
<dd class="tag-default"><ul class="dummy">
|
|
918
|
+
<li>{}</li>
|
|
919
|
+
</ul></dd>
|
|
920
|
+
|
|
844
921
|
|
|
845
922
|
|
|
846
923
|
|
|
@@ -912,6 +989,90 @@ const pictureFillSymbol = new PictureFillSymbol({
|
|
|
912
989
|
|
|
913
990
|
|
|
914
991
|
|
|
992
|
+
|
|
993
|
+
|
|
994
|
+
|
|
995
|
+
|
|
996
|
+
|
|
997
|
+
|
|
998
|
+
|
|
999
|
+
|
|
1000
|
+
|
|
1001
|
+
|
|
1002
|
+
|
|
1003
|
+
</dl>
|
|
1004
|
+
|
|
1005
|
+
|
|
1006
|
+
|
|
1007
|
+
|
|
1008
|
+
|
|
1009
|
+
</div>
|
|
1010
|
+
|
|
1011
|
+
<div class="member">
|
|
1012
|
+
|
|
1013
|
+
<span class="method-parameter is-pulled-right">
|
|
1014
|
+
<label>类型:</label>
|
|
1015
|
+
|
|
1016
|
+
<span class="param-type">
|
|
1017
|
+
|
|
1018
|
+
String
|
|
1019
|
+
|
|
1020
|
+
</span>
|
|
1021
|
+
|
|
1022
|
+
|
|
1023
|
+
|
|
1024
|
+
</span>
|
|
1025
|
+
|
|
1026
|
+
<h4 class="name" id="id">
|
|
1027
|
+
<a class="href-link" href="#id">#</a>
|
|
1028
|
+
|
|
1029
|
+
|
|
1030
|
+
<span class='tag'>readonly</span>
|
|
1031
|
+
|
|
1032
|
+
|
|
1033
|
+
<span class="code-name">
|
|
1034
|
+
id
|
|
1035
|
+
</span>
|
|
1036
|
+
|
|
1037
|
+
</h4>
|
|
1038
|
+
|
|
1039
|
+
|
|
1040
|
+
|
|
1041
|
+
|
|
1042
|
+
<div class="description">
|
|
1043
|
+
<p>符号id</p>
|
|
1044
|
+
</div>
|
|
1045
|
+
|
|
1046
|
+
|
|
1047
|
+
|
|
1048
|
+
|
|
1049
|
+
|
|
1050
|
+
<dl class="details">
|
|
1051
|
+
|
|
1052
|
+
|
|
1053
|
+
|
|
1054
|
+
|
|
1055
|
+
|
|
1056
|
+
|
|
1057
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
1058
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
1059
|
+
<a goto="id" link="Symbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Symbol#id" Symbol.html#id>Symbol#id</a>
|
|
1060
|
+
</li></ul></dd>
|
|
1061
|
+
|
|
1062
|
+
|
|
1063
|
+
|
|
1064
|
+
|
|
1065
|
+
|
|
1066
|
+
|
|
1067
|
+
|
|
1068
|
+
|
|
1069
|
+
|
|
1070
|
+
|
|
1071
|
+
|
|
1072
|
+
|
|
1073
|
+
|
|
1074
|
+
|
|
1075
|
+
|
|
915
1076
|
|
|
916
1077
|
|
|
917
1078
|
|
|
@@ -213,7 +213,7 @@ const { PoiServer } = Zondy.Service
|
|
|
213
213
|
import { PoiServer } from "@mapgis/webclient-common"
|
|
214
214
|
const poiServer = new PoiServer({
|
|
215
215
|
//服务基地址
|
|
216
|
-
url: 'http://
|
|
216
|
+
url: 'http://192.168.82.89:8089/igs/rest/services/兴趣点/PoiServer'
|
|
217
217
|
})</code></pre>
|
|
218
218
|
|
|
219
219
|
|
package/documention/Point.html
CHANGED
|
@@ -349,6 +349,24 @@ new Point({
|
|
|
349
349
|
<td class="name"><code><p>几何点的坐标数组</p></code></td>
|
|
350
350
|
</tr>
|
|
351
351
|
|
|
352
|
+
<tr class="deep-level-0">
|
|
353
|
+
<td class="name"><code><a href="#extendOptions">extendOptions</a></code></td>
|
|
354
|
+
<td class="name">
|
|
355
|
+
<code>
|
|
356
|
+
|
|
357
|
+
<span class="param-type">
|
|
358
|
+
|
|
359
|
+
Object
|
|
360
|
+
|
|
361
|
+
</span>
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
</code>
|
|
366
|
+
</td>
|
|
367
|
+
<td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
|
|
368
|
+
</tr>
|
|
369
|
+
|
|
352
370
|
<tr class="deep-level-0">
|
|
353
371
|
<td class="name"><code><a href="#extent">extent</a></code></td>
|
|
354
372
|
<td class="name">
|
|
@@ -486,6 +504,91 @@ new Point({
|
|
|
486
504
|
|
|
487
505
|
|
|
488
506
|
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
</dl>
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
</div>
|
|
522
|
+
|
|
523
|
+
<div class="member">
|
|
524
|
+
|
|
525
|
+
<span class="method-parameter is-pulled-right">
|
|
526
|
+
<label>类型:</label>
|
|
527
|
+
|
|
528
|
+
<span class="param-type">
|
|
529
|
+
|
|
530
|
+
Object
|
|
531
|
+
|
|
532
|
+
</span>
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
</span>
|
|
537
|
+
|
|
538
|
+
<h4 class="name" id="extendOptions">
|
|
539
|
+
<a class="href-link" href="#extendOptions">#</a>
|
|
540
|
+
|
|
541
|
+
<span class="code-name">
|
|
542
|
+
extendOptions
|
|
543
|
+
</span>
|
|
544
|
+
|
|
545
|
+
</h4>
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
<div class="description">
|
|
551
|
+
<p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
|
|
552
|
+
</div>
|
|
553
|
+
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
<dl class="details">
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
566
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
567
|
+
<a goto="extendOptions" link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry#extendOptions" Geometry.html#extendOptions>Geometry#extendOptions</a>
|
|
568
|
+
</li></ul></dd>
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
<dt class="tag-default">Default Value:</dt>
|
|
589
|
+
<dd class="tag-default"><ul class="dummy">
|
|
590
|
+
<li>{}</li>
|
|
591
|
+
</ul></dd>
|
|
489
592
|
|
|
490
593
|
|
|
491
594
|
|
|
@@ -273,7 +273,7 @@ const symbol = new PointSymbol3D({
|
|
|
273
273
|
new IconSymbol3DLayer({
|
|
274
274
|
// 设置资源地址
|
|
275
275
|
resource: new IconResource({
|
|
276
|
-
href: 'http://
|
|
276
|
+
href: 'http://192.168.82.91:8200/NoneSpatialData/image/icon.png'
|
|
277
277
|
}),
|
|
278
278
|
// 设置图标大小,单位像素
|
|
279
279
|
size: 50
|
package/documention/Polygon.html
CHANGED
|
@@ -420,6 +420,24 @@ new Polygon({
|
|
|
420
420
|
<td class="name"><code><p>几何点的坐标</p></code></td>
|
|
421
421
|
</tr>
|
|
422
422
|
|
|
423
|
+
<tr class="deep-level-0">
|
|
424
|
+
<td class="name"><code><a href="#extendOptions">extendOptions</a></code></td>
|
|
425
|
+
<td class="name">
|
|
426
|
+
<code>
|
|
427
|
+
|
|
428
|
+
<span class="param-type">
|
|
429
|
+
|
|
430
|
+
Object
|
|
431
|
+
|
|
432
|
+
</span>
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
</code>
|
|
437
|
+
</td>
|
|
438
|
+
<td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
|
|
439
|
+
</tr>
|
|
440
|
+
|
|
423
441
|
<tr class="deep-level-0">
|
|
424
442
|
<td class="name"><code><a href="#extent">extent</a></code></td>
|
|
425
443
|
<td class="name">
|
|
@@ -632,6 +650,91 @@ new Polygon({
|
|
|
632
650
|
|
|
633
651
|
|
|
634
652
|
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
</dl>
|
|
662
|
+
|
|
663
|
+
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
|
|
667
|
+
</div>
|
|
668
|
+
|
|
669
|
+
<div class="member">
|
|
670
|
+
|
|
671
|
+
<span class="method-parameter is-pulled-right">
|
|
672
|
+
<label>类型:</label>
|
|
673
|
+
|
|
674
|
+
<span class="param-type">
|
|
675
|
+
|
|
676
|
+
Object
|
|
677
|
+
|
|
678
|
+
</span>
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
</span>
|
|
683
|
+
|
|
684
|
+
<h4 class="name" id="extendOptions">
|
|
685
|
+
<a class="href-link" href="#extendOptions">#</a>
|
|
686
|
+
|
|
687
|
+
<span class="code-name">
|
|
688
|
+
extendOptions
|
|
689
|
+
</span>
|
|
690
|
+
|
|
691
|
+
</h4>
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
<div class="description">
|
|
697
|
+
<p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
|
|
698
|
+
</div>
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
<dl class="details">
|
|
705
|
+
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
|
|
710
|
+
|
|
711
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
712
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
713
|
+
<a goto="extendOptions" link="Geometry.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Geometry#extendOptions" Geometry.html#extendOptions>Geometry#extendOptions</a>
|
|
714
|
+
</li></ul></dd>
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
<dt class="tag-default">Default Value:</dt>
|
|
735
|
+
<dd class="tag-default"><ul class="dummy">
|
|
736
|
+
<li>{}</li>
|
|
737
|
+
</ul></dd>
|
|
635
738
|
|
|
636
739
|
|
|
637
740
|
|