@mapgis/webclient-leaflet-plugin 17.4.0 → 17.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/README.md +104 -43
  2. package/dist/es5/webclient-common.min.js +63 -5
  3. package/dist/es5/webclient-leaflet-plugin.min.js +6 -6
  4. package/dist/webclient-leaflet-plugin-es6.min.js +6 -11
  5. package/documention/ArcGISMapImageLayer.html +53 -5
  6. package/documention/ArcGISTileLayer.html +45 -5
  7. package/documention/EchartsLayer.html +15 -5
  8. package/documention/FeatureLayer.html +5 -3
  9. package/documention/FeatureLayerUtil.html +6 -4
  10. package/documention/IGSImageryLayer.html +851 -0
  11. package/documention/IGSImageryTileLayer.html +741 -0
  12. package/documention/IGSMapImageLayer.html +57 -32
  13. package/documention/IGSTileLayer.html +106 -26
  14. package/documention/L.zondy.MapvBaseLayer.html +9 -3
  15. package/documention/MapLayer.html +33 -3
  16. package/documention/MapVLayer.html +15 -5
  17. package/documention/MapView.html +3860 -56
  18. package/documention/MapViewLeaflet.html +1413 -369
  19. package/documention/Popup.html +6 -4
  20. package/documention/Screenshot.html +5 -3
  21. package/documention/SketchEditor.html +3211 -0
  22. package/documention/SketchEditorLeaflet.html +477 -241
  23. package/documention/TileLayer.html +135 -3
  24. package/documention/TileLayerWMS.html +5 -3
  25. package/documention/VectorTileLayer.html +49 -5
  26. package/documention/WMSLayerView.html +5 -3
  27. package/documention/WebMapServiceLayer.html +51 -5
  28. package/documention/WebMapTileServiceLayer.html +41 -21
  29. package/documention/WebTileLayer.html +45 -5
  30. package/documention/global.html +511 -1869
  31. package/documention/index.html +5 -3
  32. package/documention/initializeOptions.html +384 -0
  33. package/documention/{Zondy.ThemeLayer.GeoFeatureThemeLayer.html → zondy.themelayer.GeoFeatureThemeLayer.html} +9 -3
  34. package/documention/{Zondy.ThemeLayer.GraphThemeLayer.html → zondy.themelayer.GraphThemeLayer.html} +5 -3
  35. package/documention/{Zondy.ThemeLayer.RandomThemeLayer.html → zondy.themelayer.RandomThemeLayer.html} +5 -3
  36. package/documention/{Zondy.ThemeLayer.ThemeLayer.html → zondy.themelayer.ThemeLayer.html} +9 -3
  37. package/documention/{Zondy.ThemeLayer.ThemeStyle.html → zondy.themelayer.ThemeStyle.html} +9 -3
  38. package/documention/{Zondy.ThemeLayer.rangeThemeLayer.html → zondy.themelayer.rangeThemeLayer.html} +5 -3
  39. package/documention/{Zondy.ThemeLayer.rankSymbolThemeLayer.html → zondy.themelayer.rankSymbolThemeLayer.html} +5 -3
  40. package/documention/{Zondy.ThemeLayer.simpleThemeLayer.html → zondy.themelayer.simpleThemeLayer.html} +5 -3
  41. package/documention/{Zondy.ThemeLayer.uniqueThemeLayer.html → zondy.themelayer.uniqueThemeLayer.html} +5 -3
  42. package/documention/{Zondy.view.UI.html → zondy.view.UI.html} +10 -4
  43. package/documention/{Zondy.Widget.html → zondy.widget.html} +6 -4
  44. package/package.json +7 -8
  45. package/documention/DrawControl.html +0 -802
@@ -104,7 +104,8 @@
104
104
 
105
105
  <nav>
106
106
 
107
- <div class="category"><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">扩展模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ArcGISMapImageLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ArcGISMapImageLayer.html">ArcGISMapImageLayer</a><span style="display: none;"><p>ArcGIS地图图片图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ArcGISTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ArcGISTileLayer.html">ArcGISTileLayer</a><span style="display: none;"><p>ArcGIS瓦片图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="EchartsLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="EchartsLayer.html">EchartsLayer</a><span style="display: none;"><p>Echarts图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="FeatureLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="FeatureLayer.html">FeatureLayer</a><span style="display: none;"><p>要素图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSMapImageLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSMapImageLayer.html">IGSMapImageLayer</a><span style="display: none;"><p>地图图片图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSTileLayer.html">IGSTileLayer</a><span style="display: none;"><p>IGS瓦片图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapLayer.html">MapLayer</a><span style="display: none;"><p>屏幕出一张图图层基类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapVLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapVLayer.html">MapVLayer</a><span style="display: none;"><p>MapV图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="TileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="TileLayer.html">TileLayer</a><span style="display: none;"><p>带裁剪功能的瓦片图层基类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="TileLayerWMS"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="TileLayerWMS.html">TileLayerWMS</a><span style="display: none;"><p>WMS图层基类(相比于原生的L.TileLayer.WMS, 此图层支持空间裁剪功能)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="VectorTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="VectorTileLayer.html">VectorTileLayer</a><span style="display: none;"><p>矢量瓦片图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebMapServiceLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebMapServiceLayer.html">WebMapServiceLayer</a><span style="display: none;"><p>WMS图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebMapTileServiceLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebMapTileServiceLayer.html">WebMapTileServiceLayer</a><span style="display: none;"><p>WMTS图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebTileLayer.html">WebTileLayer</a><span style="display: none;"><p>网络瓦片图层(Leaflet)</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">工具类模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="FeatureLayerUtil"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="FeatureLayerUtil.html">FeatureLayerUtil</a><span style="display: none;"><p>要素图层工具类(Leaflet)</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">视图模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapView"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapView.html">MapView</a><span style="display: none;"><p>二维场景视图(leaflet引擎),对地图引擎进行管理,如果要对地图图层进行管理请参考<code>Map</code>,<br/>
107
+ <div class="category"><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">扩展模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ArcGISMapImageLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ArcGISMapImageLayer.html">ArcGISMapImageLayer</a><span style="display: none;"><p>ArcGIS地图服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ArcGISTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ArcGISTileLayer.html">ArcGISTileLayer</a><span style="display: none;"><p>ArcGIS瓦片服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="EchartsLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="EchartsLayer.html">EchartsLayer</a><span style="display: none;"><p>Echarts图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="FeatureLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="FeatureLayer.html">FeatureLayer</a><span style="display: none;"><p>要素图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSImageryLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSImageryLayer.html">IGSImageryLayer</a><span style="display: none;"><p>IGS影像图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSImageryTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSImageryTileLayer.html">IGSImageryTileLayer</a><span style="display: none;"><p>IGS影像瓦片图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSMapImageLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSMapImageLayer.html">IGSMapImageLayer</a><span style="display: none;"><p>IGS地图服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSTileLayer.html">IGSTileLayer</a><span style="display: none;"><p>IGS瓦片服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="initializeOptions"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="initializeOptions.html">initializeOptions</a><span style="display: none;"><p>通过Common的图层对象构建Leaflet图层对象的初始化参数</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapLayer.html">MapLayer</a><span style="display: none;"><p>屏幕出一张图图层基类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapVLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapVLayer.html">MapVLayer</a><span style="display: none;"><p>MapV图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="TileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="TileLayer.html">TileLayer</a><span style="display: none;"><p>带裁剪功能的瓦片图层基类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="TileLayerWMS"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="TileLayerWMS.html">TileLayerWMS</a><span style="display: none;"><p>WMS图层基类(相比于原生的L.TileLayer.WMS, 此图层支持空间裁剪功能)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="VectorTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="VectorTileLayer.html">VectorTileLayer</a><span style="display: none;"><p>矢量瓦片服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebMapServiceLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebMapServiceLayer.html">WebMapServiceLayer</a><span style="display: none;"><p>WMS服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebMapTileServiceLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebMapTileServiceLayer.html">WebMapTileServiceLayer</a><span style="display: none;"><p>WMTS服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebTileLayer.html">WebTileLayer</a><span style="display: none;"><p>网络瓦片服务接入类</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">工具类模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="FeatureLayerUtil"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="FeatureLayerUtil.html">FeatureLayerUtil</a><span style="display: none;"><p>要素图层工具类(Leaflet)</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">视图模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapView"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapView.html">MapView</a><span style="display: none;"><p>二维场景视图(leaflet引擎),对地图引擎进行管理,如果要对地图图层进行管理请参考<code>Map</code>,<br/>
108
+ 继承自<a href='http://webclient.smaryun.com/static/modules/common/api/common-mapgis/MapView.html' target='_blank'>zondy.MapView</a><br/>
108
109
  参考示例:
109
110
  <a href='#MapView'>[初始化二维场景视图]</a>
110
111
  <br>[ES5引入方式]:<br/>
@@ -116,11 +117,12 @@ import { MapView } from '@mapgis/webclient-leaflet-plugin' <br/></p></span></li>
116
117
  [ES6引入方式]:<br/>
117
118
  import { Popup } from '@mapgis/webclient-leaflet-plugin' <br/>
118
119
  自定义样式说明:<br/>
119
- zondy-popup__content 弹窗容器样式<br/>
120
+ zondy-popup__container 弹窗容器样式<br/>
120
121
  zondy-popup__tip 弹窗对话框箭头样式<br/>
121
122
  zondy-popup__header 弹窗头部样式<br/>
122
123
  zondy-popup__content 弹窗主体样式<br/>
123
- zondy-popup__footer 弹窗底部样式<br/></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Screenshot"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Screenshot.html">Screenshot</a><span style="display: none;"><p>屏幕打印工具</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">草图编辑模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchEditorLeaflet"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchEditorLeaflet.html">SketchEditorLeaflet</a><span style="display: none;"><p>二维Leaflet引擎草图编辑类<br/>
124
+ zondy-popup__footer 弹窗底部样式<br/></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Screenshot"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Screenshot.html">Screenshot</a><span style="display: none;"><p>屏幕打印工具</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">草图编辑模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchEditor"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchEditor.html">SketchEditor</a><span style="display: none;"><p>二维Leaflet引擎草图编辑类<br/>
125
+ 继承自<a href='http://webclient.smaryun.com/static/modules/common/api/common-mapgis/SketchEditor.html' target='_blank'>zondy.SketchEditor</a><br/>
124
126
  <br>[ES5引入方式]:<br/>
125
127
  const { SketchEditor } = zondy.leaflet.tool.sketch <br/>
126
128
  [ES6引入方式]:<br/>
@@ -1911,12 +1913,12 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
1911
1913
 
1912
1914
 
1913
1915
 
1914
- <h4 class="name" id="_getTileZoom">
1915
- <a class="href-link" href="#_getTileZoom">#</a>
1916
+ <h4 class="name" id="_getLevelValue">
1917
+ <a class="href-link" href="#_getLevelValue">#</a>
1916
1918
 
1917
1919
  <span class="code-name" style="font-size:30px">
1918
1920
 
