@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.
Files changed (196) hide show
  1. package/README.md +12 -37
  2. package/dist/es5/webclient-common.min.js +15 -4
  3. package/dist/webclient-common-es6.min.js +16 -5
  4. package/documention/AddressServer.html +12 -12
  5. package/documention/ArcGISFeatureServer.html +10 -10
  6. package/documention/ArcGISGeometryServer.html +10 -10
  7. package/documention/ArcGISMapImageLayer.html +10 -10
  8. package/documention/ArcGISMapImageSubLayer.html +311 -7
  9. package/documention/ArcGISMapServer.html +414 -10
  10. package/documention/ArcGISTileLayer.html +121 -13
  11. package/documention/ArcGISVectorTileLayer.html +7 -7
  12. package/documention/ArcGISVectorTileServer.html +10 -10
  13. package/documention/BaseRenderer.html +239 -0
  14. package/documention/BaseServer.html +11 -11
  15. package/documention/BaseView.html +458 -3
  16. package/documention/Basemap.html +3 -3
  17. package/documention/Callout3D.html +107 -0
  18. package/documention/Cesium3DTilesCacheLayer.html +149 -177
  19. package/documention/Cesium3DTilesServer.html +11 -11
  20. package/documention/Circle.html +110 -7
  21. package/documention/ClassBreakInfo.html +0 -217
  22. package/documention/ClassBreakRenderer.html +413 -23
  23. package/documention/ClusterRenderer.html +247 -7
  24. package/documention/Config.html +4 -4
  25. package/documention/Extent.html +118 -15
  26. package/documention/ExtrudeSymbol3DLayer.html +109 -2
  27. package/documention/Feature.html +7 -7
  28. package/documention/FeatureLayer.html +116 -8
  29. package/documention/FeatureServer.html +27 -27
  30. package/documention/FeatureSet.html +7 -7
  31. package/documention/FillSymbol.html +107 -0
  32. package/documention/FillSymbol3DLayer.html +109 -2
  33. package/documention/Font.html +4 -4
  34. package/documention/GeoJSONLayer.html +142 -34
  35. package/documention/Geometry.html +138 -7
  36. package/documention/GeometryEngine.html +79 -79
  37. package/documention/GeometryServer.html +30 -30
  38. package/documention/GraphicsLayer.html +147 -39
  39. package/documention/GroupLayer.html +120 -12
  40. package/documention/HeatmapRenderer.html +107 -0
  41. package/documention/IGSFeatureLayer.html +25 -25
  42. package/documention/IGSMapImageLayer.html +46 -46
  43. package/documention/IGSMapImageSubLayer.html +307 -3
  44. package/documention/IGSSceneLayer.html +11 -11
  45. package/documention/IGSSceneSubLayer.html +213 -33
  46. package/documention/IGSTileLayer.html +126 -19
  47. package/documention/IGSVectorTileLayer.html +230 -43
  48. package/documention/IGSVectorTileSubLayer.html +5 -4
  49. package/documention/IconSymbol3DLayer.html +111 -4
  50. package/documention/ImageServer.html +11 -11
  51. package/documention/LabelClass.html +10 -5
  52. package/documention/LabelSymbol3D.html +2 -2
  53. package/documention/Layer.html +244 -9
  54. package/documention/LineCallout3D.html +107 -0
  55. package/documention/LineString.html +113 -10
  56. package/documention/LineSymbol.html +107 -0
  57. package/documention/LineSymbol3D.html +2 -2
  58. package/documention/LineSymbol3DLayer.html +109 -2
  59. package/documention/M3DModelCacheLayer.html +133 -79
  60. package/documention/M3DServer.html +12 -12
  61. package/documention/Map.html +32 -5
  62. package/documention/MapGISTextSymbol.html +110 -3
  63. package/documention/MapImageLayer.html +527 -16
  64. package/documention/MapServer.html +14 -14
  65. package/documention/MapView.html +204 -3
  66. package/documention/MarkerSymbol.html +107 -0
  67. package/documention/MultiLineString.html +116 -13
  68. package/documention/MultiPoint.html +113 -10
  69. package/documention/MultiPolygon.html +112 -9
  70. package/documention/OGCLayer.html +116 -8
  71. package/documention/ObjectSymbol3DLayer.html +111 -4
  72. package/documention/OutStatistic.html +1 -1
  73. package/documention/OverlayLayer.html +116 -8
  74. package/documention/PathSymbol3DLayer.html +109 -2
  75. package/documention/PictureFillSymbol.html +169 -8
  76. package/documention/PictureMarkerSymbol.html +3 -3
  77. package/documention/PlotServer.html +10 -10
  78. package/documention/PoiServer.html +12 -12
  79. package/documention/Point.html +115 -12
  80. package/documention/PointSymbol3D.html +3 -3
  81. package/documention/Polygon.html +117 -14
  82. package/documention/PolygonSymbol3D.html +2 -2
  83. package/documention/Projection.html +429 -8
  84. package/documention/RandomRenderer.html +108 -1
  85. package/documention/RankRenderer.html +109 -2
  86. package/documention/ResourceServer.html +150 -150
  87. package/documention/RootServer.html +12 -12
  88. package/documention/SceneLayer.html +116 -8
  89. package/documention/SceneServer.html +16 -16
  90. package/documention/SceneView.html +10164 -130
  91. package/documention/SecurityServer.html +12 -12
  92. package/documention/SimpleFillSymbol.html +110 -3
  93. package/documention/SimpleLineSymbol.html +3 -3
  94. package/documention/SimpleMarkerSymbol.html +3 -3
  95. package/documention/SimpleRenderer.html +116 -9
  96. package/documention/SizeVariable.html +1 -1
  97. package/documention/SketchBaseDrawTool.html +181 -3
  98. package/documention/SketchCircleDrawTool.html +159 -3
  99. package/documention/SketchEditor.html +2 -2
  100. package/documention/SketchEditorCesium.html +1 -1
  101. package/documention/SketchEditorVideo.html +2 -2
  102. package/documention/SketchEditorVideoBase.html +3 -3
  103. package/documention/SketchExtentDrawTool.html +159 -3
  104. package/documention/SketchFreehandPolygonDrawTool.html +159 -3
  105. package/documention/SketchFreehandPolylineDrawTool.html +159 -3
  106. package/documention/SketchPointDrawTool.html +159 -3
  107. package/documention/SketchPolygonDrawTool.html +318 -6
  108. package/documention/SketchPolylineDrawTool.html +318 -6
  109. package/documention/SpatialReference.html +1 -1
  110. package/documention/SubLayer.html +296 -26
  111. package/documention/Symbol.html +134 -1
  112. package/documention/Symbol3DLayer.html +107 -0
  113. package/documention/Symbol3DVerticalOffset.html +107 -0
  114. package/documention/TerrainCacheLayer.html +133 -165
  115. package/documention/TerrainServer.html +11 -11
  116. package/documention/TextSymbol.html +111 -4
  117. package/documention/TextSymbol3DLayer.html +109 -2
  118. package/documention/ThemeServer.html +13 -13
  119. package/documention/TileLayer.html +116 -8
  120. package/documention/TileServer.html +12 -12
  121. package/documention/UniqueValueInfo.html +0 -217
  122. package/documention/UniqueValueRenderer.html +125 -18
  123. package/documention/UnknownLayer.html +116 -8
  124. package/documention/VectorTileLayer.html +117 -9
  125. package/documention/VectorTileServer.html +11 -11
  126. package/documention/VectorTileSubLayer.html +304 -0
  127. package/documention/VideoMapView.html +4 -4
  128. package/documention/WCSServer.html +10 -10
  129. package/documention/WFSLayer.html +140 -32
  130. package/documention/WFSServer.html +11 -11
  131. package/documention/WMSLayer.html +131 -23
  132. package/documention/WMSServer.html +12 -12
  133. package/documention/WMSSubLayer.html +218 -7
  134. package/documention/WMTSLayer.html +126 -18
  135. package/documention/WMTSServer.html +12 -12
  136. package/documention/WMTSSubLayer.html +116 -8
  137. package/documention/WPSServer.html +10 -10
  138. package/documention/WaterSymbol3DLayer.html +107 -0
  139. package/documention/WebTileLayer.html +121 -13
  140. package/documention/WorkFlowServer.html +12 -12
  141. package/documention/WorkFlowServer600227.html +12 -12
  142. package/documention/WorkFlowServer600228.html +13 -13
  143. package/documention/WorkFlowServer600229.html +12 -12
  144. package/documention/WorkFlowServer600230.html +12 -12
  145. package/documention/WorkFlowServer600231.html +12 -12
  146. package/documention/WorkFlowServer600232.html +13 -13
  147. package/documention/WorkFlowServer600233.html +14 -14
  148. package/documention/WorkFlowServer600235.html +12 -12
  149. package/documention/WorkFlowServer600237.html +13 -13
  150. package/documention/WorkFlowServer600238.html +15 -15
  151. package/documention/WorkFlowServer600239.html +16 -16
  152. package/documention/WorkFlowServer600307.html +14 -14
  153. package/documention/WorkFlowServer600308.html +2 -2
  154. package/documention/WorkFlowServer600309.html +12 -12
  155. package/documention/WorkFlowServer600314.html +12 -12
  156. package/documention/WorkFlowServer600334.html +12 -12
  157. package/documention/WorkFlowServer600336.html +12 -12
  158. package/documention/WorkFlowServer600340.html +12 -12
  159. package/documention/WorkFlowServer600354.html +12 -12
  160. package/documention/WorkFlowServer600368.html +12 -12
  161. package/documention/WorkFlowServer600369.html +12 -12
  162. package/documention/WorkFlowServer600370.html +12 -12
  163. package/documention/global.html +1024 -1874
  164. package/documention/index.html +84 -78
  165. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CAllOtherDataItemInfoSource.html +1 -1
  166. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CAnnInfo.html +1 -1
  167. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartLabelFormat.html +1 -1
  168. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartTheme.html +4 -4
  169. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartThemeInfo.html +1 -1
  170. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartThemeRepresentInfo.html +3 -3
  171. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartType.html +1 -1
  172. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CDotDensityTheme.html +3 -3
  173. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CFourColorTheme.html +1 -1
  174. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CGraduatedSymbolTheme.html +7 -7
  175. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CLinInfo.html +5 -5
  176. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CMultiClassTheme.html +5 -5
  177. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CPntInfo.html +1 -1
  178. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRandomTheme.html +1 -1
  179. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRangeTheme.html +5 -5
  180. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRangeThemeInfo.html +1 -1
  181. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRegInfo.html +1 -1
  182. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CSimpleTheme.html +3 -3
  183. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CTheme.html +1 -1
  184. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CThemeInfo.html +7 -7
  185. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CUniqueTheme.html +4 -4
  186. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CUniqueThemeInfo.html +1 -1
  187. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ExpInfo.html +1 -1
  188. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.FolderInfo.html +3 -3
  189. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.FolderInfoAttribute.html +1 -1
  190. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ItemValue.html +3 -3
  191. package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ThemesInfo.html +2 -2
  192. package/documention/scripts/sideBar.js +16 -2
  193. package/documention/tutorial-/346/270/262/346/237/223/345/231/250.html +5 -1
  194. package/documention/tutorial-/347/254/246/345/217/267.html +52 -6
  195. package/documention/tutorial-/350/241/250/350/276/276/345/274/217.html +293 -1
  196. package/package.json +14 -13
