@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
@@ -42,8 +42,11 @@
42
42
  1、通过服务基地址来初始化矢量瓦片图层对象;<br/>
43
43
  2、通过加载矢量瓦片样式文件的方式来初始化矢量瓦片图层对象;<br/>
44
44
  3、通过设置矢量瓦片样式的方式来初始化矢量瓦片图层对象;<br/>
45
+ 当加载MapGIS制作并由IGS发布的矢量瓦片时,如果矢量瓦片样式中有mapinfo参数,则子图层ID对应的是MapX中的图层索引;
46
+ 如果没有mapinfo参数,则子图层ID对应的是矢量瓦片样式图层ID;<br/>
47
+ 当加载第三方发布的矢量瓦片时,子图层ID对应的是矢量瓦片样式图层ID;<br/>
45
48
  <br><br>[ES5引入方式]:<br/>
46
- Zondy.Layer.IGSVectorTileLayer() <br/>
49
+ zondy.layer.IGSVectorTileLayer() <br/>
47
50
  [ES6引入方式]:<br/>
48
51
  import { IGSVectorTileLayer } from &quot;@mapgis/webclient-common&quot; <br/>
49
52
  <br/>
@@ -158,7 +161,7 @@ if(layer.loadStatus === 'loaded') {<br/>
158
161
  <td class="description last"><p>服务基地址,和style参数二者选其一:<br>
159
162
  IGS1.0的服务基地址为:http://{ip}:6163/igs/rest/mrcs/vtiles/{serviceName}<br>
160
163
  需要注意由于igs1.0版本不再新增功能,无法解析矢量瓦片Lod信息以及坐标系信息,目前需要在矢量瓦片图层接口上显式设置坐标系信息,默认坐标系3857,可选4326或3857,参考示例:<a href='#igs-1'>[IGS1.0的矢量瓦片示例]</a><br/>
161
- IGS2.0的服务基地址为:http://{ip}:{port}/igs/rest/services/VectorTile/{serviceName}/VectorTileServer<br>
164
+ IGS2.0的服务基地址为:http://{ip}:{port}/igs/rest/services/{serviceName}/VectorTileServer<br>
162
165
  参考示例:<a href='#igs-2'>[IGS2.0的矢量瓦片示例]</a><br/>
163
166
  服务基地址也支持传入矢量瓦片样式文件地址:<br>
164
167
  IGS1.0的样式文件地址:http://{ip}:6163/igs/rest/mrcs/vtiles/styles/{样式文件名称}.json<br>
@@ -691,8 +694,8 @@ off-screen: 使用矢量瓦片来绘制注记<br/>
691
694
 
692
695
  <pre class="prettyprint"><code>//初始化地图管理容器
693
696
  // ES5引入方式
694
- const { IGSVectorTileLayer } = Zondy.Layer
695
- const { SpatialReference } = Zondy
697
+ const { IGSVectorTileLayer } = zondy.layer
698
+ const { SpatialReference } = zondy
696
699
  // ES6引入方式
697
700
  import { IGSVectorTileLayer, SpatialReference } from "@mapgis/webclient-common"
698
701
  //初始化矢量瓦片图层
@@ -708,7 +711,7 @@ const igsVectorTileLayer = new IGSVectorTileLayer({
708
711
 
709
712
 
710
713
  <pre class="prettyprint"><code> // ES5引入方式
711
- const { IGSVectorTileLayer } = Zondy.Layer
714
+ const { IGSVectorTileLayer } = zondy.layer
712
715
  // ES6引入方式
713
716
  import { IGSVectorTileLayer } from "@mapgis/webclient-common"
714
717
  // 初始化矢量瓦片图层
@@ -722,7 +725,7 @@ const igsVectorTileLayer = new IGSVectorTileLayer({
722
725
 
723
726
 
724
727
  <pre class="prettyprint"><code>// ES5引入方式
725
- const { IGSVectorTileLayer } = Zondy.Layer
728
+ const { IGSVectorTileLayer } = zondy.layer
726
729
  // ES6引入方式
727
730
  import { IGSVectorTileLayer } from "@mapgis/webclient-common"
728
731
  // 初始化矢量瓦片图层
@@ -736,7 +739,7 @@ const igsVectorTileLayer = new IGSVectorTileLayer({
736
739
 
737
740
 
738
741
  <pre class="prettyprint"><code>// ES5引入方式
739
- const { IGSVectorTileLayer } = Zondy.Layer
742
+ const { IGSVectorTileLayer } = zondy.layer
740
743
  // ES6引入方式
741
744
  import { IGSVectorTileLayer } from "@mapgis/webclient-common"
742
745
  // 初始化矢量瓦片图层
@@ -784,8 +787,8 @@ const customLayer = new IGSVectorTileLayerCustom({
784
787
 
785
788
 
786
789
  <pre class="prettyprint"><code>// ES5引入方式
787
- const { LabelClass } = Zondy
788
- const { IGSVectorTileLayer } = Zondy.Layer
790
+ const { LabelClass } = zondy
791
+ const { IGSVectorTileLayer } = zondy.layer
789
792
  // ES6引入方式
790
793
  import { IGSVectorTileLayer, LabelClass } from "@mapgis/webclient-common"
791
794
  // 初始化一个额外的图标DOM对象
@@ -879,13 +882,13 @@ igsVectorTileLayer.labelsRenderMode = 'on-screen'</code></pre>
879
882
 
880
883
 
881
884
  <pre class="prettyprint"><code> // ES5引入方式
882
- const { IGSVectorTileLayer } = Zondy.Layer
885
+ const { IGSVectorTileLayer } = zondy.layer
883
886
  // ES6引入方式
884
887
  import { IGSVectorTileLayer } from "@mapgis/webclient-common"
885
888
  // 添加图层
886
889
  const igsVectorTileLayer = new IGSVectorTileLayer({
887
890
  // 服务基地址
888
- url: 'http://{ip}:{port}/igs/rest/services/VectorTile/{serviceName}/VectorTileServer',
891
+ url: 'http://{ip}:{port}/igs/rest/services/{serviceName}/VectorTileServer',
889
892
  //默认不设置sublayers,加载全部图层
890
893
  });</code></pre>
891
894
 
@@ -894,13 +897,13 @@ const igsVectorTileLayer = new IGSVectorTileLayer({
894
897
 
895
898
 
896
899
  <pre class="prettyprint"><code>// ES5引入方式
897
- const { IGSVectorTileLayer } = Zondy.Layer
900
+ const { IGSVectorTileLayer } = zondy.layer
898
901
  // ES6引入方式
899
902
  import { IGSVectorTileLayer } from "@mapgis/webclient-common"
900
903
  // 添加图层
901
904
  const igsVectorTileLayer = new IGSVectorTileLayer({
902
905
  // 服务基地址
903
- url: 'http://{ip}:{port}/igs/rest/services/VectorTile/{serviceName}/VectorTileServer',
906
+ url: 'http://{ip}:{port}/igs/rest/services/{serviceName}/VectorTileServer',
904
907
  // 根据id显示子图层
905
908
  sublayers: [
906
909
  {
@@ -917,13 +920,13 @@ const igsVectorTileLayer = new IGSVectorTileLayer({
917
920
 
918
921
 
919
922
  <pre class="prettyprint"><code>// ES5引入方式
920
- const { IGSVectorTileLayer } = Zondy.Layer
923
+ const { IGSVectorTileLayer } = zondy.layer
921
924
  // ES6引入方式
922
925
  import { IGSVectorTileLayer } from "@mapgis/webclient-common"
923
926
  // 添加图层
924
927
  const igsVectorTileLayer = new IGSVectorTileLayer({
925
928
  // 服务基地址
926
- url: 'http://{ip}:{port}/igs/rest/services/VectorTile/{serviceName}/VectorTileServer'
929
+ url: 'http://{ip}:{port}/igs/rest/services/{serviceName}/VectorTileServer'
927
930
  });
928
931
  igsVectorTileLayer.on('layerview-created', function (result) {
929
932
  console.log("加载完毕:", result.layer)
@@ -938,15 +941,15 @@ igsVectorTileLayer.on('layerview-created', function (result) {
938
941
 
939
942
 
940
943
  <pre class="prettyprint"><code>// ES5引入方式
941
- const { IGSVectorTileLayer } = Zondy.Layer
942
- const { UniqueValueRenderer } = Zondy.Renderer
943
- const { SimpleFillSymbol,SimpleLineSymbol } = Zondy.Symbol
944
- const { Color } = Zondy
944
+ const { IGSVectorTileLayer } = zondy.layer
945
+ const { UniqueValueRenderer } = zondy.renderer
946
+ const { SimpleFillSymbol,SimpleLineSymbol } = zondy.symbol
947
+ const { Color } = zondy
945
948
  // ES6引入方式
946
949
  import { IGSVectorTileLayer,UniqueValueRenderer ,SimpleFillSymbol,SimpleLineSymbol,Color} from "@mapgis/webclient-common"
947
950
  const igsVectorTileLayer = new IGSVectorTileLayer({
948
951
  // 服务基地址,当不指定图层名称时,默认查询第一个子图层
949
- url: 'http://{ip}:{port}/igs/rest/services/VectorTile/{serviceName}/VectorTileServer',
952
+ url: 'http://{ip}:{port}/igs/rest/services/{serviceName}/VectorTileServer',
950
953
  // 设置子图层专题图
951
954
  sublayers: [
952
955
  {
@@ -1006,15 +1009,15 @@ const igsVectorTileLayer = new IGSVectorTileLayer({
1006
1009
 
1007
1010
 
1008
1011
  <pre class="prettyprint"><code>// ES5引入方式
1009
- const { IGSVectorTileLayer } = Zondy.Layer
1010
- const { ClassBreakRenderer } = Zondy.Renderer
1011
- const { SimpleFillSymbol,SimpleLineSymbol } = Zondy.Symbol
1012
- const { Color } = Zondy
1012
+ const { IGSVectorTileLayer } = zondy.layer
1013
+ const { ClassBreakRenderer } = zondy.renderer
1014
+ const { SimpleFillSymbol,SimpleLineSymbol } = zondy.symbol
1015
+ const { Color } = zondy
1013
1016
  // ES6引入方式
1014
1017
  import { IGSVectorTileLayer,ClassBreakRenderer ,SimpleFillSymbol,SimpleLineSymbol,Color} from "@mapgis/webclient-commo
1015
1018
  const igsVectorTileLayer = new IGSVectorTileLayer({
1016
1019
  // 服务基地址,当不指定图层名称时,默认查询第一个子图层
1017
- url: 'http://{ip}:{port}/igs/rest/services/VectorTile/{serviceName}/VectorTileServer',
1020
+ url: 'http://{ip}:{port}/igs/rest/services/{serviceName}/VectorTileServer',
1018
1021
  // 设置子图层专题图
1019
1022
  sublayers: [
1020
1023
  {
@@ -1067,15 +1070,15 @@ const igsVectorTileLayer = new IGSVectorTileLayer({
1067
1070
 
1068
1071
 
1069
1072
  <pre class="prettyprint"><code>// ES5引入方式
1070
- const { IGSVectorTileLayer } = Zondy.Layer
1071
- const { ClassBreakRenderer } = Zondy.Renderer
1072
- const { SimpleFillSymbol,SimpleLineSymbol } = Zondy.Symbol
1073
- const { Color } = Zondy
1073
+ const { IGSVectorTileLayer } = zondy.layer
1074
+ const { ClassBreakRenderer } = zondy.renderer
1075
+ const { SimpleFillSymbol,SimpleLineSymbol } = zondy.symbol
1076
+ const { Color } = zondy
1074
1077
  // ES6引入方式
1075
1078
  import { IGSVectorTileLayer,ClassBreakRenderer ,SimpleFillSymbol,SimpleLineSymbol,Color} from "@mapgis/webclient-commo
1076
1079
  const igsVectorTileLayer = new IGSVectorTileLayer({
1077
1080
  // 服务基地址
1078
- url: 'http://{ip}:{port}/igs/rest/services/VectorTile/{serviceName}/VectorTileServer'
1081
+ url: 'http://{ip}:{port}/igs/rest/services/{serviceName}/VectorTileServer'
1079
1082
  });
1080
1083
  // 根据id获取子图层
1081
1084
  const subLayer = igsVectorTileLayer.findSublayerById('子图层id')
@@ -1123,15 +1126,15 @@ subLayer.renderer = new ClassBreakRenderer({
1123
1126
 
1124
1127
 
1125
1128
  <pre class="prettyprint"><code>// ES5引入方式
1126
- const { IGSVectorTileLayer } = Zondy.Layer
1127
- const { SimpleRenderer } = Zondy.Renderer
1128
- const { SimpleFillSymbol,SimpleLineSymbol } = Zondy.Symbol
1129
- const { Color } = Zondy
1129
+ const { IGSVectorTileLayer } = zondy.layer
1130
+ const { SimpleRenderer } = zondy.renderer
1131
+ const { SimpleFillSymbol,SimpleLineSymbol } = zondy.symbol
1132
+ const { Color } = zondy
1130
1133
  // ES6引入方式
1131
1134
  import { IGSVectorTileLayer,SimpleRenderer ,SimpleFillSymbol,SimpleLineSymbol,Color} from "@mapgis/webclient-commo
1132
1135
  const igsVectorTileLayer = new IGSVectorTileLayer({
1133
1136
  // 服务基地址
1134
- url: 'http://{ip}:{port}/igs/rest/services/VectorTile/{serviceName}/VectorTileServer',
1137
+ url: 'http://{ip}:{port}/igs/rest/services/{serviceName}/VectorTileServer',
1135
1138
  // 设置子图层专题图
1136
1139
  sublayers: [{
1137
1140
  // 子图层id
@@ -1141,7 +1144,7 @@ const igsVectorTileLayer = new IGSVectorTileLayer({
1141
1144
  // 因为该数据的几何类型为区,因此设置区样式
1142
1145
  symbol: new SimpleFillSymbol({
1143
1146
  // 填充颜色
1144
- color: new Zondy.Color(255, 0, 0),
1147
+ color: new zondy.Color(255, 0, 0),
1145
1148
  // 外边线样式
1146
1149
  outline: new SimpleLineSymbol({
1147
1150
  // 线颜色
@@ -2340,13 +2343,13 @@ off-screen: 使用矢量瓦片来绘制注记;
2340
2343
 
2341
2344
 
2342
2345
 
2343
- <dt class="inherited-from">Inherited From:</dt>
2344
- <dd class="inherited-from"><ul class="dummy"><li>
2345
- <a goto="url" link="VectorTileLayer.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="VectorTileLayer#url" VectorTileLayer.html#url>VectorTileLayer#url</a>
2346
- </li></ul></dd>
2347
-
2348
2346
 
2349
2347
 
2348
+ <dt class="tag-overrides">Overrides:</dt>
2349
+ <dd class="tag-overrides"><ul class="dummy"><li>
2350
+ <a class="mapgis-link-name" title="VectorTileLayer#url" VectorTileLayer.html#url>VectorTileLayer#url</a>
2351
+ </li></ul></dd>
2352
+
2350
2353
 
2351
2354
 
2352
2355
 
@@ -2418,6 +2421,16 @@ off-screen: 使用矢量瓦片来绘制注记;
2418
2421
  <td class="name"><code><p>通过传入的json构造并返回一个新的VectorTileLayer对象</code></td>
2419
2422
  </tr>
2420
2423
 
2424
+ <tr class="deep-level-0">
2425
+ <td class="name"><code><a href="#_initSubLayerOptions">_initSubLayerOptions</a></code></td>
2426
+ <td class="name">
2427
+ <code>
2428
+
2429
+ </code>
2430
+ </td>
2431
+ <td class="name"><code><p>通过元信息中获取的子图层参数和用户设置的参数,构造MapGIS矢量瓦片子图层的初始化参数数组</p></code></td>
2432
+ </tr>
2433
+
2421
2434
  <tr class="deep-level-0">
2422
2435
  <td class="name"><code><a href="#clone">clone</a></code></td>
2423
2436
  <td class="name">
@@ -2892,6 +2905,180 @@ off-screen: 使用矢量瓦片来绘制注记;
2892
2905
 
2893
2906
 
2894
2907
 
2908
+
2909
+
2910
+
2911
+ </div>
2912
+
2913
+ <div class="member">
2914
+
2915
+
2916
+
2917
+ <h4 class="name" id="_initSubLayerOptions">
2918
+ <a class="href-link" href="#_initSubLayerOptions">#</a>
2919
+
2920
+ <span class="code-name" id="_initSubLayerOptions" style="font-size:30px">
2921
+
2922
+ _initSubLayerOptions<span class="signature">(serverSubLayers, clientSubLayers)</span>
2923
+
2924
+ </span>
2925
+ </h4>
2926
+
2927
+
2928
+
2929
+ <div class="description">
2930
+ <p>通过元信息中获取的子图层参数和用户设置的参数,构造MapGIS矢量瓦片子图层的初始化参数数组</p>
2931
+ </div>
2932
+
2933
+
2934
+
2935
+
2936
+
2937
+
2938
+
2939
+
2940
+
2941
+
2942
+ <h4>参数</h4>
2943
+
2944
+ <div class="table-container">
2945
+ <table class="params table">
2946
+ <thead>
2947
+ <tr>
2948
+
2949
+ <th>名称</th>
2950
+
2951
+
2952
+ <th>类型</th>
2953
+
2954
+
2955
+
2956
+ <th class="last">描述</th>
2957
+ </tr>
2958
+ </thead>
2959
+
2960
+ <tbody>
2961
+
2962
+
2963
+
2964
+ <tr class="deep-level-0">
2965
+
2966
+ <td class="name"><code>serverSubLayers</code></td>
2967
+
2968
+
2969
+ <td class="type">
2970
+
2971
+
2972
+ <span class="param-type">
2973
+
2974
+ Array.&lt;Object>
2975
+
2976
+ </span>
2977
+
2978
+
2979
+
2980
+
2981
+ </td>
2982
+
2983
+
2984
+
2985
+ <td class="description last"><p>服务器端获取的子图层参数,同时也是最终的构造参数</p></td>
2986
+ </tr>
2987
+
2988
+
2989
+
2990
+
2991
+
2992
+
2993
+ <tr class="deep-level-0">
2994
+
2995
+ <td class="name"><code>clientSubLayers</code></td>
2996
+
2997
+
2998
+ <td class="type">
2999
+
3000
+
3001
+ <span class="param-type">
3002
+
3003
+ Array.&lt;Object>
3004
+
3005
+ </span>
3006
+
3007
+
3008
+
3009
+
3010
+ </td>
3011
+
3012
+
3013
+
3014
+ <td class="description last"><p>客户端获取的子图层参数</p></td>
3015
+ </tr>
3016
+
3017
+
3018
+
3019
+
3020
+ </tbody>
3021
+ </table>
3022
+ </div>
3023
+
3024
+
3025
+
3026
+
3027
+
3028
+
3029
+ <dl class="details">
3030
+
3031
+
3032
+
3033
+
3034
+
3035
+
3036
+
3037
+
3038
+
3039
+
3040
+
3041
+
3042
+
3043
+
3044
+
3045
+
3046
+
3047
+
3048
+
3049
+
3050
+
3051
+
3052
+
3053
+
3054
+
3055
+
3056
+
3057
+
3058
+
3059
+
3060
+
3061
+ </dl>
3062
+
3063
+
3064
+
3065
+
3066
+
3067
+
3068
+
3069
+
3070
+
3071
+
3072
+
3073
+
3074
+
3075
+
3076
+
3077
+
3078
+
3079
+
3080
+
3081
+
2895
3082
 
2896
3083
 
2897
3084
 
@@ -3528,12 +3715,12 @@ off-screen: 使用矢量瓦片来绘制注记;
3528
3715
 
3529
3716
 
3530
3717
  <pre class="prettyprint"><code>// ES5引入方式
3531
- const { IGSVectorTileLayer } = Zondy.Layer
3718
+ const { IGSVectorTileLayer } = zondy.layer
3532
3719
  // ES6引入方式
3533
3720
  import { IGSVectorTileLayer} from "@mapgis/webclient-common"
3534
3721
  const igsVectorTileLayer = new IGSVectorTileLayer({
3535
3722
  // 服务基地址
3536
- url: 'http://{ip}:{port}/igs/rest/services/VectorTile/{serviceName}/VectorTileServer'
3723
+ url: 'http://{ip}:{port}/igs/rest/services/{serviceName}/VectorTileServer'
3537
3724
  });
3538
3725
  map.add(igsVectorTileLayer);
3539
3726
  // 根据id获取子图层
@@ -162,7 +162,8 @@
162
162
  </td>
163
163
 
164
164
 
165
- <td class="description last"><p>矢量瓦片子图层的id</p></td>
165
+ <td class="description last"><p>矢量瓦片子图层的id,当加载MapGIS制作并由IGS发布的矢量瓦片时,如果矢量瓦片样式中有mapinfo参数,则子图层ID对应的是MapX中的图层索引;
166
+ 如果没有mapinfo参数,则子图层ID对应的是矢量瓦片样式图层ID;当加载第三方发布的矢量瓦片时,子图层ID对应的是矢量瓦片样式图层ID;</p></td>
166
167
  </tr>
167
168
 
168
169
 
@@ -404,8 +405,8 @@
404
405
 
405
406
 
406
407
  <pre class="prettyprint"><code>// ES5引入方式
407
- const { LabelClass } = Zondy
408
- const { IGSVectorTileLayer } = Zondy.Layer
408
+ const { LabelClass } = zondy
409
+ const { IGSVectorTileLayer } = zondy.layer
409
410
  // ES6引入方式
410
411
  import { IGSVectorTileLayer, LabelClass } from "@mapgis/webclient-common"
411
412
  // 初始化一个额外的图标DOM对象
@@ -472,7 +473,7 @@ const igsVectorTileLayer = new IGSVectorTileLayer({
472
473
 
473
474
 
474
475
  <pre class="prettyprint"><code>// ES5引入方式
475
- const { LabelClass } = Zondy
476
+ const { LabelClass } = zondy
476
477
  // ES6引入方式
477
478
  import { LabelClass } from "@mapgis/webclient-common"
478
479
  // 初始化一个额外的图标DOM对象
@@ -386,8 +386,8 @@ ColorMaterial: 纯色材质,当图标的资源是网络图片时,指的是
386
386
 
387
387
 
388
388
  <pre class="prettyprint"><code>// ES5引入方式
389
- const { Color } = Zondy
390
- const { IconSymbol3DLayer, IconResource } = Zondy.Symbol
389
+ const { Color } = zondy
390
+ const { IconSymbol3DLayer, IconResource } = zondy.symbol
391
391
  // ES6引入方式
392
392
  import { IconSymbol3DLayer, IconResource, Color } from "@mapgis/webclient-common"
393
393
 
@@ -406,8 +406,8 @@ const iconSymbol3DLayer = new IconSymbol3DLayer({
406
406
 
407
407
 
408
408
  <pre class="prettyprint"><code>// ES5引入方式
409
- const { Color } = Zondy
410
- const { IconSymbol3DLayer, IconResource } = Zondy.Symbol
409
+ const { Color } = zondy
410
+ const { IconSymbol3DLayer, IconResource } = zondy.symbol
411
411
  // ES6引入方式
412
412
  import { IconSymbol3DLayer, IconResource, Color } from "@mapgis/webclient-common"
413
413
 
@@ -542,6 +542,24 @@ const iconSymbol3DLayer = new IconSymbol3DLayer({
542
542
  <td class="name"><code><p>符号的额外构造参数,该构造参数是地图引擎的额外构造参数,在此设置了之后,会覆盖该符号转换好地图引擎的构造参数</p></code></td>
543
543
  </tr>
544
544
 
545
+ <tr class="deep-level-0">
546
+ <td class="name"><code><a href="#id">id</a></code></td>
547
+ <td class="name">
548
+ <code>
549
+
550
+ <span class="param-type">
551
+
552
+ String
553
+
554
+ </span>
555
+
556
+
557
+
558
+ </code>
559
+ </td>
560
+ <td class="name"><code><p>符号id</p></code></td>
561
+ </tr>
562
+
545
563
  <tr class="deep-level-0">
546
564
  <td class="name"><code><a href="#material">material</a></code></td>
547
565
  <td class="name">
@@ -933,6 +951,95 @@ const iconSymbol3DLayer = new IconSymbol3DLayer({
933
951
 
934
952
 
935
953
 
954
+ <dt class="tag-default">Default Value:</dt>
955
+ <dd class="tag-default"><ul class="dummy">
956
+ <li>{}</li>
957
+ </ul></dd>
958
+
959
+
960
+
961
+
962
+
963
+
964
+
965
+
966
+ </dl>
967
+
968
+
969
+
970
+
971
+
972
+ </div>
973
+
974
+ <div class="member">
975
+
976
+ <span class="method-parameter is-pulled-right">
977
+ <label>类型:</label>
978
+
979
+ <span class="param-type">
980
+
981
+ String
982
+
983
+ </span>
984
+
985
+
986
+
987
+ </span>
988
+
989
+ <h4 class="name" id="id">
990
+ <a class="href-link" href="#id">#</a>
991
+
992
+
993
+ <span class='tag'>readonly</span>
994
+
995
+
996
+ <span class="code-name">
997
+ id
998
+ </span>
999
+
1000
+ </h4>
1001
+
1002
+
1003
+
1004
+
1005
+ <div class="description">
1006
+ <p>符号id</p>
1007
+ </div>
1008
+
1009
+
1010
+
1011
+
1012
+
1013
+ <dl class="details">
1014
+
1015
+
1016
+
1017
+
1018
+
1019
+
1020
+ <dt class="inherited-from">Inherited From:</dt>
1021
+ <dd class="inherited-from"><ul class="dummy"><li>
1022
+ <a goto="id" link="Symbol.html" onclick="getTypeHTML(event)" class="mapgis-link-name" title="Symbol#id" Symbol.html#id>Symbol#id</a>
1023
+ </li></ul></dd>
1024
+
1025
+
1026
+
1027
+
1028
+
1029
+
1030
+
1031
+
1032
+
1033
+
1034
+
1035
+
1036
+
1037
+
1038
+
1039
+
1040
+
1041
+
1042
+
936
1043
 
937
1044
 
938
1045