1919
- _getTileZoom<span class="signature">(tileCRS)</span>
1921
+ _getLevelValue<span class="signature">(level)</span>
1920
1922
 
1921
1923
  </span>
1922
1924
  </h4>
@@ -1924,7 +1926,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
1924
1926
 
1925
1927
 
1926
1928
  <div class="description">
1927
- <p>获取最小和最大zoom</p>
1929
+ <p>获取level</p>
1928
1930
  </div>
1929
1931
 
1930
1932
 
@@ -1960,13 +1962,13 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
1960
1962
 
1961
1963
  <tr class="deep-level-0">
1962
1964
 
1963
- <td class="name"><code>tileCRS</code></td>
1965
+ <td class="name"><code>level</code></td>
1964
1966
 
1965
1967
 
1966
1968
  <td class="type">
1967
1969
 
1968
1970
 
1969
- <span class="param-type">L.CRS</span>
1971
+ <span class="param-type">Number</span>
1970
1972
 
1971
1973
 
1972
1974
 
@@ -1974,7 +1976,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
1974
1976
 
1975
1977
 
1976
1978
 
1977
- <td class="description last"><p>CRS对象</p></td>
1979
+ <td class="description last"></td>
1978
1980
  </tr>
1979
1981
 
1980
1982
 
@@ -2048,13 +2050,11 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
2048
2050
 
2049
2051
  <div class="columns">
2050
2052
 
2051
- <div class='param-desc column is-7'><p>算好的minTileZoom和maxTileZoom</p></div>
2052
-
2053
2053
 
2054
2054
  <div class='column is-5 has-text-left'>
2055
2055
  <label>类型: </label>
2056
2056
 
2057
- <span class="param-type">Object</span>
2057
+ <span class="param-type">String</span>
2058
2058
 
2059
2059
 
2060
2060
  </div>
@@ -3737,7 +3737,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
3737
3737
 
3738
3738
  <span class="code-name" style="font-size:30px">
3739
3739
 
3740
- buildRequestImageSrc<span class="signature">(url, params)</span>
3740
+ buildRequestImageSrc<span class="signature">()</span>
3741
3741
 
3742
3742
  </span>
3743
3743
  </h4>
@@ -3757,79 +3757,6 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
3757
3757
 
3758
3758
 
3759
3759
 
3760
- <h4>参数:</h4>
3761
-
3762
- <div class="table-container">
3763
- <table class="params table">
3764
- <thead>
3765
- <tr>
3766
-
3767
- <th>名称</th>
3768
-
3769
-
3770
- <th>类型</th>
3771
-
3772
-
3773
-
3774
- <th class="last">描述</th>
3775
- </tr>
3776
- </thead>
3777
-
3778
- <tbody>
3779
-
3780
-
3781
-
3782
- <tr class="deep-level-0">
3783
-
3784
- <td class="name"><code>url</code></td>
3785
-
3786
-
3787
- <td class="type">
3788
-
3789
-
3790
- <span class="param-type">String</span>
3791
-
3792
-
3793
-
3794
- </td>
3795
-
3796
-
3797
-
3798
- <td class="description last"><p>服务基地址</p></td>
3799
- </tr>
3800
-
3801
-
3802
-
3803
-
3804
-
3805
-
3806
- <tr class="deep-level-0">
3807
-
3808
- <td class="name"><code>params</code></td>
3809
-
3810
-
3811
- <td class="type">
3812
-
3813
-
3814
- <span class="param-type">Object</span>
3815
-
3816
-
3817
-
3818
- </td>
3819
-
3820
-
3821
-
3822
- <td class="description last"><p>需要请求地址后面拼接的参数</p></td>
3823
- </tr>
3824
-
3825
-
3826
-
3827
-
3828
- </tbody>
3829
- </table>
3830
- </div>
3831
-
3832
-
3833
3760
 
3834
3761
 
3835
3762
 
@@ -3926,7 +3853,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
3926
3853
 
3927
3854
  <span class="code-name" style="font-size:30px">
3928
3855
 
3929
- buildRequestImageSrc<span class="signature">(url, params)</span>
3856
+ buildRequestImageSrc<span class="signature">(url)</span>
3930
3857
 
3931
3858
  </span>
3932
3859
  </h4>
@@ -3990,30 +3917,6 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
3990
3917
 
3991
3918
 
3992
3919
 
3993
-
3994
-
3995
- <tr class="deep-level-0">
3996
-
3997
- <td class="name"><code>params</code></td>
3998
-
3999
-
4000
- <td class="type">
4001
-
4002
-
4003
- <span class="param-type">Object</span>
4004
-
4005
-
4006
-
4007
- </td>
4008
-
4009
-
4010
-
4011
- <td class="description last"><p>需要请求地址后面拼接的参数</p></td>
4012
- </tr>
4013
-
4014
-
4015
-
4016
-
4017
3920
  </tbody>
4018
3921
  </table>
4019
3922
  </div>
@@ -4110,12 +4013,12 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
4110
4013
 
4111
4014
 
4112
4015
 
4113
- <h4 class="name" id="buildRequestParamsObject">
4114
- <a class="href-link" href="#buildRequestParamsObject">#</a>
4016
+ <h4 class="name" id="buildRequestImageSrc">
4017
+ <a class="href-link" href="#buildRequestImageSrc">#</a>
4115
4018
 
4116
4019
  <span class="code-name" style="font-size:30px">
4117
4020
 
4118
- buildRequestParamsObject<span class="signature">(options, imageWidth, imageHeight, bbox)</span>
4021
+ buildRequestImageSrc<span class="signature">(url, params)</span>
4119
4022
 
4120
4023
  </span>
4121
4024
  </h4>
@@ -4123,7 +4026,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
4123
4026
 
4124
4027
 
4125
4028
  <div class="description">
4126
- <p>构建请求参数对象</p>
4029
+ <p>构建图片Src地址</p>
4127
4030
  </div>
4128
4031
 
4129
4032
 
@@ -4159,61 +4062,13 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
4159
4062
 
4160
4063
  <tr class="deep-level-0">
4161
4064
 
4162
- <td class="name"><code>options</code></td>
4163
-
4164
-
4165
- <td class="type">
4166
-
4167
-
4168
- <span class="param-type">Object</span>
4169
-
4170
-
4171
-
4172
- </td>
4173
-
4174
-
4175
-
4176
- <td class="description last"><p>额外初始化参数</p></td>
4177
- </tr>
4178
-
4179
-
4180
-
4181
-
4182
-
4183
-
4184
- <tr class="deep-level-0">
4185
-
4186
- <td class="name"><code>imageWidth</code></td>
4187
-
4188
-
4189
- <td class="type">
4190
-
4191
-
4192
- <span class="param-type">Number</span>
4193
-
4194
-
4195
-
4196
- </td>
4197
-
4198
-
4199
-
4200
- <td class="description last"><p>瓦片宽度</p></td>
4201
- </tr>
4202
-
4203
-
4204
-
4205
-
4206
-
4207
-
4208
- <tr class="deep-level-0">
4209
-
4210
- <td class="name"><code>imageHeight</code></td>
4065
+ <td class="name"><code>url</code></td>
4211
4066
 
4212
4067
 
4213
4068
  <td class="type">
4214
4069
 
4215
4070
 
4216
- <span class="param-type">Number</span>
4071
+ <span class="param-type">String</span>
4217
4072
 
4218
4073
 
4219
4074
 
@@ -4221,7 +4076,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
4221
4076
 
4222
4077
 
4223
4078
 
4224
- <td class="description last"><p>瓦片高度</p></td>
4079
+ <td class="description last"><p>服务基地址</p></td>
4225
4080
  </tr>
4226
4081
 
4227
4082
 
@@ -4231,13 +4086,13 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
4231
4086
 
4232
4087
  <tr class="deep-level-0">
4233
4088
 
4234
- <td class="name"><code>bbox</code></td>
4089
+ <td class="name"><code>params</code></td>
4235
4090
 
4236
4091
 
4237
4092
  <td class="type">
4238
4093
 
4239
4094
 
4240
- <span class="param-type">String</span>
4095
+ <span class="param-type">Object</span>
4241
4096
 
4242
4097
 
4243
4098
 
@@ -4245,7 +4100,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
4245
4100
 
4246
4101
 
4247
4102
 
4248
- <td class="description last"><p>瓦片显示范围</p></td>
4103
+ <td class="description last"><p>需要请求地址后面拼接的参数</p></td>
4249
4104
  </tr>
4250
4105
 
4251
4106
 
@@ -4319,13 +4174,13 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
4319
4174
 
4320
4175
  <div class="columns">
4321
4176
 
4322
- <div class='param-desc column is-7'><p>请求参数对象</p></div>
4177
+ <div class='param-desc column is-7'><p>请求对象</p></div>
4323
4178
 
4324
4179
 
4325
4180
  <div class='column is-5 has-text-left'>
4326
4181
  <label>类型: </label>
4327
4182
 
4328
- <span class="param-type">Object</span>
4183
+ <span class="param-type">Promise</span>
4329
4184
 
4330
4185
 
4331
4186
  </div>
@@ -4347,12 +4202,12 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
4347
4202
 
4348
4203
 
4349
4204
 
4350
- <h4 class="name" id="buildRequestParamsObject">
4351
- <a class="href-link" href="#buildRequestParamsObject">#</a>
4205
+ <h4 class="name" id="buildRequestImageSrc">
4206
+ <a class="href-link" href="#buildRequestImageSrc">#</a>
4352
4207
 
4353
4208
  <span class="code-name" style="font-size:30px">
4354
4209
 
4355
- buildRequestParamsObject<span class="signature">(options, imageWidth, imageHeight, bbox)</span>
4210
+ buildRequestImageSrc<span class="signature">()</span>
4356
4211
 
4357
4212
  </span>
4358
4213
  </h4>
@@ -4360,7 +4215,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
4360
4215
 
4361
4216
 
4362
4217
  <div class="description">
4363
- <p>构建请求参数对象</p>
4218
+ <p>构建图片Src地址</p>
4364
4219
  </div>
4365
4220
 
4366
4221
 
@@ -4372,125 +4227,120 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
4372
4227
 
4373
4228
 
4374
4229
 
4375
- <h4>参数:</h4>
4376
-
4377
- <div class="table-container">
4378
- <table class="params table">
4379
- <thead>
4380
- <tr>
4381
-
4382
- <th>名称</th>
4383
-
4384
4230
 
4385
- <th>类型</th>
4386
4231
 
4387
-
4388
4232
 
4389
- <th class="last">描述</th>
4390
- </tr>
4391
- </thead>
4392
4233
 
4393
- <tbody>
4394
-
4234
+ <dl class="details">
4395
4235
 
4396
-
4397
- <tr class="deep-level-0">
4398
-
4399
- <td class="name"><code>options</code></td>
4400
-
4236
+
4401
4237
 
4402
- <td class="type">
4403
-
4404
-
4405
- <span class="param-type">Object</span>
4238
+
4406
4239
 
4240
+
4407
4241
 
4408
-
4409
- </td>
4242
+
4410
4243
 