@@ -165,37 +165,6 @@
165
165
 
166
166
 
167
167
 
168
-
169
- <tr class="deep-level-1">
170
-
171
- <td class="name"><code>extendOptions</code></td>
172
-
173
-
174
- <td class="type">
175
-
176
-
177
- <span class="param-type">
178
-
179
- Object
180
-
181
- </span>
182
-
183
-
184
-
185
-
186
- </td>
187
-
188
-
189
- <td class="default">
190
-
191
- </td>
192
-
193
-
194
- <td class="description last"><p>初始化图层的额外参数,三维引擎专有的初始化参数请传入此对象</p></td>
195
- </tr>
196
-
197
-
198
-
199
168
 
200
169
 
201
170
 
@@ -362,7 +331,25 @@
362
331
 
363
332
  </code>
364
333
  </td>
365
- <td class="name"><code><p>初始化图层的额外参数,三维引擎专有的初始化参数请传入此对象</p></code></td>
334
+ <td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
335
+ </tr>
336
+
337
+ <tr class="deep-level-0">
338
+ <td class="name"><code><a href="#extendProps">extendProps</a></code></td>
339
+ <td class="name">
340
+ <code>
341
+
342
+ <span class="param-type">
343
+
344
+ Object
345
+
346
+ </span>
347
+
348
+
349
+
350
+ </code>
351
+ </td>
352
+ <td class="name"><code><p>初始化当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
366
353
  </tr>
