@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
|
@@ -316,8 +316,8 @@ ColorMaterial: 纯色材质,通过设置纯色材质来改变拉伸区区的
|
|
|
316
316
|
|
|
317
317
|
|
|
318
318
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
319
|
-
const { Color } =
|
|
320
|
-
const { ExtrudeSymbol3DLayer, ColorMaterial } =
|
|
319
|
+
const { Color } = zondy
|
|
320
|
+
const { ExtrudeSymbol3DLayer, ColorMaterial } = zondy.symbol
|
|
321
321
|
// ES6引入方式
|
|
322
322
|
import { ExtrudeSymbol3DLayer, ColorMaterial, Color } from "@mapgis/webclient-common"
|
|
323
323
|
|
|
@@ -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
|
|
package/documention/Feature.html
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<div class="description">
|
|
38
38
|
<p>要素对象,示例如下:<a id='add-Feature'>[初始化要素对象]</a>
|
|
39
39
|
<br><br>[ES5引入方式]:<br/>
|
|
40
|
-
|
|
40
|
+
zondy.Feature() <br/>
|
|
41
41
|
[ES6引入方式]:<br/>
|
|
42
42
|
import { Feature } from "@mapgis/webclient-common" <br/>
|
|
43
43
|
<br/></p>
|
|
@@ -390,9 +390,9 @@ import { Feature } from "@mapgis/webclient-common" <br/>
|
|
|
390
390
|
|
|
391
391
|
|
|
392
392
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
393
|
-
const { Feature, Color } =
|
|
394
|
-
const { LineString } =
|
|
395
|
-
const { SimpleLineSymbol } =
|
|
393
|
+
const { Feature, Color } = zondy
|
|
394
|
+
const { LineString } = zondy.geometry
|
|
395
|
+
const { SimpleLineSymbol } = zondy.symbol
|
|
396
396
|
// ES6引入方式
|
|
397
397
|
import { Feature, Color, LineString, SimpleLineSymbol } from "@mapgis/webclient-common"
|
|
398
398
|
let feature = new Feature({
|
|
@@ -1543,8 +1543,8 @@ default = true</p>
|
|
|
1543
1543
|
|
|
1544
1544
|
<pre class="prettyprint"><code><caption><h7>通过传入的json构造并返回一个新的几何对象</h7></caption>\
|
|
1545
1545
|
// ES5引入方式
|
|
1546
|
-
const { LineString } =
|
|
1547
|
-
const { Feature } =
|
|
1546
|
+
const { LineString } = zondy.geometry
|
|
1547
|
+
const { Feature } = zondy
|
|
1548
1548
|
// ES6引入方式
|
|
1549
1549
|
import { LineString, Feature } from "@mapgis/webclient-common"
|
|
1550
1550
|
const json = {
|
|
@@ -1821,7 +1821,7 @@ const feature = new Feature.fromJSON(json)</code></pre>
|
|
|
1821
1821
|
|
|
1822
1822
|
|
|
1823
1823
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1824
|
-
const { Feature } =
|
|
1824
|
+
const { Feature } = zondy
|
|
1825
1825
|
// ES6引入方式
|
|
1826
1826
|
import { Feature } from "@mapgis/webclient-common"
|
|
1827
1827
|
//数据格式参考https://geojson.org/
|
|
@@ -547,7 +547,7 @@
|
|
|
547
547
|
|
|
548
548
|
</code>
|
|
549
549
|
</td>
|
|
550
|
-
<td class="name"><code><p
|
|
550
|
+
<td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
|
|
551
551
|
</tr>
|
|
552
552
|
|
|
553
553
|
<tr class="deep-level-0">
|
|
@@ -565,7 +565,7 @@
|
|
|
565
565
|
|
|
566
566
|
</code>
|
|
567
567
|
</td>
|
|
568
|
-
<td class="name"><code><p
|
|
568
|
+
<td class="name"><code><p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
|
|
569
569
|
</tr>
|
|
570
570
|
|
|
571
571
|
<tr class="deep-level-0">
|
|
@@ -629,7 +629,7 @@
|
|
|
629
629
|
|
|
630
630
|
<span class="param-type">
|
|
631
631
|
|
|
632
|
-
|
|
632
|
+
<a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
|
|
633
633
|
|
|
634
634
|
</span>
|
|
635
635
|
|
|
@@ -763,7 +763,7 @@
|
|
|
763
763
|
|
|
764
764
|
</code>
|
|
765
765
|
</td>
|
|
766
|
-
<td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1
|
|
766
|
+
<td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p></code></td>
|
|
767
767
|
</tr>
|
|
768
768
|
|
|
769
769
|
<tr class="deep-level-0">
|
|
@@ -820,6 +820,24 @@
|
|
|
820
820
|
<td class="name"><code><p>图层名称</p></code></td>
|
|
821
821
|
</tr>
|
|
822
822
|
|
|
823
|
+
<tr class="deep-level-0">
|
|
824
|
+
<td class="name"><code><a href="#tokenAttachType">tokenAttachType</a></code></td>
|
|
825
|
+
<td class="name">
|
|
826
|
+
<code>
|
|
827
|
+
|
|
828
|
+
<span class="param-type">
|
|
829
|
+
|
|
830
|
+
String
|
|
831
|
+
|
|
832
|
+
</span>
|
|
833
|
+
|
|
834
|
+
|
|
835
|
+
|
|
836
|
+
</code>
|
|
837
|
+
</td>
|
|
838
|
+
<td class="name"><code><p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p></code></td>
|
|
839
|
+
</tr>
|
|
840
|
+
|
|
823
841
|
<tr class="deep-level-0">
|
|
824
842
|
<td class="name"><code><a href="#tokenKey">tokenKey</a></code></td>
|
|
825
843
|
<td class="name">
|
|
@@ -1169,7 +1187,7 @@
|
|
|
1169
1187
|
|
|
1170
1188
|
|
|
1171
1189
|
<div class="description">
|
|
1172
|
-
<p
|
|
1190
|
+
<p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
|
|
1173
1191
|
</div>
|
|
1174
1192
|
|
|
1175
1193
|
|
|
@@ -1206,6 +1224,11 @@
|
|
|
1206
1224
|
|
|
1207
1225
|
|
|
1208
1226
|
|
|
1227
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1228
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1229
|
+
<li>{}</li>
|
|
1230
|
+
</ul></dd>
|
|
1231
|
+
|
|
1209
1232
|
|
|
1210
1233
|
|
|
1211
1234
|
|
|
@@ -1249,7 +1272,7 @@
|
|
|
1249
1272
|
|
|
1250
1273
|
|
|
1251
1274
|
<div class="description">
|
|
1252
|
-
<p
|
|
1275
|
+
<p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
|
|
1253
1276
|
</div>
|
|
1254
1277
|
|
|
1255
1278
|
|
|
@@ -1286,6 +1309,11 @@
|
|
|
1286
1309
|
|
|
1287
1310
|
|
|
1288
1311
|
|
|
1312
|
+
<dt class="tag-default">Default Value:</dt>
|
|
1313
|
+
<dd class="tag-default"><ul class="dummy">
|
|
1314
|
+
<li>{}</li>
|
|
1315
|
+
</ul></dd>
|
|
1316
|
+
|
|
1289
1317
|
|
|
1290
1318
|
|
|
1291
1319
|
|
|
@@ -1547,7 +1575,7 @@
|
|
|
1547
1575
|
|
|
1548
1576
|
<span class="param-type">
|
|
1549
1577
|
|
|
1550
|
-
|
|
1578
|
+
<a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
|
|
1551
1579
|
|
|
1552
1580
|
</span>
|
|
1553
1581
|
|
|
@@ -2160,7 +2188,7 @@
|
|
|
2160
2188
|
|
|
2161
2189
|
|
|
2162
2190
|
<div class="description">
|
|
2163
|
-
<p>图层透明度,0到1之间的值,0为完全透明,1
|
|
2191
|
+
<p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p>
|
|
2164
2192
|
</div>
|
|
2165
2193
|
|
|
2166
2194
|
|
|
@@ -2433,6 +2461,86 @@
|
|
|
2433
2461
|
|
|
2434
2462
|
|
|
2435
2463
|
|
|
2464
|
+
|
|
2465
|
+
|
|
2466
|
+
|
|
2467
|
+
|
|
2468
|
+
|
|
2469
|
+
|
|
2470
|
+
</dl>
|
|
2471
|
+
|
|
2472
|
+
|
|
2473
|
+
|
|
2474
|
+
|
|
2475
|
+
|
|
2476
|
+
</div>
|
|
2477
|
+
|
|
2478
|
+
<div class="member">
|
|
2479
|
+
|
|
2480
|
+
<span class="method-parameter is-pulled-right">
|
|
2481
|
+
<label>类型:</label>
|
|
2482
|
+
|
|
2483
|
+
<span class="param-type">
|
|
2484
|
+
|
|
2485
|
+
String
|
|
2486
|
+
|
|
2487
|
+
</span>
|
|
2488
|
+
|
|
2489
|
+
|
|
2490
|
+
|
|
2491
|
+
</span>
|
|
2492
|
+
|
|
2493
|
+
<h4 class="name" id="tokenAttachType">
|
|
2494
|
+
<a class="href-link" href="#tokenAttachType">#</a>
|
|
2495
|
+
|
|
2496
|
+
<span class="code-name">
|
|
2497
|
+
tokenAttachType
|
|
2498
|
+
</span>
|
|
2499
|
+
|
|
2500
|
+
</h4>
|
|
2501
|
+
|
|
2502
|
+
|
|
2503
|
+
|
|
2504
|
+
|
|
2505
|
+
<div class="description">
|
|
2506
|
+
<p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p>
|
|
2507
|
+
</div>
|
|
2508
|
+
|
|
2509
|
+
|
|
2510
|
+
|
|
2511
|
+
|
|
2512
|
+
|
|
2513
|
+
<dl class="details">
|
|
2514
|
+
|
|
2515
|
+
|
|
2516
|
+
|
|
2517
|
+
|
|
2518
|
+
|
|
2519
|
+
|
|
2520
|
+
<dt class="inherited-from">Inherited From:</dt>
|
|
2521
|
+
<dd class="inherited-from"><ul class="dummy"><li>
|
|
2522
|
+
<a goto="tokenAttachType" link="Layer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Layer#tokenAttachType" Layer.html#tokenAttachType>Layer#tokenAttachType</a>
|
|
2523
|
+
</li></ul></dd>
|
|
2524
|
+
|
|
2525
|
+
|
|
2526
|
+
|
|
2527
|
+
|
|
2528
|
+
|
|
2529
|
+
|
|
2530
|
+
|
|
2531
|
+
|
|
2532
|
+
|
|
2533
|
+
|
|
2534
|
+
|
|
2535
|
+
|
|
2536
|
+
|
|
2537
|
+
|
|
2538
|
+
|
|
2539
|
+
|
|
2540
|
+
|
|
2541
|
+
|
|
2542
|
+
|
|
2543
|
+
|
|
2436
2544
|
|
|
2437
2545
|
|
|
2438
2546
|
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
|
|
197
197
|
<pre class="prettyprint"><code>//igs2.0的要素服务
|
|
198
198
|
// ES5引入方式
|
|
199
|
-
const { FeatureServer } =
|
|
199
|
+
const { FeatureServer } = zondy.service
|
|
200
200
|
// ES6引入方式
|
|
201
201
|
import { FeatureServer } from "@mapgis/webclient-common"
|
|
202
202
|
const featureServer = new FeatureServer({
|
|
@@ -615,7 +615,7 @@ const featureServer = new FeatureServer({
|
|
|
615
615
|
|
|
616
616
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
617
617
|
// ES5引入方式
|
|
618
|
-
const { BaseServer } =
|
|
618
|
+
const { BaseServer } = zondy.service
|
|
619
619
|
// ES6引入方式
|
|
620
620
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
621
621
|
let BaseServer = new BaseServer({
|
|
@@ -716,7 +716,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
716
716
|
|
|
717
717
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
718
718
|
// ES5引入方式
|
|
719
|
-
const { BaseServer } =
|
|
719
|
+
const { BaseServer } = zondy.service
|
|
720
720
|
// ES6引入方式
|
|
721
721
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
722
722
|
let BaseServer = new BaseServer({
|
|
@@ -818,7 +818,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
818
818
|
|
|
819
819
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
820
820
|
// ES5引入方式
|
|
821
|
-
const { BaseServer,RequestInterceptor } =
|
|
821
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
822
822
|
// ES6引入方式
|
|
823
823
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
824
824
|
let BaseServer = new BaseServer({
|
|
@@ -927,7 +927,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
927
927
|
<pre class="prettyprint"><code>//设置超时时间
|
|
928
928
|
//初始化AddressServer服务对象
|
|
929
929
|
// ES5引入方式
|
|
930
|
-
const { BaseServer } =
|
|
930
|
+
const { BaseServer } = zondy.service
|
|
931
931
|
// ES6引入方式
|
|
932
932
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
933
933
|
let BaseServer = new BaseServer({
|
|
@@ -1024,7 +1024,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
1024
1024
|
|
|
1025
1025
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1026
1026
|
// ES5引入方式
|
|
1027
|
-
const { BaseServer,ResponseInterceptor } =
|
|
1027
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
1028
1028
|
// ES6引入方式
|
|
1029
1029
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
1030
1030
|
let BaseServer = new BaseServer({
|
|
@@ -1134,8 +1134,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
1134
1134
|
|
|
1135
1135
|
<pre class="prettyprint"><code>//设置token值
|
|
1136
1136
|
// ES5引入方式
|
|
1137
|
-
const { BaseServer } =
|
|
1138
|
-
const { TokenAttachType } =
|
|
1137
|
+
const { BaseServer } = zondy.service
|
|
1138
|
+
const { TokenAttachType } = zondy.enum
|
|
1139
1139
|
// ES6引入方式
|
|
1140
1140
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
1141
1141
|
let BaseServer = new BaseServer({
|
|
@@ -1236,7 +1236,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
1236
1236
|
|
|
1237
1237
|
<pre class="prettyprint"><code>//设置token名
|
|
1238
1238
|
// ES5引入方式
|
|
1239
|
-
const { BaseServer } =
|
|
1239
|
+
const { BaseServer } = zondy.service
|
|
1240
1240
|
// ES6引入方式
|
|
1241
1241
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1242
1242
|
let BaseServer = new BaseServer({
|
|
@@ -1333,7 +1333,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
1333
1333
|
|
|
1334
1334
|
<pre class="prettyprint"><code>//设置token值
|
|
1335
1335
|
// ES5引入方式
|
|
1336
|
-
const { BaseServer } =
|
|
1336
|
+
const { BaseServer } = zondy.service
|
|
1337
1337
|
// ES6引入方式
|
|
1338
1338
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1339
1339
|
let BaseServer = new BaseServer({
|
|
@@ -1430,7 +1430,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
1430
1430
|
|
|
1431
1431
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
1432
1432
|
// ES5引入方式
|
|
1433
|
-
const { BaseServer } =
|
|
1433
|
+
const { BaseServer } = zondy.service
|
|
1434
1434
|
// ES6引入方式
|
|
1435
1435
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1436
1436
|
let BaseServer = new BaseServer({
|
|
@@ -2135,7 +2135,7 @@ BaseServer.url = '新URL';</code></pre>
|
|
|
2135
2135
|
|
|
2136
2136
|
<pre class="prettyprint"><code>// 创建一个线要素
|
|
2137
2137
|
// ES5引入方式
|
|
2138
|
-
const { Feature } =
|
|
2138
|
+
const { Feature } = zondy
|
|
2139
2139
|
// ES6引入方式
|
|
2140
2140
|
import { Feature } from "@mapgis/webclient-common"
|
|
2141
2141
|
const lineString = new Feature({
|
|
@@ -2144,7 +2144,7 @@ const lineString = new Feature({
|
|
|
2144
2144
|
//可填空或者和系统库中的样式一一对应
|
|
2145
2145
|
symbol: {},
|
|
2146
2146
|
//设置几何
|
|
2147
|
-
geometry: new
|
|
2147
|
+
geometry: new zondy.geometry.LineString({
|
|
2148
2148
|
coordinates: [
|
|
2149
2149
|
[110.74, 32.41],
|
|
2150
2150
|
[112.89, 31.06],
|
|
@@ -2175,9 +2175,9 @@ featureServer.addFeature({
|
|
|
2175
2175
|
|
|
2176
2176
|
<pre class="prettyprint"><code>// 初始化资源服务
|
|
2177
2177
|
// ES5引入方式
|
|
2178
|
-
const { ResourceServer} =
|
|
2179
|
-
const { Point} =
|
|
2180
|
-
const { Feature } =
|
|
2178
|
+
const { ResourceServer} = zondy.service
|
|
2179
|
+
const { Point} = zondy.geometry
|
|
2180
|
+
const { Feature } = zondy
|
|
2181
2181
|
// ES6引入方式
|
|
2182
2182
|
import { ResourceServer,Point,Feature } from "@mapgis/webclient-common"
|
|
2183
2183
|
const resourceServer = new ResourceServer({
|
|
@@ -2253,8 +2253,8 @@ resourceServer.queryGDBPInfo({
|
|
|
2253
2253
|
|
|
2254
2254
|
<pre class="prettyprint"><code>// 初始化资源服务
|
|
2255
2255
|
// ES5引入方式
|
|
2256
|
-
const { MultiPoint} =
|
|
2257
|
-
const { Feature } =
|
|
2256
|
+
const { MultiPoint} = zondy.geometry
|
|
2257
|
+
const { Feature } = zondy
|
|
2258
2258
|
// ES6引入方式
|
|
2259
2259
|
import { MultiPoint,Feature } from "@mapgis/webclient-common"
|
|
2260
2260
|
const resourceServer = new ResourceServer({
|
|
@@ -5936,7 +5936,7 @@ CompareRectOnly表示是否仅比较要素的外包矩形,来判定是否与
|
|
|
5936
5936
|
|
|
5937
5937
|
<pre class="prettyprint"><code>featureServer.queryFeaturesInLayers({
|
|
5938
5938
|
// ES5引入方式
|
|
5939
|
-
const { Polygon } =
|
|
5939
|
+
const { Polygon } = zondy.geometry
|
|
5940
5940
|
// ES6引入方式
|
|
5941
5941
|
import { Polygon } from "@mapgis/webclient-common"
|
|
5942
5942
|
// 几何查询条件
|
|
@@ -6934,8 +6934,8 @@ import { Polygon } from "@mapgis/webclient-common"
|
|
|
6934
6934
|
|
|
6935
6935
|
<pre class="prettyprint"><code>// 创建线要素
|
|
6936
6936
|
// ES5引入方式
|
|
6937
|
-
const { Feature } =
|
|
6938
|
-
const { LineString } =
|
|
6937
|
+
const { Feature } = zondy
|
|
6938
|
+
const { LineString } = zondy.geometry
|
|
6939
6939
|
// ES6引入方式
|
|
6940
6940
|
import { Feature } from "@mapgis/webclient-common"
|
|
6941
6941
|
const lineString = new Feature({
|
|
@@ -6972,9 +6972,9 @@ featureServer.updateFeature({
|
|
|
6972
6972
|
|
|
6973
6973
|
<pre class="prettyprint"><code>// 初始化资源服务
|
|
6974
6974
|
// ES5引入方式
|
|
6975
|
-
const { ResourceServer } =
|
|
6976
|
-
const { Feature } =
|
|
6977
|
-
const { Point } =
|
|
6975
|
+
const { ResourceServer } = zondy.service
|
|
6976
|
+
const { Feature } = zondy
|
|
6977
|
+
const { Point } = zondy.geometry
|
|
6978
6978
|
// ES6引入方式
|
|
6979
6979
|
import { ResourceServer,Feature, Point} from "@mapgis/webclient-common"
|
|
6980
6980
|
const resourceServer = new ResourceServer({
|
|
@@ -7050,9 +7050,9 @@ resourceServer.queryGDBPInfo({
|
|
|
7050
7050
|
|
|
7051
7051
|
<pre class="prettyprint"><code>// 初始化资源服务
|
|
7052
7052
|
// ES5引入方式
|
|
7053
|
-
const { ResourceServer } =
|
|
7054
|
-
const { Feature } =
|
|
7055
|
-
const { MultiPoint } =
|
|
7053
|
+
const { ResourceServer } = zondy.service
|
|
7054
|
+
const { Feature } = zondy
|
|
7055
|
+
const { MultiPoint } = zondy.geometry
|
|
7056
7056
|
// ES6引入方式
|
|
7057
7057
|
import { ResourceServer,Feature,MultiPoint } from "@mapgis/webclient-common"
|
|
7058
7058
|
const resourceServer = new ResourceServer({
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<div class="description">
|
|
38
38
|
<p>要素集合类,示例如下:<a id='add-FeatureSet'>[初始化要素集合对象]</a>
|
|
39
39
|
<br><br>[ES5引入方式]:<br/>
|
|
40
|
-
|
|
40
|
+
zondy.FeatureSet() <br/>
|
|
41
41
|
[ES6引入方式]:<br/>
|
|
42
42
|
import { FeatureSet } from "@mapgis/webclient-common" <br/>
|
|
43
43
|
<br/></p>
|
|
@@ -193,7 +193,7 @@ import { FeatureSet } from "@mapgis/webclient-common" <br/>
|
|
|
193
193
|
|
|
194
194
|
<td class="default">
|
|
195
195
|
|
|
196
|
-
new
|
|
196
|
+
new zondy.SpatialReference('EPSG:4326')
|
|
197
197
|
|
|
198
198
|
</td>
|
|
199
199
|
|
|
@@ -288,7 +288,7 @@ import { FeatureSet } from "@mapgis/webclient-common" <br/>
|
|
|
288
288
|
|
|
289
289
|
|
|
290
290
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
291
|
-
const { FeatureSet } =
|
|
291
|
+
const { FeatureSet } = zondy
|
|
292
292
|
// ES6引入方式
|
|
293
293
|
import { FeatureSet } from "@mapgis/webclient-common"
|
|
294
294
|
//创建要素集合
|
|
@@ -390,7 +390,7 @@ default 随机id</p></code></td>
|
|
|
390
390
|
</code>
|
|
391
391
|
</td>
|
|
392
392
|
<td class="name"><code><p>要素集合的参考系
|
|
393
|
-
default new
|
|
393
|
+
default new zondy.SpatialReference('EPSG:4326')</p></code></td>
|
|
394
394
|
</tr>
|
|
395
395
|
|
|
396
396
|
<tr class="deep-level-0">
|
|
@@ -599,7 +599,7 @@ default 随机id</p>
|
|
|
599
599
|
|
|
600
600
|
<div class="description">
|
|
601
601
|
<p>要素集合的参考系
|
|
602
|
-
default new
|
|
602
|
+
default new zondy.SpatialReference('EPSG:4326')</p>
|
|
603
603
|
</div>
|
|
604
604
|
|
|
605
605
|
|
|
@@ -1061,7 +1061,7 @@ default FeatureCollection</p>
|
|
|
1061
1061
|
|
|
1062
1062
|
|
|
1063
1063
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1064
|
-
const { FeatureSet } =
|
|
1064
|
+
const { FeatureSet } = zondy
|
|
1065
1065
|
// ES6引入方式
|
|
1066
1066
|
import { FeatureSet } from "@mapgis/webclient-common"
|
|
1067
1067
|
featureSet = FeatureSet.fromArray(
|
|
@@ -1397,7 +1397,7 @@ FeatureSet.fromGeoJSON({
|
|
|
1397
1397
|
|
|
1398
1398
|
|
|
1399
1399
|
<pre class="prettyprint"><code>// ES5引入方式
|
|
1400
|
-
const { FeatureSet } =
|
|
1400
|
+
const { FeatureSet } = zondy
|
|
1401
1401
|
// ES6引入方式
|
|
1402
1402
|
import { FeatureSet } from "@mapgis/webclient-common"
|
|
1403
1403
|
const json = {
|