4411
-
4244
+
4412
4245
 
4413
- <td class="description last"><p>额外初始化参数</p></td>
4414
- </tr>
4246
+
4415
4247
 
4248
+
4416
4249
 
4250
+
4417
4251
 
4418
-
4252
+
4419
4253
 
4420
-
4421
- <tr class="deep-level-0">
4422
-
4423
- <td class="name"><code>imageWidth</code></td>
4424
-
4254
+
4425
4255
 
4426
- <td class="type">
4427
-
4428
-
4429
- <span class="param-type">Number</span>
4256
+
4430
4257
 
4258
+
4259
+
4431
4260
 
4432
-
4433
- </td>
4261
+
4434
4262
 
4435
-
4263
+
4436
4264
 
4437
- <td class="description last"><p>瓦片宽度</p></td>
4438
- </tr>
4265
+
4266
+ </dl>
4439
4267
 
4440
4268
 
4441
4269
 
4442
-
4443
4270
 
4444
-
4445
- <tr class="deep-level-0">
4446
-
4447
- <td class="name"><code>imageHeight</code></td>
4448
-
4449
4271
 
4450
- <td class="type">
4451
-
4452
-
4453
- <span class="param-type">Number</span>
4454
4272
 
4455
4273
 
4456
-
4457
- </td>
4458
4274
 
4459
-
4460
4275
 
4461
- <td class="description last"><p>瓦片高度</p></td>
4462
- </tr>
4463
4276
 
4464
4277
 
4465
4278
 
4466
-
4467
4279
 
4468
-
4469
- <tr class="deep-level-0">
4470
-
4471
- <td class="name"><code>bbox</code></td>
4472
-
4473
4280
 
4474
- <td class="type">
4475
-
4476
-
4477
- <span class="param-type">String</span>
4478
4281
 
4479
4282
 
4480
-
4481
- </td>
4482
4283
 
4483
-
4484
4284
 
4485
- <td class="description last"><p>瓦片显示范围</p></td>
4486
- </tr>
4285
+ <div class='columns method-parameter'>
4286
+ <div class="column is-2"><label>返回值:</label></div>
4287
+ <div class="column is-10">
4288
+
4289
+
4290
+
4291
+ <div class="columns">
4292
+
4293
+ <div class='param-desc column is-7'><p>请求对象</p></div>
4294
+
4295
+
4296
+ <div class='column is-5 has-text-left'>
4297
+ <label>类型: </label>
4298
+
4299
+ <span class="param-type">Promise</span>
4300
+
4301
+
4302
+ </div>
4303
+
4304
+ </div>
4305
+
4306
+
4307
+ </div>
4308
+ </div>
4309
+
4310
+
4311
+
4487
4312
 
4488
4313
 
4489
4314
 
4490
-
4491
- </tbody>
4492
- </table>
4493
4315
  </div>
4316
+
4317
+ <div class="member">
4318
+
4319
+
4320
+
4321
+ <h4 class="name" id="buildRequestParamsObject">
4322
+ <a class="href-link" href="#buildRequestParamsObject">#</a>
4323
+
4324
+ <span class="code-name" style="font-size:30px">
4325
+
4326
+ buildRequestParamsObject<span class="signature">()</span>
4327
+
4328
+ </span>
4329
+ </h4>
4330
+
4331
+
4332
+
4333
+ <div class="description">
4334
+ <p>构建请求参数对象</p>
4335
+ </div>
4336
+
4337
+
4338
+
4339
+
4340
+
4341
+
4342
+
4343
+
4494
4344
 
4495
4345
 
4496
4346
 
@@ -4556,13 +4406,13 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
4556
4406
 
4557
4407
  <div class="columns">
4558
4408
 
4559
- <div class='param-desc column is-7'><p>请求参数对象</p></div>
4409
+ <div class='param-desc column is-7'><p>请求对象</p></div>
4560
4410
 
4561
4411
 
4562
4412
  <div class='column is-5 has-text-left'>
4563
4413
  <label>类型: </label>
4564
4414
 
4565
- <span class="param-type">Object</span>
4415
+ <span class="param-type">Promise</span>
4566
4416
 
4567
4417
 
4568
4418
  </div>
@@ -7013,18 +6863,22 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7013
6863
 
7014
6864
 
7015
6865
 
7016
- <h4 class="name" id="getTextByLabelSymbolExpression">
7017
- <a class="href-link" href="#getTextByLabelSymbolExpression">#</a>
6866
+ <h4 class="name" id="getSpatialReferenceFromCRS">
6867
+ <a class="href-link" href="#getSpatialReferenceFromCRS">#</a>
7018
6868
 
7019
6869
  <span class="code-name" style="font-size:30px">
7020
6870
 
7021
- getTextByLabelSymbolExpression<span class="signature">(textExpressionEx, clusterCount)</span>
6871
+ getSpatialReferenceFromCRS<span class="signature">(crs)</span>
7022
6872
 
7023
6873
  </span>
7024
6874
  </h4>
7025
6875
 
7026
6876
 
7027
6877
 
6878
+ <div class="description">
6879
+ <p>通过L.CRS获取SpatialReference对象</p>
6880
+ </div>
6881
+
7028
6882
 
7029
6883
 
7030
6884
 
@@ -7058,37 +6912,13 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7058
6912
 
7059
6913
  <tr class="deep-level-0">
7060
6914
 
7061
- <td class="name"><code>textExpressionEx</code></td>
7062
-
7063
-
7064
- <td class="type">
7065
-
7066
-
7067
- <span class="param-type">Expression</span>
7068
-
7069
-
7070
-
7071
- </td>
7072
-
7073
-
7074
-
7075
- <td class="description last"><p>数值表达式解析器</p></td>
7076
- </tr>
7077
-
7078
-
7079
-
7080
-
7081
-
7082
-
7083
- <tr class="deep-level-0">
7084
-
7085
- <td class="name"><code>clusterCount</code></td>
6915
+ <td class="name"><code>crs</code></td>
7086
6916
 
7087
6917
 
7088
6918
  <td class="type">
7089
6919
 
7090
6920
 
7091
- <span class="param-type">Number</span>
6921
+ <span class="param-type">Object</span>
7092
6922
 
7093
6923
 
7094
6924
 
@@ -7096,7 +6926,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7096
6926
 
7097
6927
 
7098
6928
 
7099
- <td class="description last"></td>
6929
+ <td class="description last"><p>L.CRS对象</p></td>
7100
6930
  </tr>
7101
6931
 
7102
6932
 
@@ -7170,11 +7000,16 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7170
7000
 
7171
7001
  <div class="columns">
7172
7002
 
7003
+ <div class='param-desc column is-7'><p>SpatialReference对象</p></div>
7004
+
7173
7005
 
7174
7006
  <div class='column is-5 has-text-left'>
7175
7007
  <label>类型: </label>
7176
7008
 
7177
- <span class="param-type">*</span>
7009
+ <span class="param-type">SpatialReference</span>
7010
+ |
7011
+
7012
+ <span class="param-type">null</span>
7178
7013
 
7179
7014
 
7180
7015
  </div>
@@ -7196,22 +7031,18 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7196
7031
 
7197
7032
 
7198
7033
 
7199
- <h4 class="name" id="getTileUrl">
7200
- <a class="href-link" href="#getTileUrl">#</a>
7034
+ <h4 class="name" id="getTextByLabelSymbolExpression">
7035
+ <a class="href-link" href="#getTextByLabelSymbolExpression">#</a>
7201
7036
 
7202
7037
  <span class="code-name" style="font-size:30px">
7203
7038
 
7204
- getTileUrl<span class="signature">(coords)</span>
7039
+ getTextByLabelSymbolExpression<span class="signature">(textExpressionEx, clusterCount)</span>
7205
7040
 
7206
7041
  </span>
7207
7042
  </h4>
7208
7043
 
7209
7044
 
7210
7045
 
7211
- <div class="description">
7212
- <p>构造并获取瓦片请求的URL</p>
7213
- </div>
7214
-
7215
7046
 
7216
7047
 
7217
7048
 
@@ -7245,13 +7076,13 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7245
7076
 
7246
7077
  <tr class="deep-level-0">
7247
7078
 
7248
- <td class="name"><code>coords</code></td>
7079
+ <td class="name"><code>textExpressionEx</code></td>
7249
7080
 
7250
7081
 
7251
7082
  <td class="type">
7252
7083
 
7253
7084
 
7254
- <span class="param-type">Object</span>
7085
+ <span class="param-type">Expression</span>
7255
7086
 
7256
7087
 
7257
7088
 
@@ -7259,7 +7090,31 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7259
7090
 
7260
7091
 
7261
7092
 
7262
- <td class="description last"><p>瓦片行列号对象</p></td>
7093
+ <td class="description last"><p>数值表达式解析器</p></td>
7094
+ </tr>
7095
+
7096
+
7097
+
7098
+
7099
+
7100
+
7101
+ <tr class="deep-level-0">
7102
+
7103
+ <td class="name"><code>clusterCount</code></td>
7104
+
7105
+
7106
+ <td class="type">
7107
+
7108
+
7109
+ <span class="param-type">Number</span>
7110
+
7111
+
7112
+
7113
+ </td>
7114
+
7115
+
7116
+
7117
+ <td class="description last"></td>
7263
7118
  </tr>
7264
7119
 
7265
7120
 
@@ -7333,13 +7188,11 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7333
7188
 
7334
7189
  <div class="columns">
7335
7190
 
7336
- <div class='param-desc column is-7'><p>瓦片请求的URL</p></div>
7337
-
7338
7191
 
7339
7192
  <div class='column is-5 has-text-left'>
7340
7193
  <label>类型: </label>
7341
7194
 
7342
- <span class="param-type">string</span>
7195
+ <span class="param-type">*</span>
7343
7196
 
7344
7197
 
7345
7198
  </div>
@@ -7504,7 +7357,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7504
7357
  <div class='column is-5 has-text-left'>
7505
7358
  <label>类型: </label>
7506
7359
 
7507
- <span class="param-type">String</span>
7360
+ <span class="param-type">string</span>
7508
7361
 
7509
7362
 
7510
7363
  </div>
@@ -7539,7 +7392,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7539
7392
 
7540
7393
 
7541
7394
  <div class="description">
7542
- <p>获取瓦片的请求地址</p>
7395
+ <p>构造并获取瓦片请求的URL</p>
7543
7396
  </div>
7544
7397
 
7545
7398
 
@@ -7589,7 +7442,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7589
7442
 
7590
7443
 
7591
7444
 
7592
- <td class="description last"><p>当前地图中心点</p></td>
7445
+ <td class="description last"><p>瓦片行列号对象</p></td>
7593
7446
  </tr>
7594
7447
 
7595
7448
 
@@ -7663,16 +7516,13 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7663
7516
 
7664
7517
  <div class="columns">
7665
7518
 
7666
- <div class='param-desc column is-7'><p>当请求类型为get时返回请求地址,当请求类型为post时返回的时post的请求参数对象</p></div>
7519
+ <div class='param-desc column is-7'><p>瓦片请求的URL</p></div>
7667
7520
 