367
354
 
368
355
  <tr class="deep-level-0">
@@ -581,6 +568,24 @@
581
568
  <td class="name"><code><p>子图层渲染类型</p></code></td>
582
569
  </tr>
583
570
 
571
+ <tr class="deep-level-0">
572
+ <td class="name"><code><a href="#spatialReference">spatialReference</a></code></td>
573
+ <td class="name">
574
+ <code>
575
+
576
+ <span class="param-type">
577
+
578
+ <a link="SpatialReference.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SpatialReference" SpatialReference.html>SpatialReference</a>
579
+
580
+ </span>
581
+
582
+
583
+
584
+ </code>
585
+ </td>
586
+ <td class="name"><code><p>子图层空间参考系</p></code></td>
587
+ </tr>
588
+
584
589
  <tr class="deep-level-0">
585
590
  <td class="name"><code><a href="#sublayers">sublayers</a></code></td>
586
591
  <td class="name">
@@ -855,7 +860,7 @@
855
860
 
856
861
 
857
862
  <div class="description">
858
- <p>初始化图层的额外参数,三维引擎专有的初始化参数请传入此对象</p>
863
+ <p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
859
864
  </div>
860
865
 
861
866
 
@@ -869,6 +874,11 @@
869
874
 
870
875
 
871
876
 
