@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
|
@@ -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>
|
|
@@ -417,7 +471,7 @@
|
|
|
417
471
|
|
|
418
472
|
|
|
419
473
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
420
|
-
const { PictureFillSymbol } =
|
|
474
|
+
const { PictureFillSymbol } = zondy.symbol
|
|
421
475
|
// ES6引入方式
|
|
422
476
|
import { PictureFillSymbol } from "@mapgis/webclient-common"
|
|
423
477
|
const pictureFillSymbol = new PictureFillSymbol({
|
|
@@ -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
|
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<div class="description">
|
|
38
38
|
<p>图片Marker符号,支持点几何对象,参考示例:<a href='#new-PictureMarkerSymbol'>[图片Marker样式]</a>
|
|
39
39
|
<br><br>[ES5引入方式]:<br/>
|
|
40
|
-
|
|
40
|
+
zondy.symbol.PictureMarkerSymbol() <br/>
|
|
41
41
|
[ES6引入方式]:<br/>
|
|
42
42
|
import { PictureMarkerSymbol } from "@mapgis/webclient-common" <br/>
|
|
43
43
|
<br/></p>
|
|
@@ -431,8 +431,8 @@ import { PictureMarkerSymbol } from "@mapgis/webclient-common" <br/>
|
|
|
431
431
|
|
|
432
432
|
|
|
433
433
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
434
|
-
const { PictureMarkerSymbol } =
|
|
435
|
-
const { Color } =
|
|
434
|
+
const { PictureMarkerSymbol } = zondy.symbol
|
|
435
|
+
const { Color } = zondy
|
|
436
436
|
// ES6引入方式
|
|
437
437
|
import { PictureMarkerSymbol, Color } from "@mapgis/webclient-common"
|
|
438
438
|
const pictureMarkerSymbol = new PictureMarkerSymbol({
|
|
@@ -598,7 +598,7 @@
|
|
|
598
598
|
|
|
599
599
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
600
600
|
// ES5引入方式
|
|
601
|
-
const { BaseServer } =
|
|
601
|
+
const { BaseServer } = zondy.service
|
|
602
602
|
// ES6引入方式
|
|
603
603
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
604
604
|
let BaseServer = new BaseServer({
|
|
@@ -699,7 +699,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
699
699
|
|
|
700
700
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
701
701
|
// ES5引入方式
|
|
702
|
-
const { BaseServer } =
|
|
702
|
+
const { BaseServer } = zondy.service
|
|
703
703
|
// ES6引入方式
|
|
704
704
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
705
705
|
let BaseServer = new BaseServer({
|
|
@@ -801,7 +801,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
801
801
|
|
|
802
802
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
803
803
|
// ES5引入方式
|
|
804
|
-
const { BaseServer,RequestInterceptor } =
|
|
804
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
805
805
|
// ES6引入方式
|
|
806
806
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
807
807
|
let BaseServer = new BaseServer({
|
|
@@ -910,7 +910,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
910
910
|
<pre class="prettyprint"><code>//设置超时时间
|
|
911
911
|
//初始化AddressServer服务对象
|
|
912
912
|
// ES5引入方式
|
|
913
|
-
const { BaseServer } =
|
|
913
|
+
const { BaseServer } = zondy.service
|
|
914
914
|
// ES6引入方式
|
|
915
915
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
916
916
|
let BaseServer = new BaseServer({
|
|
@@ -1007,7 +1007,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
1007
1007
|
|
|
1008
1008
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1009
1009
|
// ES5引入方式
|
|
1010
|
-
const { BaseServer,ResponseInterceptor } =
|
|
1010
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
1011
1011
|
// ES6引入方式
|
|
1012
1012
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
1013
1013
|
let BaseServer = new BaseServer({
|
|
@@ -1117,8 +1117,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
1117
1117
|
|
|
1118
1118
|
<pre class="prettyprint"><code>//设置token值
|
|
1119
1119
|
// ES5引入方式
|
|
1120
|
-
const { BaseServer } =
|
|
1121
|
-
const { TokenAttachType } =
|
|
1120
|
+
const { BaseServer } = zondy.service
|
|
1121
|
+
const { TokenAttachType } = zondy.enum
|
|
1122
1122
|
// ES6引入方式
|
|
1123
1123
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
1124
1124
|
let BaseServer = new BaseServer({
|
|
@@ -1219,7 +1219,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
1219
1219
|
|
|
1220
1220
|
<pre class="prettyprint"><code>//设置token名
|
|
1221
1221
|
// ES5引入方式
|
|
1222
|
-
const { BaseServer } =
|
|
1222
|
+
const { BaseServer } = zondy.service
|
|
1223
1223
|
// ES6引入方式
|
|
1224
1224
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1225
1225
|
let BaseServer = new BaseServer({
|
|
@@ -1316,7 +1316,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
1316
1316
|
|
|
1317
1317
|
<pre class="prettyprint"><code>//设置token值
|
|
1318
1318
|
// ES5引入方式
|
|
1319
|
-
const { BaseServer } =
|
|
1319
|
+
const { BaseServer } = zondy.service
|
|
1320
1320
|
// ES6引入方式
|
|
1321
1321
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1322
1322
|
let BaseServer = new BaseServer({
|
|
@@ -1413,7 +1413,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
1413
1413
|
|
|
1414
1414
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
1415
1415
|
// ES5引入方式
|
|
1416
|
-
const { BaseServer } =
|
|
1416
|
+
const { BaseServer } = zondy.service
|
|
1417
1417
|
// ES6引入方式
|
|
1418
1418
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1419
1419
|
let BaseServer = new BaseServer({
|
|
@@ -208,12 +208,12 @@
|
|
|
208
208
|
|
|
209
209
|
<pre class="prettyprint"><code>//初始化PoiServer服务对象
|
|
210
210
|
// ES5引入方式
|
|
211
|
-
const { PoiServer } =
|
|
211
|
+
const { PoiServer } = zondy.service
|
|
212
212
|
// ES6引入方式
|
|
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
|
|
|
@@ -613,7 +613,7 @@ import { PoiServer } 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/Point.html
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<div class="description">
|
|
38
38
|
<p>点几何对象
|
|
39
39
|
<br><br>[ES5引入方式]:<br/>
|
|
40
|
-
|
|
40
|
+
zondy.geometry.Point() <br/>
|
|
41
41
|
[ES6引入方式]:<br/>
|
|
42
42
|
import { Point } from "@mapgis/webclient-common" <br/>
|
|
43
43
|
<br/></p>
|
|
@@ -162,7 +162,7 @@ import { Point } from "@mapgis/webclient-common" <br/>
|
|
|
162
162
|
|
|
163
163
|
<td class="default">
|
|
164
164
|
|
|
165
|
-
new
|
|
165
|
+
new zondy.SpatialReference('EPSG:4326')
|
|
166
166
|
|
|
167
167
|
</td>
|
|
168
168
|
|
|
@@ -260,7 +260,7 @@ import { Point } from "@mapgis/webclient-common" <br/>
|
|
|
260
260
|
|
|
261
261
|
|
|
262
262
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
263
|
-
const { Point } =
|
|
263
|
+
const { Point } = zondy.geometry
|
|
264
264
|
// ES6引入方式
|
|
265
265
|
import { Point } from "@mapgis/webclient-common"
|
|
266
266
|
new Point({
|
|
@@ -272,8 +272,8 @@ new Point({
|
|
|
272
272
|
|
|
273
273
|
|
|
274
274
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
275
|
-
const { Point } =
|
|
276
|
-
const { SpatialReference } =
|
|
275
|
+
const { Point } = zondy.geometry
|
|
276
|
+
const { SpatialReference } = zondy
|
|
277
277
|
// ES6引入方式
|
|
278
278
|
import { Point, SpatialReference } from "@mapgis/webclient-common"
|
|
279
279
|
new Point({
|
|
@@ -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
|
|
|
@@ -1327,7 +1430,7 @@ new Point({
|
|
|
1327
1430
|
|
|
1328
1431
|
|
|
1329
1432
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1330
|
-
const { Point } =
|
|
1433
|
+
const { Point } = zondy.geometry
|
|
1331
1434
|
// ES6引入方式
|
|
1332
1435
|
import { Point } from "@mapgis/webclient-common"
|
|
1333
1436
|
const json = {
|
|
@@ -1525,7 +1628,7 @@ const point = new Point.fromJSON(json)</code></pre>
|
|
|
1525
1628
|
|
|
1526
1629
|
|
|
1527
1630
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1528
|
-
const { Point } =
|
|
1631
|
+
const { Point } = zondy.geometry
|
|
1529
1632
|
// ES6引入方式
|
|
1530
1633
|
import { Point } from "@mapgis/webclient-common"
|
|
1531
1634
|
const point = new Point({
|
|
@@ -1842,7 +1945,7 @@ const coordinates = Point.toCoordinates(point)</code></pre>
|
|
|
1842
1945
|
|
|
1843
1946
|
|
|
1844
1947
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1845
|
-
const { Point } =
|
|
1948
|
+
const { Point } = zondy.geometry
|
|
1846
1949
|
// ES6引入方式
|
|
1847
1950
|
import { Point } from "@mapgis/webclient-common"
|
|
1848
1951
|
const point1 = new Point({
|
|
@@ -2043,7 +2146,7 @@ point1.copy(point2)</code></pre>
|
|
|
2043
2146
|
|
|
2044
2147
|
|
|
2045
2148
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
2046
|
-
const { Point } =
|
|
2149
|
+
const { Point } = zondy.geometry
|
|
2047
2150
|
// ES6引入方式
|
|
2048
2151
|
import { Point } from "@mapgis/webclient-common"
|
|
2049
2152
|
const point1 = new Point({
|
|
@@ -2252,7 +2355,7 @@ const distance = point1.distance(point2)</code></pre>
|
|
|
2252
2355
|
|
|
2253
2356
|
|
|
2254
2357
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
2255
|
-
const { Point } =
|
|
2358
|
+
const { Point } = zondy.geometry
|
|
2256
2359
|
// ES6引入方式
|
|
2257
2360
|
import { Point } from "@mapgis/webclient-common"
|
|
2258
2361
|
const point1 = new Point({
|
|
@@ -2907,7 +3010,7 @@ const equal = point1.equals(point2)</code></pre>
|
|
|
2907
3010
|
|
|
2908
3011
|
|
|
2909
3012
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
2910
|
-
const { Point } =
|
|
3013
|
+
const { Point } = zondy.geometry
|
|
2911
3014
|
// ES6引入方式
|
|
2912
3015
|
import { Point } from "@mapgis/webclient-common"
|
|
2913
3016
|
const point1 = new Point({
|
|
@@ -4096,7 +4199,7 @@ view.on({
|
|
|
4096
4199
|
|
|
4097
4200
|
|
|
4098
4201
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
4099
|
-
const { Point } =
|
|
4202
|
+
const { Point } = zondy.geometry
|
|
4100
4203
|
// ES6引入方式
|
|
4101
4204
|
import { Point } from "@mapgis/webclient-common"
|
|
4102
4205
|
const point1 = new Point({
|
|
@@ -260,8 +260,8 @@
|
|
|
260
260
|
|
|
261
261
|
|
|
262
262
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
263
|
-
const { Color } =
|
|
264
|
-
const { PointSymbol3D, IconSymbol3DLayer, IconResource } =
|
|
263
|
+
const { Color } = zondy
|
|
264
|
+
const { PointSymbol3D, IconSymbol3DLayer, IconResource } = zondy.symbol
|
|
265
265
|
// ES6引入方式
|
|
266
266
|
import { PointSymbol3D, IconSymbol3DLayer, IconResource, Color } from "@mapgis/webclient-common"
|
|
267
267
|
|
|
@@ -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
|