7668
7521
 
7669
7522
  <div class='column is-5 has-text-left'>
7670
7523
  <label>类型: </label>
7671
7524
 
7672
7525
  <span class="param-type">String</span>
7673
- |
7674
-
7675
- <span class="param-type">Object</span>
7676
7526
 
7677
7527
 
7678
7528
  </div>
@@ -7837,7 +7687,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7837
7687
  <div class='column is-5 has-text-left'>
7838
7688
  <label>类型: </label>
7839
7689
 
7840
- <span class="param-type">string</span>
7690
+ <span class="param-type">String</span>
7841
7691
 
7842
7692
 
7843
7693
  </div>
@@ -7872,7 +7722,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7872
7722
 
7873
7723
 
7874
7724
  <div class="description">
7875
- <p>构造并获取瓦片请求的URL</p>
7725
+ <p>重写父类的获取出图地址方法</p>
7876
7726
  </div>
7877
7727
 
7878
7728
 
@@ -7914,7 +7764,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7914
7764
  <td class="type">
7915
7765
 
7916
7766
 
7917
- <span class="param-type">Object</span>
7767
+ <span class="param-type">object</span>
7918
7768
 
7919
7769
 
7920
7770
 
@@ -7988,31 +7838,6 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7988
7838
 
7989
7839
 
7990
7840
 
7991
- <div class='columns method-parameter'>
7992
- <div class="column is-2"><label>返回值:</label></div>
7993
- <div class="column is-10">
7994
-
7995
-
7996
-
7997
- <div class="columns">
7998
-
7999
- <div class='param-desc column is-7'><p>瓦片请求的URL</p></div>
8000
-
8001
-
8002
- <div class='column is-5 has-text-left'>
8003
- <label>类型: </label>
8004
-
8005
- <span class="param-type">String</span>
8006
-
8007
-
8008
- </div>
8009
-
8010
- </div>
8011
-
8012
-
8013
- </div>
8014
- </div>
8015
-
8016
7841
 
8017
7842
 
8018
7843
 
@@ -8024,25 +7849,78 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8024
7849
 
8025
7850
 
8026
7851
 
8027
- <h4 class="name" id="getValueByValueExpression">
8028
- <a class="href-link" href="#getValueByValueExpression">#</a>
7852
+ <h4 class="name" id="getTileUrl">
7853
+ <a class="href-link" href="#getTileUrl">#</a>
8029
7854
 
8030
7855
  <span class="code-name" style="font-size:30px">
8031
7856
 
8032
- getValueByValueExpression<span class="signature">()</span>
7857
+ getTileUrl<span class="signature">(coords)</span>
8033
7858
 
8034
7859
  </span>
8035
7860
  </h4>
8036
7861
 
8037
7862
 
8038
7863
 
7864
+ <div class="description">
7865
+ <p>获取瓦片的请求地址</p>
7866
+ </div>
7867
+
7868
+
7869
+
7870
+
7871
+
7872
+
7873
+
7874
+
7875
+
7876
+
7877
+ <h4>参数:</h4>
7878
+
7879
+ <div class="table-container">
7880
+ <table class="params table">
7881
+ <thead>
7882
+ <tr>
7883
+
7884
+ <th>名称</th>
7885
+
7886
+
7887
+ <th>类型</th>
7888
+
7889
+
7890
+
7891
+ <th class="last">描述</th>
7892
+ </tr>
7893
+ </thead>
7894
+
7895
+ <tbody>
7896
+
7897
+
7898
+
7899
+ <tr class="deep-level-0">
7900
+
7901
+ <td class="name"><code>coords</code></td>
7902
+
8039
7903
 
7904
+ <td class="type">
7905
+
7906
+
7907
+ <span class="param-type">Object</span>
8040
7908
 
8041
7909
 
7910
+
7911
+ </td>
7912
+
7913
+
8042
7914
 
7915
+ <td class="description last"><p>当前地图中心点</p></td>
7916
+ </tr>
8043
7917
 
8044
7918
 
8045
7919
 
7920
+
7921
+ </tbody>
7922
+ </table>
7923
+ </div>
8046
7924
 
8047
7925
 
8048
7926
 
@@ -8108,11 +7986,16 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8108
7986
 
8109
7987
  <div class="columns">
8110
7988
 
7989
+ <div class='param-desc column is-7'><p>当请求类型为get时返回请求地址,当请求类型为post时返回的时post的请求参数对象</p></div>
7990
+
8111
7991
 
8112
7992
  <div class='column is-5 has-text-left'>
8113
7993
  <label>类型: </label>
8114
7994
 
8115
- <span class="param-type">*</span>
7995
+ <span class="param-type">String</span>
7996
+ |
7997
+
7998
+ <span class="param-type">Object</span>
8116
7999
 
8117
8000
 
8118
8001
  </div>
@@ -8134,18 +8017,22 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8134
8017
 
8135
8018
 
8136
8019
 
8137
- <h4 class="name" id="getZoomScale">
8138
- <a class="href-link" href="#getZoomScale">#</a>
8139
-
8020
+ <h4 class="name" id="getTileUrl">
8021
+ <a class="href-link" href="#getTileUrl">#</a>
8022
+
8140
8023
  <span class="code-name" style="font-size:30px">
8141
8024
 
8142
- getZoomScale<span class="signature">(toZoom, fromZoom)</span>
8025
+ getTileUrl<span class="signature">(coords)</span>
8143
8026
 
8144
8027
  </span>
8145
8028
  </h4>
8146
8029
 
8147
8030
 
8148
8031
 
8032
+ <div class="description">
8033
+ <p>获取瓦片的请求地址</p>
8034
+ </div>
8035
+
8149
8036
 
8150
8037
 
8151
8038
 
@@ -8179,37 +8066,13 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8179
8066
 
8180
8067
  <tr class="deep-level-0">
8181
8068
 
8182
- <td class="name"><code>toZoom</code></td>
8183
-
8184
-
8185
- <td class="type">
8186
-
8187
-
8188
- <span class="param-type">*</span>
8189
-
8190
-
8191
-
8192
- </td>
8193
-
8194
-
8195
-
8196
- <td class="description last"></td>
8197
- </tr>
8198
-
8199
-
8200
-
8201
-
8202
-
8203
-
8204
- <tr class="deep-level-0">
8205
-
8206
- <td class="name"><code>fromZoom</code></td>
8069
+ <td class="name"><code>coords</code></td>
8207
8070
 
8208
8071
 
8209
8072
  <td class="type">
8210
8073
 
8211
8074
 
8212
- <span class="param-type">*</span>
8075
+ <span class="param-type">Object</span>
8213
8076
 
8214
8077
 
8215
8078
 
@@ -8217,7 +8080,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8217
8080
 
8218
8081
 
8219
8082
 
8220
- <td class="description last"></td>
8083
+ <td class="description last"><p>当前地图中心点</p></td>
8221
8084
  </tr>
8222
8085
 
8223
8086
 
@@ -8291,11 +8154,16 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8291
8154
 
8292
8155
  <div class="columns">
8293
8156
 
8157
+ <div class='param-desc column is-7'><p>当请求类型为get时返回请求地址,当请求类型为post时返回的时post的请求参数对象</p></div>
8158
+
8294
8159
 
8295
8160
  <div class='column is-5 has-text-left'>
8296
8161
  <label>类型: </label>
8297
8162
 
8298
- <span class="param-type">*</span>
8163
+ <span class="param-type">String</span>
8164
+ |
8165
+
8166
+ <span class="param-type">Object</span>
8299
8167
 
8300
8168
 
8301
8169
  </div>
@@ -8317,12 +8185,12 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8317
8185
 
8318
8186
 
8319
8187
 
8320
- <h4 class="name" id="initBaseUrl">
8321
- <a class="href-link" href="#initBaseUrl">#</a>
8188
+ <h4 class="name" id="getTileUrl">
8189
+ <a class="href-link" href="#getTileUrl">#</a>
8322
8190
 
8323
8191
  <span class="code-name" style="font-size:30px">
8324
8192
 
8325
- initBaseUrl<span class="signature">(url, options)</span>
8193
+ getTileUrl<span class="signature">(coords)</span>
8326
8194
 
8327
8195
  </span>
8328
8196
  </h4>
@@ -8330,7 +8198,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8330
8198
 
8331
8199
 
8332
8200
  <div class="description">
8333
- <p>初始化基地址</p>
8201
+ <p>构造并获取瓦片请求的URL,重写父类的方法</p>
8334
8202
  </div>
8335
8203
 
8336
8204
 
@@ -8366,31 +8234,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8366
8234
 
8367
8235
  <tr class="deep-level-0">
8368
8236
 
8369
- <td class="name"><code>url</code></td>
8370
-
8371
-
8372
- <td class="type">
8373
-
8374
-
8375
- <span class="param-type">String</span>
8376
-
8377
-
8378
-
8379
- </td>
8380
-
8381
-
8382
-
8383
- <td class="description last"><p>服务基地址</p></td>
8384
- </tr>
8385
-
8386
-
8387
-
8388
-
8389
-
8390
-
8391
- <tr class="deep-level-0">
8392
-
8393
- <td class="name"><code>options</code></td>
8237
+ <td class="name"><code>coords</code></td>
8394
8238
 
8395
8239
 
8396
8240
  <td class="type">
@@ -8404,7 +8248,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8404
8248
 
8405
8249
 
8406
8250
 
8407
- <td class="description last"><p>额外初始化参数</p></td>
8251
+ <td class="description last"><p>瓦片行列号对象</p></td>
8408
8252
  </tr>
8409
8253
 
8410
8254
 
@@ -8470,6 +8314,31 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8470
8314
 
8471
8315
 
8472
8316
 
8317
+ <div class='columns method-parameter'>
8318
+ <div class="column is-2"><label>返回值:</label></div>
8319
+ <div class="column is-10">
8320
+
8321
+
8322
+
8323
+ <div class="columns">
8324
+
8325
+ <div class='param-desc column is-7'><p>瓦片请求的URL</p></div>
8326
+
8327
+
8328
+ <div class='column is-5 has-text-left'>
8329
+ <label>类型: </label>
8330
+
8331
+ <span class="param-type">string</span>
8332
+
8333
+
8334
+ </div>
8335
+
8336
+ </div>
8337
+
8338
+
8339
+ </div>
8340
+ </div>
8341
+
8473
8342
 
8474
8343
 
8475
8344
 
@@ -8481,12 +8350,12 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8481
8350
 
8482
8351
 
8483
8352
 
8484
- <h4 class="name" id="initBaseUrl">
8485
- <a class="href-link" href="#initBaseUrl">#</a>
8353
+ <h4 class="name" id="getTileUrl">
8354
+ <a class="href-link" href="#getTileUrl">#</a>
8486
8355
 
8487
8356
  <span class="code-name" style="font-size:30px">
8488
8357
 
8489
- initBaseUrl<span class="signature">(url, options)</span>
8358
+ getTileUrl<span class="signature">(coords)</span>
8490
8359
 