877
+ <dt class="inherited-from">Inherited From:</dt>
878
+ <dd class="inherited-from"><ul class="dummy"><li>
879
+ <a goto="extendOptions" link="SubLayer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SubLayer#extendOptions" SubLayer.html#extendOptions>SubLayer#extendOptions</a>
880
+ </li></ul></dd>
881
+
872
882
 
873
883
 
874
884
 
@@ -887,6 +897,96 @@
887
897
 
888
898
 
889
899
 
900
+ <dt class="tag-default">Default Value:</dt>
901
+ <dd class="tag-default"><ul class="dummy">
902
+ <li>{}</li>
903
+ </ul></dd>
904
+
905
+
906
+
907
+
908
+
909
+
910
+
911
+
912
+ </dl>
913
+
914
+
915
+
916
+
917
+
918
+ </div>
919
+
920
+ <div class="member">
921
+
922
+ <span class="method-parameter is-pulled-right">
923
+ <label>类型:</label>
924
+
925
+ <span class="param-type">
926
+
927
+ Object
928
+
929
+ </span>
930
+
931
+
932
+
933
+ </span>
934
+
935
+ <h4 class="name" id="extendProps">
936
+ <a class="href-link" href="#extendProps">#</a>
937
+
938
+ <span class="code-name">
939
+ extendProps
940
+ </span>
941
+
942
+ </h4>
943
+
944
+
945
+
946
+
947
+ <div class="description">
948
+ <p>初始化当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
949
+ </div>
950
+
951
+
952
+
953
+
954
+
955
+ <dl class="details">
956
+
957
+
958
+
959
+
960
+
961
+
962
+ <dt class="inherited-from">Inherited From:</dt>
963
+ <dd class="inherited-from"><ul class="dummy"><li>
964
+ <a goto="extendProps" link="SubLayer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SubLayer#extendProps" SubLayer.html#extendProps>SubLayer#extendProps</a>
965
+ </li></ul></dd>
966
+
967
+
968
+
969
+
970
+
971
+
972
+
973
+
974
+
975
+
976
+
977
+
978
+
979
+
980
+
981
+
982
+
983
+
984
+
985
+ <dt class="tag-default">Default Value:</dt>
986
+ <dd class="tag-default"><ul class="dummy">
987
+ <li>{}</li>
988
+ </ul></dd>
989
+
890
990
 
891
991
 
892
992
 
@@ -1793,6 +1893,86 @@
1793
1893
 
1794
1894
 
1795
1895
 