8491
8360
  </span>
8492
8361
  </h4>
@@ -8494,7 +8363,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8494
8363
 
8495
8364
 
8496
8365
  <div class="description">
8497
- <p>初始化基地址</p>
8366
+ <p>构造并获取瓦片请求的URL</p>
8498
8367
  </div>
8499
8368
 
8500
8369
 
@@ -8530,31 +8399,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8530
8399
 
8531
8400
  <tr class="deep-level-0">
8532
8401
 
8533
- <td class="name"><code>url</code></td>
8534
-
8535
-
8536
- <td class="type">
8537
-
8538
-
8539
- <span class="param-type">String</span>
8540
-
8541
-
8542
-
8543
- </td>
8544
-
8545
-
8546
-
8547
- <td class="description last"><p>服务基地址</p></td>
8548
- </tr>
8549
-
8550
-
8551
-
8552
-
8553
-
8554
-
8555
- <tr class="deep-level-0">
8556
-
8557
- <td class="name"><code>options</code></td>
8402
+ <td class="name"><code>coords</code></td>
8558
8403
 
8559
8404
 
8560
8405
  <td class="type">
@@ -8568,7 +8413,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8568
8413
 
8569
8414
 
8570
8415
 
8571
- <td class="description last"><p>额外初始化参数</p></td>
8416
+ <td class="description last"><p>瓦片行列号对象</p></td>
8572
8417
  </tr>
8573
8418
 
8574
8419
 
@@ -8634,6 +8479,31 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8634
8479
 
8635
8480
 
8636
8481
 
8482
+ <div class='columns method-parameter'>
8483
+ <div class="column is-2"><label>返回值:</label></div>
8484
+ <div class="column is-10">
8485
+
8486
+
8487
+
8488
+ <div class="columns">
8489
+
8490
+ <div class='param-desc column is-7'><p>瓦片请求的URL</p></div>
8491
+
8492
+
8493
+ <div class='column is-5 has-text-left'>
8494
+ <label>类型: </label>
8495
+
8496
+ <span class="param-type">string</span>
8497
+
8498
+
8499
+ </div>
8500
+
8501
+ </div>
8502
+
8503
+
8504
+ </div>
8505
+ </div>
8506
+
8637
8507
 
8638
8508
 
8639
8509
 
@@ -8645,12 +8515,12 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8645
8515
 
8646
8516
 
8647
8517
 
8648
- <h4 class="name" id="initialize">
8649
- <a class="href-link" href="#initialize">#</a>
8518
+ <h4 class="name" id="getTileUrl">
8519
+ <a class="href-link" href="#getTileUrl">#</a>
8650
8520
 
8651
8521
  <span class="code-name" style="font-size:30px">
8652
8522
 
8653
- initialize<span class="signature">(url, options)</span>
8523
+ getTileUrl<span class="signature">(coords)</span>
8654
8524
 
8655
8525
  </span>
8656
8526
  </h4>
@@ -8658,7 +8528,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8658
8528
 
8659
8529
 
8660
8530
  <div class="description">
8661
- <p>初始化函数</p>
8531
+ <p>构造并获取瓦片请求的URL</p>
8662
8532
  </div>
8663
8533
 
8664
8534
 
@@ -8694,31 +8564,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8694
8564
 
8695
8565
  <tr class="deep-level-0">
8696
8566
 
8697
- <td class="name"><code>url</code></td>
8698
-
8699
-
8700
- <td class="type">
8701
-
8702
-
8703
- <span class="param-type">String</span>
8704
-
8705
-
8706
-
8707
- </td>
8708
-
8709
-
8710
-
8711
- <td class="description last"><p>服务基地址</p></td>
8712
- </tr>
8713
-
8714
-
8715
-
8716
-
8717
-
8718
-
8719
- <tr class="deep-level-0">
8720
-
8721
- <td class="name"><code>options</code></td>
8567
+ <td class="name"><code>coords</code></td>
8722
8568
 
8723
8569
 
8724
8570
  <td class="type">
@@ -8732,7 +8578,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8732
8578
 
8733
8579
 
8734
8580
 
8735
- <td class="description last"><p>额外参数</p></td>
8581
+ <td class="description last"><p>瓦片行列号对象</p></td>
8736
8582
  </tr>
8737
8583
 
8738
8584
 
@@ -8798,1365 +8644,61 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8798
8644
 
8799
8645
 
8800
8646
 
8801
-
8802
-
8803
-
8804
-
8805
-
8806
- </div>
8647
+ <div class='columns method-parameter'>
8648
+ <div class="column is-2"><label>返回值:</label></div>
8649
+ <div class="column is-10">
8807
8650
 
8808
- <div class="member">
8809
-
8651
+
8810
8652
 
8653
+ <div class="columns">
8811
8654
 
8812
- <h4 class="name" id="initialize">
8813
- <a class="href-link" href="#initialize">#</a>
8814
-
8815
- <span class="code-name" style="font-size:30px">
8816
-
8817
- initialize<span class="signature">(url, options)</span>
8818
-
8819
- </span>
8820
- </h4>
8655
+ <div class='param-desc column is-7'><p>瓦片请求的URL</p></div>
8821
8656
 
8822
-
8823
8657
 
8824
- <div class="description">
8825
- <p>初始化函数</p>
8658
+ <div class='column is-5 has-text-left'>
8659
+ <label>类型: </label>
8660
+
8661
+ <span class="param-type">String</span>
8662
+
8663
+
8826
8664
  </div>
8827
8665
 
8666
+ </div>
8828
8667
 
8668
+
8669
+ </div>
8670
+ </div>
8829
8671
 
8830
8672
 
8831
8673
 
8832
8674
 
8833
8675
 
8834
8676
 
8677
+ </div>
8678
+
8679
+ <div class="member">
8835
8680
 
8836
8681
 
8837
- <h4>参数:</h4>
8838
8682
 
8839
- <div class="table-container">
8840
- <table class="params table">
8841
- <thead>
8842
- <tr>
8843
-
8844
- <th>名称</th>
8683
+ <h4 class="name" id="getValueByValueExpression">
8684
+ <a class="href-link" href="#getValueByValueExpression">#</a>
8685
+
8686
+ <span class="code-name" style="font-size:30px">
8845
8687
 
8846
-
8847
- <th>类型</th>
8848
-
8688
+ getValueByValueExpression<span class="signature">()</span>
8849
8689
 
8690
+ </span>
8691
+ </h4>
8692
+
8850
8693
 
8851
- <th class="last">描述</th>
8852
- </tr>
8853
- </thead>
8854
-
8855
- <tbody>
8856
-
8857
-
8858
-
8859
- <tr class="deep-level-0">
8860
-
8861
- <td class="name"><code>url</code></td>
8862
-
8863
-
8864
- <td class="type">
8865
-
8866
-
8867
- <span class="param-type">String</span>
8868
-
8869
-
8870
-
8871
- </td>
8872
-
8873
-
8874
-
8875
- <td class="description last"><p>服务基地址</p></td>
8876
- </tr>
8877
-
8878
-
8879
-
8880
-
8881
-
8882
-
8883
- <tr class="deep-level-0">
8884
-
8885
- <td class="name"><code>options</code></td>
8886
-
8887
-
8888
- <td class="type">
8889
-
8890
-
8891
- <span class="param-type">Object</span>
8892
-
8893
-
8894
-
8895
- </td>
8896
-
8897
-
8898
-
8899
- <td class="description last"><p>额外参数</p></td>
8900
- </tr>
8901
-
8902
-
8903
-
8904
-
8905
- </tbody>
8906
- </table>
8907
- </div>
8908
-
8909
-
8910
-
8911
-
8912
-
8913
-
8914
- <dl class="details">
8915
-
8916
-
8917
-
8918
-
8919
-
8920
-
8921
-
8922
-
8923
-
8924
-
8925
-
8926
-
8927
-
8928
-
8929
-
8930
-
8931
-
8932
-
8933
-
8934
-
8935
-
8936
-
8937
-
8938
-
8939
-
8940
-
8941
-
8942
-
8943
-
8944
-
8945
-
8946
- </dl>
8947
-
8948
-
8949
-
8950
-
8951
-
8952
-
8953
-
8954
-
8955
-
8956
-
8957
-
8958
-
8959
-
8960
-
8961
-
8962
-
8963
-
8964
-
8965
-
8966
-
8967
-
8968
-
8969
-
8970
- </div>
8971
-
8972
- <div class="member">
8973
-
8974
-
8975
-
8976
- <h4 class="name" id="initialize">
8977
- <a class="href-link" href="#initialize">#</a>
8978
-
8979
- <span class="code-name" style="font-size:30px">
8980
-
8981
- initialize<span class="signature">(url, options)</span>
8982
-
8983
- </span>
8984
- </h4>
8985
-
8986
-
8987
-
8988
- <div class="description">
8989
- <p>初始化图层</p>
8990
- </div>
8991
-
8992
-
8993
-
8994
-
8995
-
8996
-
8997
-
8998
-
8999
-
9000
-
9001
- <h4>参数:</h4>
9002
-
9003
- <div class="table-container">
9004
- <table class="params table">
9005
- <thead>
9006
- <tr>
9007
-
9008
- <th>名称</th>
9009
-
9010
-
9011
- <th>类型</th>
9012
-
9013
-
9014
-
9015
- <th class="last">描述</th>
9016
- </tr>
9017
- </thead>
9018
-
9019
- <tbody>
9020
-
9021
-
9022
-
9023
- <tr class="deep-level-0">
9024
-
9025
- <td class="name"><code>url</code></td>
9026
-
9027
-
9028
- <td class="type">
9029
-
9030
-
9031
- <span class="param-type">String</span>
9032
-
9033
-
9034
-
9035
- </td>
9036
-
9037
-
9038
-
9039
- <td class="description last"><p>服务基地址</p></td>
9040
- </tr>
9041
-
9042
-
9043
-
9044
-
9045
-
9046
-
9047
- <tr class="deep-level-0">
9048
-
9049
- <td class="name"><code>options</code></td>
9050
-
9051
-
9052
- <td class="type">
9053
-
9054
-
9055
- <span class="param-type">Object</span>
9056
-
9057
-
9058
-
9059
- </td>
9060
-
9061
-
9062
-
9063
- <td class="description last"><p>初始化参数</p></td>
9064
- </tr>
9065
-
9066
-
9067
-
9068
-
9069
- </tbody>
9070
- </table>
9071
- </div>
9072
-
9073
-
9074
-
9075
-
9076
-
9077
-
9078
- <dl class="details">
9079
-
9080
-
9081
-
9082
-
9083
-
9084
-
9085
-
9086
-
9087
-
9088
-
9089
-
9090
-
9091
-
9092
-
9093
-
9094
-
9095
-
9096
-
9097
-
9098
-
9099
-
9100
-
9101
-
9102
-
9103
-
9104
-
9105
-
9106
-
9107
-
9108
-
9109
-
9110
- </dl>
9111
-
9112
-
9113
-
9114
-
9115
-
9116
-
9117
-
9118
-
9119
-
9120
-
9121
-
9122
-
9123
-
9124
-
9125
-
9126
-
9127
-
9128
-
9129
-
9130
-
9131
-
9132
-
9133
-
9134
- </div>
9135
-
9136
- <div class="member">
9137
-
9138
-
9139
-
9140
- <h4 class="name" id="initialize">
9141
- <a class="href-link" href="#initialize">#</a>
9142
-
9143
- <span class="code-name" style="font-size:30px">
9144
-
9145
- initialize<span class="signature">(url, options)</span>
9146
-
9147
- </span>
9148
- </h4>
9149
-
9150
-
9151
-
9152
- <div class="description">
9153
- <p>初始化函数</p>
9154
- </div>
9155
-
9156
-
9157
-
9158
-
9159
-
9160
-
9161
-
9162
-
9163
-
9164
-
9165
- <h4>参数:</h4>
9166
-
9167
- <div class="table-container">
9168
- <table class="params table">
9169
- <thead>
9170
- <tr>
9171
-
9172
- <th>名称</th>
9173
-
9174
-
9175
- <th>类型</th>
9176
-
9177
-
9178
-
9179
- <th class="last">描述</th>
9180
- </tr>
9181
- </thead>
9182
-
9183
- <tbody>
9184
-
9185
-
9186
-
9187
- <tr class="deep-level-0">
9188
-
9189
- <td class="name"><code>url</code></td>
9190
-
9191
-
9192
- <td class="type">
9193
-
9194
-
9195
- <span class="param-type">String</span>
9196
-
9197
-
9198
-
9199
- </td>
9200
-
9201
-
9202
-
9203
- <td class="description last"><p>服务基地址</p></td>
9204
- </tr>
9205
-
9206
-
9207
-
9208
-
9209
-
9210
-
9211
- <tr class="deep-level-0">
9212
-
9213
- <td class="name"><code>options</code></td>
9214
-
9215
-
9216
- <td class="type">
9217
-
9218
-
9219
- <span class="param-type">Object</span>
9220
-
9221
-
9222
-
9223
- </td>
9224
-
9225
-
9226
-
9227
- <td class="description last"><p>额外构造参数</p></td>
9228
- </tr>
9229
-
9230
-
9231
-
9232
-
9233
- </tbody>
9234
- </table>
9235
- </div>
9236
-
9237
-
9238
-
9239
-
9240
-
9241
-
9242
- <dl class="details">
9243
-
9244
-
9245
-
9246
-
9247
-
9248
-
9249
-
9250
-
9251
-
9252
-
9253
-
9254
-
9255
-
9256
-
9257
-
9258
-
9259
-
9260
-
9261
-
9262
-
9263
-
9264
-
9265
-
9266
-
9267
-
9268
-
9269
-
9270
-
9271
-
9272
-
9273
-
9274
- </dl>
9275
-
9276
-
9277
-
9278
-
9279
-
9280
-
9281
-
9282
-
9283
-
9284
-
9285
-
9286
-
9287
-
9288
-
9289
-
9290
-
9291
-
9292
-
9293
-
9294
-
9295
-
9296
-
9297
-
9298
- </div>
9299
-
9300
- <div class="member">
9301
-
9302
-
9303
-
9304
- <h4 class="name" id="initialize">
9305
- <a class="href-link" href="#initialize">#</a>
9306
-
9307
- <span class="code-name" style="font-size:30px">
9308
-
9309
- initialize<span class="signature">(url, options)</span>
9310
-
9311
- </span>
9312
- </h4>
9313
-
9314
-
9315
-
9316
- <div class="description">
9317
- <p>初始化函数</p>
9318
- </div>
9319
-
9320
-
9321
-
9322
-
9323
-
9324
-
9325
-
9326
-
9327
-
9328
-
9329
- <h4>参数:</h4>
9330
-
9331
- <div class="table-container">
9332
- <table class="params table">
9333
- <thead>
9334
- <tr>
9335
-
9336
- <th>名称</th>
9337
-
9338
-
9339
- <th>类型</th>
9340
-
9341
-
9342
-
9343
- <th class="last">描述</th>
9344
- </tr>
9345
- </thead>
9346
-
9347
- <tbody>
9348
-
9349
-
9350
-
9351
- <tr class="deep-level-0">
9352
-
9353
- <td class="name"><code>url</code></td>
9354
-
9355
-
9356
- <td class="type">
9357
-
9358
-
9359
- <span class="param-type">String</span>
9360
-
9361
-
9362
-
9363
- </td>
9364
-
9365
-
9366
-
9367
- <td class="description last"><p>服务基地址</p></td>
9368
- </tr>
9369
-
9370
-
9371
-
9372
-
9373
-
9374
-
9375
- <tr class="deep-level-0">
9376
-
9377
- <td class="name"><code>options</code></td>
9378
-
9379
-
9380
- <td class="type">
9381
-
9382
-
9383
- <span class="param-type">Object</span>
9384
-
9385
-
9386
-
9387
- </td>
9388
-
9389
-
9390
-
9391
- <td class="description last"><p>额外参数</p></td>
9392
- </tr>
9393
-
9394
-
9395
-
9396
-
9397
- </tbody>
9398
- </table>
9399
- </div>
9400
-
9401
-
9402
-
9403
-
9404
-
9405
-
9406
- <dl class="details">
9407
-
9408
-
9409
-
9410
-
9411
-
9412
-
9413
-
9414
-
9415
-
9416
-
9417
-
9418
-
9419
-
9420
-
9421
-
9422
-
9423
-
9424
-
9425
-
9426
-
9427
-
9428
-
9429
-
9430
-
9431
-
9432
-
9433
-
9434
-
9435
-
9436
-
9437
-
9438
- </dl>
9439
-
9440
-
9441
-
9442
-
9443
-
9444
-
9445
-
9446
-
9447
-
9448
-
9449
-
9450
-
9451
-
9452
-
9453
-
9454
-
9455
-
9456
-
9457
-
9458
-
9459
-
9460
-
9461
-
9462
- </div>
9463
-
9464
- <div class="member">
9465
-
9466
-
9467
-
9468
- <h4 class="name" id="initialize">
9469
- <a class="href-link" href="#initialize">#</a>
9470
-
9471
- <span class="code-name" style="font-size:30px">
9472
-
9473
- initialize<span class="signature">(url, options)</span>
9474
-
9475
- </span>
9476
- </h4>
9477
-
9478
-
9479
-
9480
- <div class="description">
9481
- <p>初始化函数</p>
9482
- </div>
9483
-
9484
-
9485
-
9486
-
9487
-
9488
-
9489
-
9490
-
9491
-
9492
-
9493
- <h4>参数:</h4>
9494
-
9495
- <div class="table-container">
9496
- <table class="params table">
9497
- <thead>
9498
- <tr>
9499
-
9500
- <th>名称</th>
9501
-
9502
-
9503
- <th>类型</th>
9504
-
9505
-
9506
-
9507
- <th class="last">描述</th>
9508
- </tr>
9509
- </thead>
9510
-
9511
- <tbody>
9512
-
9513
-
9514
-
9515
- <tr class="deep-level-0">
9516
-
9517
- <td class="name"><code>url</code></td>
9518
-
9519
-
9520
- <td class="type">
9521
-
9522
-
9523
- <span class="param-type">String</span>
9524
-
9525
-
9526
-
9527
- </td>
9528
-
9529
-
9530
-
9531
- <td class="description last"><p>服务基地址</p></td>
9532
- </tr>
9533
-
9534
-
9535
-
9536
-
9537
-
9538
-
9539
- <tr class="deep-level-0">
9540
-
9541
- <td class="name"><code>options</code></td>
9542
-
9543
-
9544
- <td class="type">
9545
-
9546
-
9547
- <span class="param-type">Object</span>
9548
-
9549
-
9550
-
9551
- </td>
9552
-
9553
-
9554
-
9555
- <td class="description last"><p>额外参数</p></td>
9556
- </tr>
9557
-
9558
-
9559
-
9560
-
9561
- </tbody>
9562
- </table>
9563
- </div>
9564
-
9565
-
9566
-
9567
-
9568
-
9569
-
9570
- <dl class="details">
9571
-
9572
-
9573
-
9574
-
9575
-
9576
-
9577
-
9578
-
9579
-
9580
-
9581
-
9582
-
9583
-
9584
-
9585
-
9586
-
9587
-
9588
-
9589
-
9590
-
9591
-
9592
-
9593
-
9594
-
9595
-
9596
-
9597
-
9598
-
9599
-
9600
-
9601
-
9602
- </dl>
9603
-
9604
-
9605
-
9606
-
9607
-
9608
-
9609
-
9610
-
9611
-
9612
-
9613
-
9614
-
9615
-
9616
-
9617
-
9618
-
9619
-
9620
-
9621
-
9622
-
9623
-
9624
-
9625
-
9626
- </div>
9627
-
9628
- <div class="member">
9629
-
9630
-
9631
-
9632
- <h4 class="name" id="initializeCRS">
9633
- <a class="href-link" href="#initializeCRS">#</a>
9634
-
9635
- <span class="code-name" style="font-size:30px">
9636
-
9637
- initializeCRS<span class="signature">(layer, allLayers)</span>
9638
-
9639
- </span>
9640
- </h4>
9641
-
9642
-
9643
-
9644
- <div class="description">
9645
- <p>使用图层对象来构造Leaflet视图的CRS参数对象</p>
9646
- </div>
9647
-
9648
-
9649
-
9650
-
9651
-
9652
-
9653
-
9654
-
9655
-
9656
-
9657
- <h4>参数:</h4>
9658
-
9659
- <div class="table-container">
9660
- <table class="params table">
9661
- <thead>
9662
- <tr>
9663
-
9664
- <th>名称</th>
9665
-
9666
-
9667
- <th>类型</th>
9668
-
9669
-
9670
-
9671
- <th class="last">描述</th>
9672
- </tr>
9673
- </thead>
9674
-
9675
- <tbody>
9676
-
9677
-
9678
-
9679
- <tr class="deep-level-0">
9680
-
9681
- <td class="name"><code>layer</code></td>
9682
-
9683
-
9684
- <td class="type">
9685
-
9686
-
9687
- <span class="param-type">Layer</span>
9688
-
9689
-
9690
-
9691
- </td>
9692
-
9693
-
9694
-
9695
- <td class="description last"><p>参考图层,使用其裁图原点、地图范围、级数和分辨率来构造CRS参数对象,支持ArcGISMapImageLayer、ArcGISTileLayer、ArcGISVectorTileLayer、
9696
- IGSFeatureLayer、IGSMapImageLayer、IGSTileLayer、MapGISVectorTileLayer、WMSLayer、WMTSLayer、WFSLayer、WebTileLayer</p></td>
9697
- </tr>
9698
-
9699
-
9700
-
9701
-
9702
-
9703
-
9704
- <tr class="deep-level-0">
9705
-
9706
- <td class="name"><code>allLayers</code></td>
9707
-
9708
-
9709
- <td class="type">
9710
-
9711
-
9712
- <span class="param-type">Array.&lt;Layer></span>
9713
-
9714
-
9715
-
9716
- </td>
9717
-
9718
-
9719
-
9720
- <td class="description last"><p>可选参数,当需要在地图视图中,叠加多个裁图原点相同,裁图方案不同的图层时,可使用此参数,使用多个图层来构配合参考图层构造CRS参数对象</p></td>
9721
- </tr>
9722
-
9723
-
9724
-
9725
-
9726
- </tbody>
9727
- </table>
9728
- </div>
9729
-
9730
-
9731
-
9732
-
9733
-
9734
-
9735
- <dl class="details">
9736
-
9737
-
9738
-
9739
-
9740
-
9741
-
9742
-
9743
-
9744
-
9745
-
9746
-
9747
-
9748
-
9749
-
9750
-
9751
-
9752
-
9753
-
9754
-
9755
-
9756
-
9757
-
9758
-
9759
-
9760
-
9761
-
9762
-
9763
-
9764
-
9765
-
9766
-
9767
- </dl>
9768
-
9769
-
9770
-
9771
-
9772
-
9773
-
9774
-
9775
-
9776
-
9777
-
9778
-
9779
-
9780
-
9781
-
9782
-
9783
-
9784
-
9785
-
9786
- <div class='columns method-parameter'>
9787
- <div class="column is-2"><label>返回值:</label></div>
9788
- <div class="column is-10">
9789
-
9790
-
9791
-
9792
- <div class="columns">
9793
-
9794
- <div class='param-desc column is-7'><p>Leaflet视图的CRS参数</p></div>
9795
-
9796
-
9797
- <div class='column is-5 has-text-left'>
9798
- <label>类型: </label>
9799
-
9800
- <span class="param-type">Object</span>
9801
-
9802
-
9803
- </div>
9804
-
9805
- </div>
9806
-
9807
-
9808
- </div>
9809
- </div>
9810
-
9811
-
9812
-
9813
-
9814
-
9815
-
9816
- </div>
9817
-
9818
- <div class="member">
9819
-
9820
-
9821
-
9822
- <h4 class="name" id="initializeOptions">
9823
- <a class="href-link" href="#initializeOptions">#</a>
9824
-
9825
- <span class="code-name" style="font-size:30px">
9826
-
9827
- initializeOptions<span class="signature">(layer)</span>
9828
-
9829
- </span>
9830
- </h4>
9831
-
9832
-
9833
-
9834
- <div class="description">
9835
- <p>通过Common的图层对象构建Leaflet图层对象的初始化参数</p>
9836
- </div>
9837
-
9838
-
9839
-
9840
-
9841
-
9842
-
9843
-
9844
-
9845
-
9846
-
9847
- <h4>参数:</h4>
9848
-
9849
- <div class="table-container">
9850
- <table class="params table">
9851
- <thead>
9852
- <tr>
9853
-
9854
- <th>名称</th>
9855
-
9856
-
9857
- <th>类型</th>
9858
-
9859
-
9860
-
9861
- <th class="last">描述</th>
9862
- </tr>
9863
- </thead>
9864
-
9865
- <tbody>
9866
-
9867
-
9868
-
9869
- <tr class="deep-level-0">
9870
-
9871
- <td class="name"><code>layer</code></td>
9872
-
9873
-
9874
- <td class="type">
9875
-
9876
-
9877
- <span class="param-type">Layer</span>
9878
-
9879
-
9880
-
9881
- </td>
9882
-
9883
-
9884
-
9885
- <td class="description last"><p>Common层的地图对象,支持ArcGISMapImageLayer、ArcGISTileLayer、ArcGISVectorTileLayer、
9886
- IGSMapImageLayer、IGSTileLayer、MapGISVectorTileLayer、WMSLayer、WMTSLayer、WebTileLayer</p></td>
9887
- </tr>
9888
-
9889
-
9890
-
9891
-
9892
- </tbody>
9893
- </table>
9894
- </div>
9895
-
9896
-
9897
-
9898
-
9899
-
9900
-
9901
- <dl class="details">
9902
-
9903
-
9904
-
9905
-
9906
-
9907
-
9908
-
9909
-
9910
-
9911
-
9912
-
9913
-
9914
-
9915
-
9916
-
9917
-
9918
-
9919
-
9920
-
9921
-
9922
-
9923
-
9924
-
9925
-
9926
-
9927
-
9928
-
9929
-
9930
-
9931
-
9932
-
9933
- </dl>
9934
-
9935
-
9936
-
9937
-
9938
-
9939
-
9940
-
9941
-
9942
-
9943
-
9944
-
9945
-
9946
-
9947
-
9948
-
9949
-
9950
-
9951
-
9952
- <div class='columns method-parameter'>
9953
- <div class="column is-2"><label>返回值:</label></div>
9954
- <div class="column is-10">
9955
-
9956
-
9957
-
9958
- <div class="columns">
9959
-
9960
- <div class='param-desc column is-7'><p>Leaflet图层对象的初始化参数</p></div>
9961
-
9962
-
9963
- <div class='column is-5 has-text-left'>
9964
- <label>类型: </label>
9965
-
9966
- <span class="param-type">Object</span>
9967
-
9968
-
9969
- </div>
9970
-
9971
- </div>
9972
-
9973
-
9974
- </div>
9975
- </div>
9976
-
9977
-
9978
-
9979
-
9980
-
9981
-
9982
- </div>
9983
-
9984
- <div class="member">
9985
-
9986
-
9987
-
9988
- <h4 class="name" id="onAdd">
9989
- <a class="href-link" href="#onAdd">#</a>
9990
-
9991
- <span class="code-name" style="font-size:30px">
9992
-
9993
- onAdd<span class="signature">()</span>
9994
-
9995
- </span>
9996
- </h4>
9997
-
9998
-
9999
-
10000
- <div class="description">
10001
- <p>leaflet修改说明:GridLayer上支持同空间参考系不同裁图方式瓦片的叠加,因改动范围较大,将内核库内重写的代码全部放置在此注释段内
10002
- 此部分统改的包含两部分
10003
- 1、投影关系的改变,采用瓦片独立的像素系
10004
- map.project =&gt; this.project
10005
- map.unproject =&gt; this.unproject
10006
- 2、视图zoom层级的改变,把触发视图刷新入口的地图zoom换算成当前zoom
10007
- this._toMapZoom
10008
- this._toTileZoom
10009
- 修改人:赵凯 2024年5月17日
10010
- ------------------------- 同空间参考系不同裁图方式扩展 ------------------------------</p>
10011
- </div>
10012
-
10013
-
10014
-
10015
-
10016
-
10017
-
10018
-
10019
-
10020
-
10021
-
10022
-
10023
-
10024
-
10025
-
10026
- <dl class="details">
10027
-
10028
-
10029
-
10030
-
10031
-
10032
-
10033
-
10034
-
10035
-
10036
-
10037
-
10038
-
10039
-
10040
-
10041
-
10042
-
10043
-
10044
-
10045
-
10046
-
10047
-
10048
-
10049
-
10050
-
10051
-
10052
-
10053
-
10054
-
10055
-
10056
-
10057
-
10058
- </dl>
10059
-
10060
-
10061
-
10062
-
10063
-
10064
-
10065
-
10066
-
10067
-
10068
-
10069
-
10070
-
10071
-
10072
-
10073
-
10074
-
10075
-
10076
-
10077
-
10078
-
10079
-
10080
-
10081
-
10082
- </div>
10083
-
10084
- <div class="member">
10085
-
10086
-
10087
-
10088
- <h4 class="name" id="onAdd">
10089
- <a class="href-link" href="#onAdd">#</a>
10090
-
10091
- <span class="code-name" style="font-size:30px">
10092
-
10093
- onAdd<span class="signature">(map)</span>
10094
-
10095
- </span>
10096
- </h4>
10097
-
10098
-
10099
-
10100
- <div class="description">
10101
- <p>添加图层完毕事件</p>
10102
- </div>
10103
-
10104
-
10105
-
10106
-
10107
-
10108
-
10109
-
10110
-
10111
-
10112
-
10113
- <h4>参数:</h4>
10114
8694
 