1896
+
1897
+
1898
+
1899
+
1900
+
1901
+
1902
+
1903
+
1904
+
1905
+
1906
+
1907
+ </dl>
1908
+
1909
+
1910
+
1911
+
1912
+
1913
+ </div>
1914
+
1915
+ <div class="member">
1916
+
1917
+ <span class="method-parameter is-pulled-right">
1918
+ <label>类型:</label>
1919
+
1920
+ <span class="param-type">
1921
+
1922
+ <a link="SpatialReference.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="SpatialReference" SpatialReference.html>SpatialReference</a>
1923
+
1924
+ </span>
1925
+
1926
+
1927
+
1928
+ </span>
1929
+
1930
+ <h4 class="name" id="spatialReference">
1931
+ <a class="href-link" href="#spatialReference">#</a>
1932
+
1933
+ <span class="code-name">
1934
+ spatialReference
1935
+ </span>
1936
+
1937
+ </h4>
1938
+
1939
+
1940
+
1941
+
1942
+ <div class="description">
1943
+ <p>子图层空间参考系</p>
1944
+ </div>
1945
+
1946
+
1947
+
1948
+
1949
+
1950
+ <dl class="details">
1951
+
1952
+
1953
+
1954
+
1955
+
1956
+
1957
+
1958
+
1959
+ <dt class="tag-overrides">Overrides:</dt>
1960
+ <dd class="tag-overrides"><ul class="dummy"><li>
1961
+ <a class="mapgis-link-name" title="SubLayer#spatialReference" SubLayer.html#spatialReference>SubLayer#spatialReference</a>
1962
+ </li></ul></dd>
1963
+
1964
+
1965
+
1966
+
1967
+
1968
+
1969
+
1970
+
1971
+
1972
+
1973
+
1974
+
1975
+
1796
1976
 
1797
1977
 
1798
1978
 
@@ -38,7 +38,7 @@
38
38
  <p>IGS瓦片图层,<br>
39
39
  支持IGS1.0和2.0两个服务版本,支持自定义坐标系,当IGS版本是1.0时,需要手动设置图层坐标系,当IGS版本是2.0时,会自动读取元信息上的坐标系,不需要用户指定,
40
40
  <br><br>[ES5引入方式]:<br/>
41
- Zondy.Layer.IGSTileLayer() <br/>
41
+ zondy.layer.IGSTileLayer() <br/>
42
42
  [ES6引入方式]:<br/>
43
43
  import { IGSTileLayer } from &quot;@mapgis/webclient-common&quot; <br/>
44
44
  <br/>
@@ -573,10 +573,10 @@ IGS2.0的服务为:http://{ip}:{port}/igs/rest/services/{folder}/{serviceName}
573
573
 
574
574
 
575
575
  <pre class="prettyprint"><code>// ES5引入方式
576
- const { Map ,MapView,SpatialReference} = Zondy
577
- const { IGSTileLayer} = Zondy.Layer
576
+ const { SpatialReference } = zondy
577
+ const { IGSTileLayer } = zondy.layer
578
578
  // ES6引入方式