10115
- <div class="table-container">
10116
- <table class="params table">
10117
- <thead>
10118
- <tr>
10119
-
10120
- <th>名称</th>
10121
-
10122
-
10123
- <th>类型</th>
10124
-
10125
-
10126
-
10127
- <th class="last">描述</th>
10128
- </tr>
10129
- </thead>
10130
-
10131
- <tbody>
10132
-
10133
-
10134
-
10135
- <tr class="deep-level-0">
10136
-
10137
- <td class="name"><code>map</code></td>
10138
-
10139
-
10140
- <td class="type">
10141
-
10142
-
10143
- <span class="param-type">L.map</span>
10144
8695
 
10145
8696
 
10146
-
10147
- </td>
10148
8697
 
10149
-
10150
8698
 
10151
- <td class="description last"><p>Leaflet地图视图对象</p></td>
10152
- </tr>
10153
8699
 
10154
8700
 
10155
8701
 
10156
-
10157
- </tbody>
10158
- </table>
10159
- </div>
10160
8702
 
10161
8703
 
10162
8704
 
@@ -10214,6 +8756,29 @@ this._toTileZoom
10214
8756
 
10215
8757
 
10216
8758
 
8759
+ <div class='columns method-parameter'>
8760
+ <div class="column is-2"><label>返回值:</label></div>
8761
+ <div class="column is-10">
8762
+
8763
+
8764
+
8765
+ <div class="columns">
8766
+
8767
+
8768
+ <div class='column is-5 has-text-left'>
8769
+ <label>类型: </label>
8770
+
8771
+ <span class="param-type">*</span>
8772
+
8773
+
8774
+ </div>
8775
+
8776
+ </div>
8777
+
8778
+
8779
+ </div>
8780
+ </div>
8781
+
10217
8782
 
10218
8783
 
10219
8784
 
@@ -10225,22 +8790,18 @@ this._toTileZoom
10225
8790
 
10226
8791
 
10227
8792
 
10228
- <h4 class="name" id="onAdd">
10229
- <a class="href-link" href="#onAdd">#</a>
8793
+ <h4 class="name" id="getZoomScale">
8794
+ <a class="href-link" href="#getZoomScale">#</a>
10230
8795
 
10231
8796
  <span class="code-name" style="font-size:30px">
10232
8797
 
10233
- onAdd<span class="signature">(map)</span>
8798
+ getZoomScale<span class="signature">(toZoom, fromZoom)</span>
10234
8799
 
10235
8800
  </span>
10236
8801
  </h4>
10237
8802
 
10238
8803
 
10239
8804
 
10240
- <div class="description">
10241
- <p>添加图层完毕事件</p>
10242
- </div>
10243
-
10244
8805
 
10245
8806
 
10246
8807
 
@@ -10274,13 +8835,37 @@ this._toTileZoom
10274
8835
 
10275
8836
  <tr class="deep-level-0">
10276
8837
 
10277
- <td class="name"><code>map</code></td>
8838
+ <td class="name"><code>toZoom</code></td>
10278
8839
 
10279
8840
 
10280
8841
  <td class="type">
10281
8842
 
10282
8843
 
10283
- <span class="param-type">L.map</span>
8844
+ <span class="param-type">*</span>
8845
+
8846
+
8847
+
8848
+ </td>
8849
+
8850
+
8851
+
8852
+ <td class="description last"></td>
8853
+ </tr>
8854
+
8855
+
8856
+
8857
+
8858
+
8859
+
8860
+ <tr class="deep-level-0">
8861
+
8862
+ <td class="name"><code>fromZoom</code></td>
8863
+
8864
+
8865
+ <td class="type">
8866
+
8867
+
8868
+ <span class="param-type">*</span>
10284
8869
 
10285
8870
 
10286
8871
 
@@ -10288,7 +8873,7 @@ this._toTileZoom
10288
8873
 
10289
8874
 
10290
8875
 
10291
- <td class="description last"><p>Leaflet地图视图对象</p></td>
8876
+ <td class="description last"></td>
10292
8877
  </tr>
10293
8878
 
10294
8879
 
@@ -10354,6 +8939,29 @@ this._toTileZoom
10354
8939
 
10355
8940
 
10356
8941
 
8942
+ <div class='columns method-parameter'>
8943
+ <div class="column is-2"><label>返回值:</label></div>
8944
+ <div class="column is-10">
8945
+
8946
+
8947
+
8948
+ <div class="columns">
8949
+
8950
+
8951
+ <div class='column is-5 has-text-left'>
8952
+ <label>类型: </label>
8953
+
8954
+ <span class="param-type">*</span>
8955
+
8956
+
8957
+ </div>
8958
+
8959
+ </div>
8960
+
8961
+
8962
+ </div>
8963
+ </div>
8964
+
10357
8965
 
10358
8966
 
10359
8967
 
@@ -10365,12 +8973,12 @@ this._toTileZoom
10365
8973
 
10366
8974
 
10367
8975
 
10368
- <h4 class="name" id="onAdd">
10369
- <a class="href-link" href="#onAdd">#</a>
8976
+ <h4 class="name" id="initialize">
8977
+ <a class="href-link" href="#initialize">#</a>
10370
8978
 
10371
8979
  <span class="code-name" style="font-size:30px">
10372
8980
 
10373
- onAdd<span class="signature">(map)</span>
8981
+ initialize<span class="signature">(url, options)</span>
10374
8982
 
10375
8983
  </span>
10376
8984
  </h4>
@@ -10378,7 +8986,7 @@ this._toTileZoom
10378
8986
 
10379
8987
 
10380
8988
  <div class="description">
10381
- <p>图层添加事件</p>
8989
+ <p>初始化函数</p>
10382
8990
  </div>
10383
8991
 
10384
8992
 
@@ -10414,13 +9022,13 @@ this._toTileZoom
10414
9022
 
10415
9023
  <tr class="deep-level-0">
10416
9024
 
10417
- <td class="name"><code>map</code></td>
9025
+ <td class="name"><code>url</code></td>
10418
9026
 
10419
9027
 
10420
9028
  <td class="type">
10421
9029
 
10422
9030
 
10423
- <span class="param-type">L.map</span>
9031
+ <span class="param-type">String</span>
10424
9032
 
10425
9033
 
10426
9034
 
@@ -10428,7 +9036,31 @@ this._toTileZoom
10428
9036
 
10429
9037
 
10430
9038
 
10431
- <td class="description last"><p>leaflet地图视图对象</p></td>
9039
+ <td class="description last"><p>服务基地址</p></td>
9040
+ </tr>
9041
+
9042
+
9043
+
9044
+
9045
+
9046
+
9047
+ <tr class="deep-level-0">
9048
+
9049
+ <td class="name"><code>options</code></td>
9050
+
9051
+
9052
+ <td class="type">
9053
+
9054
+
9055
+ <span class="param-type">Object</span>
9056
+
9057
+
9058
+
9059
+ </td>
9060
+
9061
+
9062
+
9063
+ <td class="description last"><p>额外构造参数</p></td>
10432
9064
  </tr>
10433
9065
 
10434
9066
 
@@ -10505,12 +9137,12 @@ this._toTileZoom
10505
9137
 
10506
9138
 
10507
9139
 
10508
- <h4 class="name" id="onAdd">
10509
- <a class="href-link" href="#onAdd">#</a>
9140
+ <h4 class="name" id="initializeCRS">
9141
+ <a class="href-link" href="#initializeCRS">#</a>
10510
9142
 
10511
9143
  <span class="code-name" style="font-size:30px">
10512
9144
 
10513
- onAdd<span class="signature">(map)</span>
9145
+ initializeCRS<span class="signature">(layer, allLayers)</span>
10514
9146
 
10515
9147
  </span>
10516
9148
  </h4>
@@ -10518,7 +9150,7 @@ this._toTileZoom
10518
9150
 
10519
9151
 
10520
9152
  <div class="description">
10521
- <p>图层添加事件</p>
9153
+ <p>使用图层对象来构造Leaflet视图的CRS参数对象</p>
10522
9154
  </div>
10523
9155
 
10524
9156
 
@@ -10554,13 +9186,13 @@ this._toTileZoom
10554
9186
 
10555
9187
  <tr class="deep-level-0">
10556
9188
 
10557
- <td class="name"><code>map</code></td>
9189
+ <td class="name"><code>layer</code></td>
10558
9190
 
10559
9191
 
10560
9192
  <td class="type">
10561
9193
 
10562
9194
 
10563
- <span class="param-type">L.map</span>
9195
+ <span class="param-type">Layer</span>
10564
9196
 
10565
9197
 
10566
9198
 
@@ -10568,7 +9200,32 @@ this._toTileZoom
10568
9200
 
10569
9201
 
10570
9202
 
10571
- <td class="description last"><p>leaflet地图视图对象</p></td>
9203
+ <td class="description last"><p>参考图层,使用其裁图原点、地图范围、级数和分辨率来构造CRS参数对象,支持ArcGISMapImageLayer、ArcGISTileLayer、ArcGISVectorTileLayer、
9204
+ IGSFeatureLayer、IGSMapImageLayer、IGSTileLayer、MapGISVectorTileLayer、WMSLayer、WMTSLayer、WFSLayer、WebTileLayer</p></td>
9205
+ </tr>
9206
+
9207
+
9208
+
9209
+
9210
+
9211
+
9212
+ <tr class="deep-level-0">
9213
+
9214
+ <td class="name"><code>allLayers</code></td>
9215
+
9216
+
9217
+ <td class="type">
9218
+
9219
+
9220
+ <span class="param-type">Array.&lt;Layer></span>
9221
+
9222
+
9223
+
9224
+ </td>
9225
+
9226
+
9227
+
9228
+ <td class="description last"><p>可选参数,当需要在地图视图中,叠加多个裁图原点相同,裁图方案不同的图层时,可使用此参数,使用多个图层来构配合参考图层构造CRS参数对象</p></td>
10572
9229
  </tr>
10573
9230
 
10574
9231
 
@@ -10634,6 +9291,31 @@ this._toTileZoom
10634
9291
 
10635
9292
 
10636
9293
 
9294
+ <div class='columns method-parameter'>
9295
+ <div class="column is-2"><label>返回值:</label></div>
9296
+ <div class="column is-10">
9297
+
9298
+
9299
+
9300
+ <div class="columns">
9301
+
9302
+ <div class='param-desc column is-7'><p>Leaflet视图的CRS参数</p></div>
9303
+
9304
+
9305
+ <div class='column is-5 has-text-left'>
9306
+ <label>类型: </label>
9307
+
9308
+ <span class="param-type">Object</span>
9309
+
9310
+
9311
+ </div>
9312
+
9313
+ </div>
9314
+
9315
+
9316
+ </div>
9317
+ </div>
9318
+
10637
9319
 
10638
9320
 
10639
9321
 
@@ -10650,7 +9332,7 @@ this._toTileZoom
10650
9332
 
10651
9333
  <span class="code-name" style="font-size:30px">
10652
9334
 
10653
- onAdd<span class="signature">(map)</span>
9335
+ onAdd<span class="signature">()</span>
10654
9336
 
10655
9337
  </span>
10656
9338
  </h4>
@@ -10658,7 +9340,16 @@ this._toTileZoom
10658
9340
 
10659
9341
 
10660
9342
  <div class="description">
10661
- <p>添加图层完毕事件</p>
9343
+ <p>leaflet修改说明:GridLayer上支持同空间参考系不同裁图方式瓦片的叠加,因改动范围较大,将内核库内重写的代码全部放置在此注释段内
9344
+ 此部分统改的包含两部分
9345
+ 1、投影关系的改变,采用瓦片独立的像素系
9346
+ map.project =&gt; this.project
9347
+ map.unproject =&gt; this.unproject
9348
+ 2、视图zoom层级的改变,把触发视图刷新入口的地图zoom换算成当前zoom
9349
+ this._toMapZoom
9350
+ this._toTileZoom
9351
+ 修改人:赵凯 2024年5月17日
9352
+ ------------------------- 同空间参考系不同裁图方式扩展 ------------------------------</p>
10662
9353
  </div>
10663
9354
 
10664
9355
 
@@ -10670,55 +9361,6 @@ this._toTileZoom
10670
9361
 
10671
9362
 
10672
9363
 
10673
- <h4>参数:</h4>
10674
-
10675
- <div class="table-container">
10676
- <table class="params table">
10677
- <thead>
10678
- <tr>
10679
-
10680
- <th>名称</th>
10681
-
10682
-
10683
- <th>类型</th>
10684
-
10685
-
10686
-
10687
- <th class="last">描述</th>
10688
- </tr>
10689
- </thead>
10690
-
10691
- <tbody>
10692
-
10693
-
10694
-
10695
- <tr class="deep-level-0">
10696
-
10697
- <td class="name"><code>map</code></td>
10698
-
10699
-
10700
- <td class="type">
10701
-
10702
-
10703
- <span class="param-type">L.map</span>
10704
-
10705
-
10706
-
10707
- </td>
10708
-
10709
-
10710
-
10711
- <td class="description last"><p>Leaflet地图视图对象</p></td>
10712
- </tr>
10713
-
10714
-
10715
-
10716
-
10717
- </tbody>
10718
- </table>
10719
- </div>
10720
-
10721
-
10722
9364
 
10723
9365
 
10724
9366
 
@@ -10798,7 +9440,7 @@ this._toTileZoom
10798
9440
 
10799
9441
 
10800
9442
  <div class="description">
10801
- <p>添加图层完毕事件</p>
9443
+ <p>图层添加事件</p>
10802
9444
  </div>
10803
9445
 
10804
9446
 
@@ -10848,7 +9490,7 @@ this._toTileZoom
10848
9490
 
10849
9491
 
10850
9492
 
10851
- <td class="description last"><p>Leaflet地图视图对象</p></td>
9493
+ <td class="description last"><p>leaflet地图视图对象</p></td>
10852
9494
  </tr>
10853
9495
 
10854
9496