579
- import { IGSTileLayer } from "@mapgis/webclient-common"
579
+ import { IGSTileLayer, SpatialReference } from "@mapgis/webclient-common"
580
580
  const igsTileLayer = new IGSTileLayer({
581
581
  // 服务基地址
582
582
  url: 'http://{ip}:{port}/igs/rest/mrms/tile/{serviceName}',
@@ -591,8 +591,7 @@ const igsTileLayer = new IGSTileLayer({
591
591
 
592
592
 
593
593
  <pre class="prettyprint"><code>// ES5引入方式
594
- const { Map ,MapView,SpatialReference} = Zondy
595
- const { IGSTileLayer} = Zondy.Layer
594
+ const { IGSTileLayer} = zondy.layer
596
595
  // ES6引入方式
597
596
  import { IGSTileLayer } from "@mapgis/webclient-common"
598
597
  const igsTileLayer = new IGSTileLayer({
@@ -605,7 +604,7 @@ const igsTileLayer = new IGSTileLayer({
605
604
 
606
605
 
607
606
  <pre class="prettyprint"><code>// ES5引入方式
608
- const { IGSTileLayer} = Zondy.Layer
607
+ const { IGSTileLayer} = zondy.layer
609
608
  // ES6引入方式
610
609
  import { IGSTileLayer } from "@mapgis/webclient-common"
611
610
  // 初始化时设置
@@ -626,7 +625,7 @@ arcgisTileLayer.on('layerview-created', function (result) {
626
625
 
627
626
 
628
627
  <pre class="prettyprint"><code>* // ES5引入方式
629
- const { IGSTileLayer} = Zondy.Layer
628
+ const { IGSTileLayer} = zondy.layer
630
629
  // ES6引入方式
631
630
  import { IGSTileLayer } from "@mapgis/webclient-common"
632
631
  // 初始化时设置
@@ -649,7 +648,7 @@ arcgisTileLayer.on('layerview-created', function (result) {
649
648
 
650
649
 
651
650
  <pre class="prettyprint"><code> // ES5引入方式
652
- const { IGSTileLayer} = Zondy.Layer
651
+ const { IGSTileLayer} = zondy.layer
653
652
  // ES6引入方式
654
653
  import { IGSTileLayer } from "@mapgis/webclient-common"
655
654
  const arcgisTileLayer = new IGSTileLayer({
@@ -814,7 +813,7 @@ map.reorder(igsTileLayer, '要移动到的index');</code></pre>
814
813
 
815
814
  </code>
816
815
  </td>
817
- <td class="name"><code><p>初始化图层的额外参数</p></code></td>
816
+ <td class="name"><code><p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p></code></td>
818
817
  </tr>
819
818
 
820
819
  <tr class="deep-level-0">
@@ -832,7 +831,7 @@ map.reorder(igsTileLayer, '要移动到的index');</code></pre>
832
831
 
833
832
  </code>
834
833
  </td>
835
- <td class="name"><code><p>存储额外参数的属性</p></code></td>
834
+ <td class="name"><code><p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p></code></td>
836
835
  </tr>
837
836
 
838
837
  <tr class="deep-level-0">
@@ -878,7 +877,7 @@ map.reorder(igsTileLayer, '要移动到的index');</code></pre>
878
877
 
879
878
  <span class="param-type">
880
879
 
881
- String
880
+ <a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
882
881
 
883
882
  </span>
884
883
 
@@ -1030,7 +1029,7 @@ map.reorder(igsTileLayer, '要移动到的index');</code></pre>
1030
1029
 
1031
1030
  </code>
1032
1031
  </td>
1033
- <td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件</p></code></td>
1032
+ <td class="name"><code><p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p></code></td>
1034
1033
  </tr>
1035
1034
 
1036
1035
  <tr class="deep-level-0">
@@ -1069,6 +1068,24 @@ map.reorder(igsTileLayer, '要移动到的index');</code></pre>
1069
1068
  <td class="name"><code><p>图层名称</p></code></td>
1070
1069
  </tr>
1071
1070
 
1071
+ <tr class="deep-level-0">
1072
+ <td class="name"><code><a href="#tokenAttachType">tokenAttachType</a></code></td>
1073
+ <td class="name">
1074
+ <code>
1075
+
1076
+ <span class="param-type">
1077
+
1078
+ String
1079
+
1080
+ </span>
1081
+
1082
+
1083
+
1084
+ </code>
1085
+ </td>
1086
+ <td class="name"><code><p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p></code></td>
1087
+ </tr>
1088
+
1072
1089
  <tr class="deep-level-0">
1073
1090
  <td class="name"><code><a href="#tokenKey">tokenKey</a></code></td>
1074
1091
  <td class="name">
@@ -1464,7 +1481,7 @@ map.reorder(igsTileLayer, '要移动到的index');</code></pre>
1464
1481
 
1465
1482
 
1466
1483
  <div class="description">
1467
- <p>初始化图层的额外参数</p>
1484
+ <p>初始化图层的额外参数,可以通过该参数传入引擎原生的构造参数</p>
1468
1485
  </div>
1469
1486
 
1470
1487
 
@@ -1501,6 +1518,11 @@ map.reorder(igsTileLayer, '要移动到的index');</code></pre>
1501
1518
 
1502
1519
 
1503
1520
 
1521
+ <dt class="tag-default">Default Value:</dt>
1522
+ <dd class="tag-default"><ul class="dummy">
1523
+ <li>{}</li>
1524
+ </ul></dd>
1525
+
1504
1526
 
1505
1527
 
1506
1528
 
@@ -1544,7 +1566,7 @@ map.reorder(igsTileLayer, '要移动到的index');</code></pre>
1544
1566
 
1545
1567
 
1546
1568
  <div class="description">
1547
- <p>存储额外参数的属性</p>
1569
+ <p>当前图层对象上不支持的属性,二次开发用户希望挂在图层对像上的属性可以存储到该属性中</p>
1548
1570
  </div>
1549
1571
 
1550
1572
 
@@ -1581,6 +1603,11 @@ map.reorder(igsTileLayer, '要移动到的index');</code></pre>
1581
1603
 
1582
1604
 
1583
1605
 
1606
+ <dt class="tag-default">Default Value:</dt>
1607
+ <dd class="tag-default"><ul class="dummy">
1608
+ <li>{}</li>
1609
+ </ul></dd>
1610
+
1584
1611
 
1585
1612
 
1586
1613
 
@@ -1767,7 +1794,7 @@ map.reorder(igsTileLayer, '要移动到的index');</code></pre>
1767
1794
 
1768
1795
  <span class="param-type">
1769
1796
 
1770
- String
1797
+ <a link="FetchMethod.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="FetchMethod" global.html#FetchMethod>FetchMethod</a>
1771
1798
 
1772
1799
  </span>
1773
1800
 
@@ -2455,7 +2482,7 @@ map.reorder(igsTileLayer, '要移动到的index');</code></pre>
2455
2482
 
2456
2483
 
2457
2484
  <div class="description">
2458
- <p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件</p>
2485
+ <p>图层透明度,0到1之间的值,0为完全透明,1为不透明,会触发图层更新完毕事件。IGSSceneLayer图层类型为地形时,不支持该属性。</p>
2459
2486
  </div>
2460
2487
 
2461
2488
 
@@ -2653,6 +2680,86 @@ map.reorder(igsTileLayer, '要移动到的index');</code></pre>
2653
2680
 
2654
2681
 
2655
2682
 
2683
+
2684
+
2685
+
2686
+
2687
+
2688
+
2689
+ </dl>
2690
+
2691
+
2692
+
2693
+
2694
+
2695
+ </div>
2696
+
2697
+ <div class="member">
2698
+
2699
+ <span class="method-parameter is-pulled-right">
2700
+ <label>类型:</label>
2701
+
2702
+ <span class="param-type">
2703
+
2704
+ String
2705
+
2706
+ </span>
2707
+
2708
+
2709
+
2710
+ </span>
2711
+
2712
+ <h4 class="name" id="tokenAttachType">
2713
+ <a class="href-link" href="#tokenAttachType">#</a>
2714
+
2715
+ <span class="code-name">
2716
+ tokenAttachType
2717
+ </span>
2718
+
2719
+ </h4>
2720
+
2721
+
2722
+
2723
+
2724
+ <div class="description">
2725
+ <p>token附加类型。默认psot请求优先附加到body,get请求优先附加到url末尾</p>
2726
+ </div>
2727
+
2728
+
2729
+
2730
+
2731
+
2732
+ <dl class="details">
2733
+
2734
+
2735
+
2736
+
2737
+
2738
+
2739
+ <dt class="inherited-from">Inherited From:</dt>
2740
+ <dd class="inherited-from"><ul class="dummy"><li>
2741
+ <a goto="tokenAttachType" link="Layer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Layer#tokenAttachType" Layer.html#tokenAttachType>Layer#tokenAttachType</a>
2742
+ </li></ul></dd>
2743
+
2744
+
2745
+
2746
+
2747
+
2748
+
2749
+
2750
+
2751
+
2752
+
2753
+
2754
+
2755
+
2756
+
2757
+
2758
+
2759
+
2760
+
2761
+
2762
+
2656
2763
 
2657
2764
 
2658
2765
 
@@ -3372,7 +3479,7 @@ map.reorder(igsTileLayer, '要移动到的index');</code></pre>
3372
3479
  // 服务基地址
3373
3480
  url: 'http://{ip}:{port}/igs/rest/services/Tile/{serviceName}/TileServer'
3374
3481
  }
3375
- const igsTileLayer = new Zondy.Layer.IGSTileLayer.fromJSON(json)</code></pre>
3482
+ const igsTileLayer = new zondy.layer.IGSTileLayer.fromJSON(json)</code></pre>
3376
3483
 
3377
3484
 
3378
3485
 
@@ -4057,7 +4164,7 @@ const igsTileLayer = new Zondy.Layer.IGSTileLayer.fromJSON(json)</code></pre>
4057
4164
 
4058
4165
 
4059
4166
  <pre class="prettyprint"><code>// 初始化图层
4060
- const igsTileLayer = new Zondy.Layer.IGSTileLayer({
4167
+ const igsTileLayer = new zondy.layer.IGSTileLayer({
4061
4168
  // 服务基地址
4062
4169
  url: 'http://{ip}:{port}/igs/rest/services/Tile/{serviceName}/TileServer'
4063
4170
  });