@mapgis/webclient-leaflet-plugin 17.4.1 → 17.6.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 (45) hide show
  1. package/README.md +99 -41
  2. package/dist/es5/webclient-common.min.js +32 -6
  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 +50 -4
  6. package/documention/ArcGISTileLayer.html +42 -4
  7. package/documention/EchartsLayer.html +3 -3
  8. package/documention/FeatureLayer.html +2 -2
  9. package/documention/FeatureLayerUtil.html +3 -3
  10. package/documention/IGSImageryLayer.html +851 -0
  11. package/documention/IGSImageryTileLayer.html +741 -0
  12. package/documention/IGSMapImageLayer.html +54 -31
  13. package/documention/IGSTileLayer.html +103 -25
  14. package/documention/L.zondy.MapvBaseLayer.html +6 -2
  15. package/documention/MapLayer.html +30 -2
  16. package/documention/MapVLayer.html +3 -3
  17. package/documention/MapView.html +153 -91
  18. package/documention/MapViewLeaflet.html +1413 -369
  19. package/documention/Popup.html +3 -3
  20. package/documention/Screenshot.html +2 -2
  21. package/documention/SketchEditor.html +12 -12
  22. package/documention/SketchEditorLeaflet.html +477 -241
  23. package/documention/TileLayer.html +132 -2
  24. package/documention/TileLayerWMS.html +2 -2
  25. package/documention/VectorTileLayer.html +46 -4
  26. package/documention/WMSLayerView.html +2 -2
  27. package/documention/WebMapServiceLayer.html +48 -4
  28. package/documention/WebMapTileServiceLayer.html +38 -20
  29. package/documention/WebTileLayer.html +42 -4
  30. package/documention/global.html +561 -1732
  31. package/documention/index.html +2 -2
  32. package/documention/initializeOptions.html +384 -0
  33. package/documention/{Zondy.ThemeLayer.GeoFeatureThemeLayer.html → zondy.themelayer.GeoFeatureThemeLayer.html} +6 -2
  34. package/documention/{Zondy.ThemeLayer.GraphThemeLayer.html → zondy.themelayer.GraphThemeLayer.html} +2 -2
  35. package/documention/{Zondy.ThemeLayer.RandomThemeLayer.html → zondy.themelayer.RandomThemeLayer.html} +2 -2
  36. package/documention/{Zondy.ThemeLayer.ThemeLayer.html → zondy.themelayer.ThemeLayer.html} +6 -2
  37. package/documention/{Zondy.ThemeLayer.ThemeStyle.html → zondy.themelayer.ThemeStyle.html} +6 -2
  38. package/documention/{Zondy.ThemeLayer.rangeThemeLayer.html → zondy.themelayer.rangeThemeLayer.html} +2 -2
  39. package/documention/{Zondy.ThemeLayer.rankSymbolThemeLayer.html → zondy.themelayer.rankSymbolThemeLayer.html} +2 -2
  40. package/documention/{Zondy.ThemeLayer.simpleThemeLayer.html → zondy.themelayer.simpleThemeLayer.html} +2 -2
  41. package/documention/{Zondy.ThemeLayer.uniqueThemeLayer.html → zondy.themelayer.uniqueThemeLayer.html} +2 -2
  42. package/documention/{Zondy.view.UI.html → zondy.view.UI.html} +7 -3
  43. package/documention/{Zondy.Widget.html → zondy.widget.html} +3 -3
  44. package/package.json +7 -8
  45. package/documention/DrawControl.html +0 -802
@@ -104,7 +104,7 @@
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
108
  继承自<a href='http://webclient.smaryun.com/static/modules/common/api/common-mapgis/MapView.html' target='_blank'>zondy.MapView</a><br/>
109
109
  参考示例:
110
110
  <a href='#MapView'>[初始化二维场景视图]</a>
@@ -117,7 +117,7 @@ import { MapView } from '@mapgis/webclient-leaflet-plugin' <br/></p></span></li>
117
117
  [ES6引入方式]:<br/>
118
118
  import { Popup } from '@mapgis/webclient-leaflet-plugin' <br/>
119
119
  自定义样式说明:<br/>
120
- zondy-popup__content 弹窗容器样式<br/>
120
+ zondy-popup__container 弹窗容器样式<br/>
121
121
  zondy-popup__tip 弹窗对话框箭头样式<br/>
122
122
  zondy-popup__header 弹窗头部样式<br/>
123
123
  zondy-popup__content 弹窗主体样式<br/>
@@ -1913,12 +1913,12 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
1913
1913
 
1914
1914
 
1915
1915
 
1916
- <h4 class="name" id="_getTileZoom">
1917
- <a class="href-link" href="#_getTileZoom">#</a>
1916
+ <h4 class="name" id="_getLevelValue">
1917
+ <a class="href-link" href="#_getLevelValue">#</a>
1918
1918
 
1919
1919
  <span class="code-name" style="font-size:30px">
1920
1920
 
1921
- _getTileZoom<span class="signature">(tileCRS)</span>
1921
+ _getLevelValue<span class="signature">(level)</span>
1922
1922
 
1923
1923
  </span>
1924
1924
  </h4>
@@ -1926,7 +1926,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
1926
1926
 
1927
1927
 
1928
1928
  <div class="description">
1929
- <p>获取最小和最大zoom</p>
1929
+ <p>获取level</p>
1930
1930
  </div>
1931
1931
 
1932
1932
 
@@ -1962,13 +1962,13 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
1962
1962
 
1963
1963
  <tr class="deep-level-0">
1964
1964
 
1965
- <td class="name"><code>tileCRS</code></td>
1965
+ <td class="name"><code>level</code></td>
1966
1966
 
1967
1967
 
1968
1968
  <td class="type">
1969
1969
 
1970
1970
 
1971
- <span class="param-type">L.CRS</span>
1971
+ <span class="param-type">Number</span>
1972
1972
 
1973
1973
 
1974
1974
 
@@ -1976,7 +1976,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
1976
1976
 
1977
1977
 
1978
1978
 
1979
- <td class="description last"><p>CRS对象</p></td>
1979
+ <td class="description last"></td>
1980
1980
  </tr>
1981
1981
 
1982
1982
 
@@ -2050,13 +2050,11 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
2050
2050
 
2051
2051
  <div class="columns">
2052
2052
 
2053
- <div class='param-desc column is-7'><p>算好的minTileZoom和maxTileZoom</p></div>
2054
-
2055
2053
 
2056
2054
  <div class='column is-5 has-text-left'>
2057
2055
  <label>类型: </label>
2058
2056
 
2059
- <span class="param-type">Object</span>
2057
+ <span class="param-type">String</span>
2060
2058
 
2061
2059
 
2062
2060
  </div>
@@ -3739,7 +3737,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
3739
3737
 
3740
3738
  <span class="code-name" style="font-size:30px">
3741
3739
 
3742
- buildRequestImageSrc<span class="signature">(url, params)</span>
3740
+ buildRequestImageSrc<span class="signature">()</span>
3743
3741
 
3744
3742
  </span>
3745
3743
  </h4>
@@ -3759,79 +3757,6 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
3759
3757
 
3760
3758
 
3761
3759
 
3762
- <h4>参数:</h4>
3763
-
3764
- <div class="table-container">
3765
- <table class="params table">
3766
- <thead>
3767
- <tr>
3768
-
3769
- <th>名称</th>
3770
-
3771
-
3772
- <th>类型</th>
3773
-
3774
-
3775
-
3776
- <th class="last">描述</th>
3777
- </tr>
3778
- </thead>
3779
-
3780
- <tbody>
3781
-
3782
-
3783
-
3784
- <tr class="deep-level-0">
3785
-
3786
- <td class="name"><code>url</code></td>
3787
-
3788
-
3789
- <td class="type">
3790
-
3791
-
3792
- <span class="param-type">String</span>
3793
-
3794
-
3795
-
3796
- </td>
3797
-
3798
-
3799
-
3800
- <td class="description last"><p>服务基地址</p></td>
3801
- </tr>
3802
-
3803
-
3804
-
3805
-
3806
-
3807
-
3808
- <tr class="deep-level-0">
3809
-
3810
- <td class="name"><code>params</code></td>
3811
-
3812
-
3813
- <td class="type">
3814
-
3815
-
3816
- <span class="param-type">Object</span>
3817
-
3818
-
3819
-
3820
- </td>
3821
-
3822
-
3823
-
3824
- <td class="description last"><p>需要请求地址后面拼接的参数</p></td>
3825
- </tr>
3826
-
3827
-
3828
-
3829
-
3830
- </tbody>
3831
- </table>
3832
- </div>
3833
-
3834
-
3835
3760
 
3836
3761
 
3837
3762
 
@@ -3928,7 +3853,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
3928
3853
 
3929
3854
  <span class="code-name" style="font-size:30px">
3930
3855
 
3931
- buildRequestImageSrc<span class="signature">(url, params)</span>
3856
+ buildRequestImageSrc<span class="signature">(url)</span>
3932
3857
 
3933
3858
  </span>
3934
3859
  </h4>
@@ -3992,30 +3917,6 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
3992
3917
 
3993
3918
 
3994
3919
 
3995
-
3996
-
3997
- <tr class="deep-level-0">
3998
-
3999
- <td class="name"><code>params</code></td>
4000
-
4001
-
4002
- <td class="type">
4003
-
4004
-
4005
- <span class="param-type">Object</span>
4006
-
4007
-
4008
-
4009
- </td>
4010
-
4011
-
4012
-
4013
- <td class="description last"><p>需要请求地址后面拼接的参数</p></td>
4014
- </tr>
4015
-
4016
-
4017
-
4018
-
4019
3920
  </tbody>
4020
3921
  </table>
4021
3922
  </div>
@@ -4112,12 +4013,12 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
4112
4013
 
4113
4014
 
4114
4015
 
4115
- <h4 class="name" id="buildRequestParamsObject">
4116
- <a class="href-link" href="#buildRequestParamsObject">#</a>
4016
+ <h4 class="name" id="buildRequestImageSrc">
4017
+ <a class="href-link" href="#buildRequestImageSrc">#</a>
4117
4018
 
4118
4019
  <span class="code-name" style="font-size:30px">
4119
4020
 
4120
- buildRequestParamsObject<span class="signature">(options, imageWidth, imageHeight, bbox)</span>
4021
+ buildRequestImageSrc<span class="signature">(url, params)</span>
4121
4022
 
4122
4023
  </span>
4123
4024
  </h4>
@@ -4125,7 +4026,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
4125
4026
 
4126
4027
 
4127
4028
  <div class="description">
4128
- <p>构建请求参数对象</p>
4029
+ <p>构建图片Src地址</p>
4129
4030
  </div>
4130
4031
 
4131
4032
 
@@ -4161,61 +4062,13 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
4161
4062
 
4162
4063
  <tr class="deep-level-0">
4163
4064
 
4164
- <td class="name"><code>options</code></td>
4165
-
4166
-
4167
- <td class="type">
4168
-
4169
-
4170
- <span class="param-type">Object</span>
4171
-
4172
-
4173
-
4174
- </td>
4175
-
4176
-
4177
-
4178
- <td class="description last"><p>额外初始化参数</p></td>
4179
- </tr>
4180
-
4181
-
4182
-
4183
-
4184
-
4185
-
4186
- <tr class="deep-level-0">
4187
-
4188
- <td class="name"><code>imageWidth</code></td>
4189
-
4190
-
4191
- <td class="type">
4192
-
4193
-
4194
- <span class="param-type">Number</span>
4195
-
4196
-
4197
-
4198
- </td>
4199
-
4200
-
4201
-
4202
- <td class="description last"><p>瓦片宽度</p></td>
4203
- </tr>
4204
-
4205
-
4206
-
4207
-
4208
-
4209
-
4210
- <tr class="deep-level-0">
4211
-
4212
- <td class="name"><code>imageHeight</code></td>
4065
+ <td class="name"><code>url</code></td>
4213
4066
 
4214
4067
 
4215
4068
  <td class="type">
4216
4069
 
4217
4070
 
4218
- <span class="param-type">Number</span>
4071
+ <span class="param-type">String</span>
4219
4072
 
4220
4073
 
4221
4074
 
@@ -4223,7 +4076,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
4223
4076
 
4224
4077
 
4225
4078
 
4226
- <td class="description last"><p>瓦片高度</p></td>
4079
+ <td class="description last"><p>服务基地址</p></td>
4227
4080
  </tr>
4228
4081
 
4229
4082
 
@@ -4233,13 +4086,13 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
4233
4086
 
4234
4087
  <tr class="deep-level-0">
4235
4088
 
4236
- <td class="name"><code>bbox</code></td>
4089
+ <td class="name"><code>params</code></td>
4237
4090
 
4238
4091
 
4239
4092
  <td class="type">
4240
4093
 
4241
4094
 
4242
- <span class="param-type">String</span>
4095
+ <span class="param-type">Object</span>
4243
4096
 
4244
4097
 
4245
4098
 
@@ -4247,7 +4100,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
4247
4100
 
4248
4101
 
4249
4102
 
4250
- <td class="description last"><p>瓦片显示范围</p></td>
4103
+ <td class="description last"><p>需要请求地址后面拼接的参数</p></td>
4251
4104
  </tr>
4252
4105
 
4253
4106
 
@@ -4321,13 +4174,13 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
4321
4174
 
4322
4175
  <div class="columns">
4323
4176
 
4324
- <div class='param-desc column is-7'><p>请求参数对象</p></div>
4177
+ <div class='param-desc column is-7'><p>请求对象</p></div>
4325
4178
 
4326
4179
 
4327
4180
  <div class='column is-5 has-text-left'>
4328
4181
  <label>类型: </label>
4329
4182
 
4330
- <span class="param-type">Object</span>
4183
+ <span class="param-type">Promise</span>
4331
4184
 
4332
4185
 
4333
4186
  </div>
@@ -4349,12 +4202,12 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
4349
4202
 
4350
4203
 
4351
4204
 
4352
- <h4 class="name" id="buildRequestParamsObject">
4353
- <a class="href-link" href="#buildRequestParamsObject">#</a>
4205
+ <h4 class="name" id="buildRequestImageSrc">
4206
+ <a class="href-link" href="#buildRequestImageSrc">#</a>
4354
4207
 
4355
4208
  <span class="code-name" style="font-size:30px">
4356
4209
 
4357
- buildRequestParamsObject<span class="signature">(options, imageWidth, imageHeight, bbox)</span>
4210
+ buildRequestImageSrc<span class="signature">()</span>
4358
4211
 
4359
4212
  </span>
4360
4213
  </h4>
@@ -4362,7 +4215,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
4362
4215
 
4363
4216
 
4364
4217
  <div class="description">
4365
- <p>构建请求参数对象</p>
4218
+ <p>构建图片Src地址</p>
4366
4219
  </div>
4367
4220
 
4368
4221
 
@@ -4374,125 +4227,120 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
4374
4227
 
4375
4228
 
4376
4229
 
4377
- <h4>参数:</h4>
4378
-
4379
- <div class="table-container">
4380
- <table class="params table">
4381
- <thead>
4382
- <tr>
4383
-
4384
- <th>名称</th>
4385
-
4386
4230
 
4387
- <th>类型</th>
4388
4231
 
4389
-
4390
4232
 
4391
- <th class="last">描述</th>
4392
- </tr>
4393
- </thead>
4394
4233
 
4395
- <tbody>
4396
-
4234
+ <dl class="details">
4397
4235
 
4398
-
4399
- <tr class="deep-level-0">
4400
-
4401
- <td class="name"><code>options</code></td>
4402
-
4236
+
4403
4237
 
4404
- <td class="type">
4405
-
4406
-
4407
- <span class="param-type">Object</span>
4238
+
4408
4239
 
4240
+
4409
4241
 
4410
-
4411
- </td>
4242
+
4412
4243
 
4413
-
4244
+
4414
4245
 
4415
- <td class="description last"><p>额外初始化参数</p></td>
4416
- </tr>
4246
+
4417
4247
 
4248
+
4418
4249
 
4250
+
4419
4251
 
4420
-
4252
+
4421
4253
 
4422
-
4423
- <tr class="deep-level-0">
4424
-
4425
- <td class="name"><code>imageWidth</code></td>
4426
-
4254
+
4427
4255
 
4428
- <td class="type">
4429
-
4430
-
4431
- <span class="param-type">Number</span>
4256
+
4432
4257
 
4258
+
4259
+
4433
4260
 
4434
-
4435
- </td>
4261
+
4436
4262
 
4437
-
4263
+
4438
4264
 
4439
- <td class="description last"><p>瓦片宽度</p></td>
4440
- </tr>
4265
+
4266
+ </dl>
4441
4267
 
4442
4268
 
4443
4269
 
4444
-
4445
4270
 
4446
-
4447
- <tr class="deep-level-0">
4448
-
4449
- <td class="name"><code>imageHeight</code></td>
4450
-
4451
4271
 
4452
- <td class="type">
4453
-
4454
-
4455
- <span class="param-type">Number</span>
4456
4272
 
4457
4273
 
4458
-
4459
- </td>
4460
4274
 
4461
-
4462
4275
 
4463
- <td class="description last"><p>瓦片高度</p></td>
4464
- </tr>
4465
4276
 
4466
4277
 
4467
4278
 
4468
-
4469
4279
 
4470
-
4471
- <tr class="deep-level-0">
4472
-
4473
- <td class="name"><code>bbox</code></td>
4474
-
4475
4280
 
4476
- <td class="type">
4477
-
4478
-
4479
- <span class="param-type">String</span>
4480
4281
 
4481
4282
 
4482
-
4483
- </td>
4484
4283
 
4485
-
4486
4284
 
4487
- <td class="description last"><p>瓦片显示范围</p></td>
4488
- </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
+
4489
4312
 
4490
4313
 
4491
4314
 
4492
-
4493
- </tbody>
4494
- </table>
4495
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
+
4496
4344
 
4497
4345
 
4498
4346
 
@@ -4558,13 +4406,13 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
4558
4406
 
4559
4407
  <div class="columns">
4560
4408
 
4561
- <div class='param-desc column is-7'><p>请求参数对象</p></div>
4409
+ <div class='param-desc column is-7'><p>请求对象</p></div>
4562
4410
 
4563
4411
 
4564
4412
  <div class='column is-5 has-text-left'>
4565
4413
  <label>类型: </label>
4566
4414
 
4567
- <span class="param-type">Object</span>
4415
+ <span class="param-type">Promise</span>
4568
4416
 
4569
4417
 
4570
4418
  </div>
@@ -6184,12 +6032,12 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
6184
6032
 
6185
6033
 
6186
6034
 
6187
- <h4 class="name" id="getMapImageLayerOptions">
6188
- <a class="href-link" href="#getMapImageLayerOptions">#</a>
6035
+ <h4 class="name" id="getExtendBounds">
6036
+ <a class="href-link" href="#getExtendBounds">#</a>
6189
6037
 
6190
6038
  <span class="code-name" style="font-size:30px">
6191
6039
 
6192
- getMapImageLayerOptions<span class="signature">(layer)</span>
6040
+ getExtendBounds<span class="signature">(extent, resolution)</span>
6193
6041
 
6194
6042
  </span>
6195
6043
  </h4>
@@ -6197,7 +6045,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
6197
6045
 
6198
6046
 
6199
6047
  <div class="description">
6200
- <p>获取地图图片图层的初始化参数</p>
6048
+ <p>据像素扩展的leaflet范围对象</p>
6201
6049
  </div>
6202
6050
 
6203
6051
 
@@ -6233,13 +6081,13 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
6233
6081
 
6234
6082
  <tr class="deep-level-0">
6235
6083
 
6236
- <td class="name"><code>layer</code></td>
6084
+ <td class="name"><code>extent</code></td>
6237
6085
 
6238
6086
 
6239
6087
  <td class="type">
6240
6088
 
6241
6089
 
6242
- <span class="param-type"><a href="IGSMapImageLayer.html">IGSMapImageLayer</a></span>
6090
+ <span class="param-type">Extent</span>
6243
6091
 
6244
6092
 
6245
6093
 
@@ -6247,7 +6095,31 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
6247
6095
 
6248
6096
 
6249
6097
 
6250
- <td class="description last"><p>IGSMapImageLayer对象</p></td>
6098
+ <td class="description last"><p>基础图层对象</p></td>
6099
+ </tr>
6100
+
6101
+
6102
+
6103
+
6104
+
6105
+
6106
+ <tr class="deep-level-0">
6107
+
6108
+ <td class="name"><code>resolution</code></td>
6109
+
6110
+
6111
+ <td class="type">
6112
+
6113
+
6114
+ <span class="param-type">Number</span>
6115
+
6116
+
6117
+
6118
+ </td>
6119
+
6120
+
6121
+
6122
+ <td class="description last"><p>分辨率</p></td>
6251
6123
  </tr>
6252
6124
 
6253
6125
 
@@ -6321,13 +6193,13 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
6321
6193
 
6322
6194
  <div class="columns">
6323
6195
 
6324
- <div class='param-desc column is-7'><p>地图图片图层的初始化参数</p></div>
6196
+ <div class='param-desc column is-7'><p>leaflet的范围对象</p></div>
6325
6197
 
6326
6198
 
6327
6199
  <div class='column is-5 has-text-left'>
6328
6200
  <label>类型: </label>
6329
6201
 
6330
- <span class="param-type">Object</span>
6202
+ <span class="param-type">L.latLngBounds</span>
6331
6203
 
6332
6204
 
6333
6205
  </div>
@@ -6349,18 +6221,22 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
6349
6221
 
6350
6222
 
6351
6223
 
6352
- <h4 class="name" id="getMapRotateBounds">
6353
- <a class="href-link" href="#getMapRotateBounds">#</a>
6224
+ <h4 class="name" id="getMapImageLayerOptions">
6225
+ <a class="href-link" href="#getMapImageLayerOptions">#</a>
6354
6226
 
6355
6227
  <span class="code-name" style="font-size:30px">
6356
6228
 
6357
- getMapRotateBounds<span class="signature">(leafletMap)</span>
6229
+ getMapImageLayerOptions<span class="signature">(layer)</span>
6358
6230
 
6359
6231
  </span>
6360
6232
  </h4>
6361
6233
 
6362
6234
 
6363
6235
 
6236
+ <div class="description">
6237
+ <p>获取地图图片图层的初始化参数</p>
6238
+ </div>
6239
+
6364
6240
 
6365
6241
 
6366
6242
 
@@ -6394,13 +6270,13 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
6394
6270
 
6395
6271
  <tr class="deep-level-0">
6396
6272
 
6397
- <td class="name"><code>leafletMap</code></td>
6273
+ <td class="name"><code>layer</code></td>
6398
6274
 
6399
6275
 
6400
6276
  <td class="type">
6401
6277
 
6402
6278
 
6403
- <span class="param-type">*</span>
6279
+ <span class="param-type"><a href="IGSMapImageLayer.html">IGSMapImageLayer</a></span>
6404
6280
 
6405
6281
 
6406
6282
 
@@ -6408,7 +6284,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
6408
6284
 
6409
6285
 
6410
6286
 
6411
- <td class="description last"></td>
6287
+ <td class="description last"><p>IGSMapImageLayer对象</p></td>
6412
6288
  </tr>
6413
6289
 
6414
6290
 
@@ -6482,11 +6358,13 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
6482
6358
 
6483
6359
  <div class="columns">
6484
6360
 
6361
+ <div class='param-desc column is-7'><p>地图图片图层的初始化参数</p></div>
6362
+
6485
6363
 
6486
6364
  <div class='column is-5 has-text-left'>
6487
6365
  <label>类型: </label>
6488
6366
 
6489
- <span class="param-type">*</span>
6367
+ <span class="param-type">Object</span>
6490
6368
 
6491
6369
 
6492
6370
  </div>
@@ -6508,22 +6386,18 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
6508
6386
 
6509
6387
 
6510
6388
 
6511
- <h4 class="name" id="getParamsString">
6512
- <a class="href-link" href="#getParamsString">#</a>
6389
+ <h4 class="name" id="getMapRotateBounds">
6390
+ <a class="href-link" href="#getMapRotateBounds">#</a>
6513
6391
 
6514
6392
  <span class="code-name" style="font-size:30px">
6515
6393
 
6516
- getParamsString<span class="signature">(params)</span>
6394
+ getMapRotateBounds<span class="signature">(leafletMap)</span>
6517
6395
 
6518
6396
  </span>
6519
6397
  </h4>
6520
6398
 
6521
6399
 
6522
6400
 
6523
- <div class="description">
6524
- <p>获取请求参数链接,空值的请求参数不会出现在链接中</p>
6525
- </div>
6526
-
6527
6401
 
6528
6402
 
6529
6403
 
@@ -6557,13 +6431,13 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
6557
6431
 
6558
6432
  <tr class="deep-level-0">
6559
6433
 
6560
- <td class="name"><code>params</code></td>
6434
+ <td class="name"><code>leafletMap</code></td>
6561
6435
 
6562
6436
 
6563
6437
  <td class="type">
6564
6438
 
6565
6439
 
6566
- <span class="param-type">Object</span>
6440
+ <span class="param-type">*</span>
6567
6441
 
6568
6442
 
6569
6443
 
@@ -6571,7 +6445,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
6571
6445
 
6572
6446
 
6573
6447
 
6574
- <td class="description last"><p>请求参数</p></td>
6448
+ <td class="description last"></td>
6575
6449
  </tr>
6576
6450
 
6577
6451
 
@@ -6645,13 +6519,11 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
6645
6519
 
6646
6520
  <div class="columns">
6647
6521
 
6648
- <div class='param-desc column is-7'><p>请求参数链接字符串</p></div>
6649
-
6650
6522
 
6651
6523
  <div class='column is-5 has-text-left'>
6652
6524
  <label>类型: </label>
6653
6525
 
6654
- <span class="param-type">String</span>
6526
+ <span class="param-type">*</span>
6655
6527
 
6656
6528
 
6657
6529
  </div>
@@ -6673,18 +6545,22 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
6673
6545
 
6674
6546
 
6675
6547
 
6676
- <h4 class="name" id="getPixelWorldBounds">
6677
- <a class="href-link" href="#getPixelWorldBounds">#</a>
6548
+ <h4 class="name" id="getParamsString">
6549
+ <a class="href-link" href="#getParamsString">#</a>
6678
6550
 
6679
6551
  <span class="code-name" style="font-size:30px">
6680
6552
 
6681
- getPixelWorldBounds<span class="signature">(zoom)</span>
6553
+ getParamsString<span class="signature">(params)</span>
6682
6554
 
6683
6555
  </span>
6684
6556
  </h4>
6685
6557
 
6686
6558
 
6687
6559
 
6560
+ <div class="description">
6561
+ <p>获取请求参数链接,空值的请求参数不会出现在链接中</p>
6562
+ </div>
6563
+
6688
6564
 
6689
6565
 
6690
6566
 
@@ -6718,13 +6594,13 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
6718
6594
 
6719
6595
  <tr class="deep-level-0">
6720
6596
 
6721
- <td class="name"><code>zoom</code></td>
6597
+ <td class="name"><code>params</code></td>
6722
6598
 
6723
6599
 
6724
6600
  <td class="type">
6725
6601
 
6726
6602
 
6727
- <span class="param-type">*</span>
6603
+ <span class="param-type">Object</span>
6728
6604
 
6729
6605
 
6730
6606
 
@@ -6732,7 +6608,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
6732
6608
 
6733
6609
 
6734
6610
 
6735
- <td class="description last"></td>
6611
+ <td class="description last"><p>请求参数</p></td>
6736
6612
  </tr>
6737
6613
 
6738
6614
 
@@ -6806,11 +6682,13 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
6806
6682
 
6807
6683
  <div class="columns">
6808
6684
 
6685
+ <div class='param-desc column is-7'><p>请求参数链接字符串</p></div>
6686
+
6809
6687
 
6810
6688
  <div class='column is-5 has-text-left'>
6811
6689
  <label>类型: </label>
6812
6690
 
6813
- <span class="param-type">*</span>
6691
+ <span class="param-type">String</span>
6814
6692
 
6815
6693
 
6816
6694
  </div>
@@ -6832,12 +6710,12 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
6832
6710
 
6833
6711
 
6834
6712
 
6835
- <h4 class="name" id="getScaleZoom">
6836
- <a class="href-link" href="#getScaleZoom">#</a>
6713
+ <h4 class="name" id="getPixelWorldBounds">
6714
+ <a class="href-link" href="#getPixelWorldBounds">#</a>
6837
6715
 
6838
6716
  <span class="code-name" style="font-size:30px">
6839
6717
 
6840
- getScaleZoom<span class="signature">(scale, fromZoom)</span>
6718
+ getPixelWorldBounds<span class="signature">(zoom)</span>
6841
6719
 
6842
6720
  </span>
6843
6721
  </h4>
@@ -6877,31 +6755,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
6877
6755
 
6878
6756
  <tr class="deep-level-0">
6879
6757
 
6880
- <td class="name"><code>scale</code></td>
6881
-
6882
-
6883
- <td class="type">
6884
-
6885
-
6886
- <span class="param-type">*</span>
6887
-
6888
-
6889
-
6890
- </td>
6891
-
6892
-
6893
-
6894
- <td class="description last"></td>
6895
- </tr>
6896
-
6897
-
6898
-
6899
-
6900
-
6901
-
6902
- <tr class="deep-level-0">
6903
-
6904
- <td class="name"><code>fromZoom</code></td>
6758
+ <td class="name"><code>zoom</code></td>
6905
6759
 
6906
6760
 
6907
6761
  <td class="type">
@@ -7015,12 +6869,12 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7015
6869
 
7016
6870
 
7017
6871
 
7018
- <h4 class="name" id="getTextByLabelSymbolExpression">
7019
- <a class="href-link" href="#getTextByLabelSymbolExpression">#</a>
6872
+ <h4 class="name" id="getScaleZoom">
6873
+ <a class="href-link" href="#getScaleZoom">#</a>
7020
6874
 
7021
6875
  <span class="code-name" style="font-size:30px">
7022
6876
 
7023
- getTextByLabelSymbolExpression<span class="signature">(textExpressionEx, clusterCount)</span>
6877
+ getScaleZoom<span class="signature">(scale, fromZoom)</span>
7024
6878
 
7025
6879
  </span>
7026
6880
  </h4>
@@ -7060,13 +6914,13 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7060
6914
 
7061
6915
  <tr class="deep-level-0">
7062
6916
 
7063
- <td class="name"><code>textExpressionEx</code></td>
6917
+ <td class="name"><code>scale</code></td>
7064
6918
 
7065
6919
 
7066
6920
  <td class="type">
7067
6921
 
7068
6922
 
7069
- <span class="param-type">Expression</span>
6923
+ <span class="param-type">*</span>
7070
6924
 
7071
6925
 
7072
6926
 
@@ -7074,7 +6928,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7074
6928
 
7075
6929
 
7076
6930
 
7077
- <td class="description last"><p>数值表达式解析器</p></td>
6931
+ <td class="description last"></td>
7078
6932
  </tr>
7079
6933
 
7080
6934
 
@@ -7084,13 +6938,13 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7084
6938
 
7085
6939
  <tr class="deep-level-0">
7086
6940
 
7087
- <td class="name"><code>clusterCount</code></td>
6941
+ <td class="name"><code>fromZoom</code></td>
7088
6942
 
7089
6943
 
7090
6944
  <td class="type">
7091
6945
 
7092
6946
 
7093
- <span class="param-type">Number</span>
6947
+ <span class="param-type">*</span>
7094
6948
 
7095
6949
 
7096
6950
 
@@ -7198,12 +7052,12 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7198
7052
 
7199
7053
 
7200
7054
 
7201
- <h4 class="name" id="getTileUrl">
7202
- <a class="href-link" href="#getTileUrl">#</a>
7055
+ <h4 class="name" id="getSpatialReferenceFromCRS">
7056
+ <a class="href-link" href="#getSpatialReferenceFromCRS">#</a>
7203
7057
 
7204
7058
  <span class="code-name" style="font-size:30px">
7205
7059
 
7206
- getTileUrl<span class="signature">(coords)</span>
7060
+ getSpatialReferenceFromCRS<span class="signature">(crs)</span>
7207
7061
 
7208
7062
  </span>
7209
7063
  </h4>
@@ -7211,7 +7065,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7211
7065
 
7212
7066
 
7213
7067
  <div class="description">
7214
- <p>构造并获取瓦片请求的URL</p>
7068
+ <p>通过L.CRS获取SpatialReference对象</p>
7215
7069
  </div>
7216
7070
 
7217
7071
 
@@ -7247,7 +7101,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7247
7101
 
7248
7102
  <tr class="deep-level-0">
7249
7103
 
7250
- <td class="name"><code>coords</code></td>
7104
+ <td class="name"><code>crs</code></td>
7251
7105
 
7252
7106
 
7253
7107
  <td class="type">
@@ -7261,7 +7115,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7261
7115
 
7262
7116
 
7263
7117
 
7264
- <td class="description last"><p>瓦片行列号对象</p></td>
7118
+ <td class="description last"><p>L.CRS对象</p></td>
7265
7119
  </tr>
7266
7120
 
7267
7121
 
@@ -7335,13 +7189,16 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7335
7189
 
7336
7190
  <div class="columns">
7337
7191
 
7338
- <div class='param-desc column is-7'><p>瓦片请求的URL</p></div>
7192
+ <div class='param-desc column is-7'><p>SpatialReference对象</p></div>
7339
7193
 
7340
7194
 
7341
7195
  <div class='column is-5 has-text-left'>
7342
7196
  <label>类型: </label>
7343
7197
 
7344
- <span class="param-type">string</span>
7198
+ <span class="param-type">SpatialReference</span>
7199
+ |
7200
+
7201
+ <span class="param-type">null</span>
7345
7202
 
7346
7203
 
7347
7204
  </div>
@@ -7363,22 +7220,18 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7363
7220
 
7364
7221
 
7365
7222
 
7366
- <h4 class="name" id="getTileUrl">
7367
- <a class="href-link" href="#getTileUrl">#</a>
7223
+ <h4 class="name" id="getTextByLabelSymbolExpression">
7224
+ <a class="href-link" href="#getTextByLabelSymbolExpression">#</a>
7368
7225
 
7369
7226
  <span class="code-name" style="font-size:30px">
7370
7227
 
7371
- getTileUrl<span class="signature">(coords)</span>
7228
+ getTextByLabelSymbolExpression<span class="signature">(textExpressionEx, clusterCount)</span>
7372
7229
 
7373
7230
  </span>
7374
7231
  </h4>
7375
7232
 
7376
7233
 
7377
7234
 
7378
- <div class="description">
7379
- <p>构造并获取瓦片请求的URL</p>
7380
- </div>
7381
-
7382
7235
 
7383
7236
 
7384
7237
 
@@ -7412,13 +7265,13 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7412
7265
 
7413
7266
  <tr class="deep-level-0">
7414
7267
 
7415
- <td class="name"><code>coords</code></td>
7268
+ <td class="name"><code>textExpressionEx</code></td>
7416
7269
 
7417
7270
 
7418
7271
  <td class="type">
7419
7272
 
7420
7273
 
7421
- <span class="param-type">Object</span>
7274
+ <span class="param-type">Expression</span>
7422
7275
 
7423
7276
 
7424
7277
 
@@ -7426,28 +7279,52 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7426
7279
 
7427
7280
 
7428
7281
 
7429
- <td class="description last"><p>瓦片行列号对象</p></td>
7282
+ <td class="description last"><p>数值表达式解析器</p></td>
7430
7283
  </tr>
7431
7284
 
7432
7285
 
7433
7286
 
7434
7287
 
7435
- </tbody>
7436
- </table>
7437
- </div>
7438
7288
 
7289
+
7290
+ <tr class="deep-level-0">
7291
+
7292
+ <td class="name"><code>clusterCount</code></td>
7293
+
7439
7294
 
7295
+ <td class="type">
7296
+
7297
+
7298
+ <span class="param-type">Number</span>
7440
7299
 
7441
7300
 
7301
+
7302
+ </td>
7442
7303
 
7304
+
7443
7305
 
7444
- <dl class="details">
7306
+ <td class="description last"></td>
7307
+ </tr>
7445
7308
 
7446
-
7447
7309
 
7448
-
7449
7310
 
7450
-
7311
+
7312
+ </tbody>
7313
+ </table>
7314
+ </div>
7315
+
7316
+
7317
+
7318
+
7319
+
7320
+
7321
+ <dl class="details">
7322
+
7323
+
7324
+
7325
+
7326
+
7327
+
7451
7328
 
7452
7329
 
7453
7330
 
@@ -7500,13 +7377,11 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7500
7377
 
7501
7378
  <div class="columns">
7502
7379
 
7503
- <div class='param-desc column is-7'><p>瓦片请求的URL</p></div>
7504
-
7505
7380
 
7506
7381
  <div class='column is-5 has-text-left'>
7507
7382
  <label>类型: </label>
7508
7383
 
7509
- <span class="param-type">String</span>
7384
+ <span class="param-type">*</span>
7510
7385
 
7511
7386
 
7512
7387
  </div>
@@ -7541,7 +7416,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7541
7416
 
7542
7417
 
7543
7418
  <div class="description">
7544
- <p>获取瓦片的请求地址</p>
7419
+ <p>构造并获取瓦片请求的URL</p>
7545
7420
  </div>
7546
7421
 
7547
7422
 
@@ -7591,7 +7466,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7591
7466
 
7592
7467
 
7593
7468
 
7594
- <td class="description last"><p>当前地图中心点</p></td>
7469
+ <td class="description last"><p>瓦片行列号对象</p></td>
7595
7470
  </tr>
7596
7471
 
7597
7472
 
@@ -7665,16 +7540,13 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7665
7540
 
7666
7541
  <div class="columns">
7667
7542
 
7668
- <div class='param-desc column is-7'><p>当请求类型为get时返回请求地址,当请求类型为post时返回的时post的请求参数对象</p></div>
7543
+ <div class='param-desc column is-7'><p>瓦片请求的URL</p></div>
7669
7544
 
7670
7545
 
7671
7546
  <div class='column is-5 has-text-left'>
7672
7547
  <label>类型: </label>
7673
7548
 
7674
- <span class="param-type">String</span>
7675
- |
7676
-
7677
- <span class="param-type">Object</span>
7549
+ <span class="param-type">string</span>
7678
7550
 
7679
7551
 
7680
7552
  </div>
@@ -7839,7 +7711,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
7839
7711
  <div class='column is-5 has-text-left'>
7840
7712
  <label>类型: </label>
7841
7713
 
7842
- <span class="param-type">string</span>
7714
+ <span class="param-type">String</span>
7843
7715
 
7844
7716
 
7845
7717
  </div>
@@ -8026,25 +7898,78 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8026
7898
 
8027
7899
 
8028
7900
 
8029
- <h4 class="name" id="getValueByValueExpression">
8030
- <a class="href-link" href="#getValueByValueExpression">#</a>
7901
+ <h4 class="name" id="getTileUrl">
7902
+ <a class="href-link" href="#getTileUrl">#</a>
8031
7903
 
8032
7904
  <span class="code-name" style="font-size:30px">
8033
7905
 
8034
- getValueByValueExpression<span class="signature">()</span>
7906
+ getTileUrl<span class="signature">(coords)</span>
8035
7907
 
8036
7908
  </span>
8037
7909
  </h4>
8038
7910
 
8039
7911
 
8040
7912
 
7913
+ <div class="description">
7914
+ <p>重写父类的获取出图地址方法</p>
7915
+ </div>
7916
+
7917
+
7918
+
7919
+
7920
+
7921
+
7922
+
7923
+
7924
+
7925
+
7926
+ <h4>参数:</h4>
7927
+
7928
+ <div class="table-container">
7929
+ <table class="params table">
7930
+ <thead>
7931
+ <tr>
7932
+
7933
+ <th>名称</th>
7934
+
7935
+
7936
+ <th>类型</th>
7937
+
7938
+
7939
+
7940
+ <th class="last">描述</th>
7941
+ </tr>
7942
+ </thead>
7943
+
7944
+ <tbody>
7945
+
7946
+
7947
+
7948
+ <tr class="deep-level-0">
7949
+
7950
+ <td class="name"><code>coords</code></td>
7951
+
7952
+
7953
+ <td class="type">
7954
+
7955
+
7956
+ <span class="param-type">object</span>
8041
7957
 
8042
7958
 
7959
+
7960
+ </td>
8043
7961
 
7962
+
8044
7963
 
7964
+ <td class="description last"><p>瓦片行列号对象</p></td>
7965
+ </tr>
8045
7966
 
8046
7967
 
8047
7968
 
7969
+
7970
+ </tbody>
7971
+ </table>
7972
+ </div>
8048
7973
 
8049
7974
 
8050
7975
 
@@ -8102,29 +8027,6 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8102
8027
 
8103
8028
 
8104
8029
 
8105
- <div class='columns method-parameter'>
8106
- <div class="column is-2"><label>返回值:</label></div>
8107
- <div class="column is-10">
8108
-
8109
-
8110
-
8111
- <div class="columns">
8112
-
8113
-
8114
- <div class='column is-5 has-text-left'>
8115
- <label>类型: </label>
8116
-
8117
- <span class="param-type">*</span>
8118
-
8119
-
8120
- </div>
8121
-
8122
- </div>
8123
-
8124
-
8125
- </div>
8126
- </div>
8127
-
8128
8030
 
8129
8031
 
8130
8032
 
@@ -8136,18 +8038,22 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8136
8038
 
8137
8039
 
8138
8040
 
8139
- <h4 class="name" id="getZoomScale">
8140
- <a class="href-link" href="#getZoomScale">#</a>
8041
+ <h4 class="name" id="getTileUrl">
8042
+ <a class="href-link" href="#getTileUrl">#</a>
8141
8043
 
8142
8044
  <span class="code-name" style="font-size:30px">
8143
8045
 
8144
- getZoomScale<span class="signature">(toZoom, fromZoom)</span>
8046
+ getTileUrl<span class="signature">(coords)</span>
8145
8047
 
8146
8048
  </span>
8147
8049
  </h4>
8148
8050
 
8149
8051
 
8150
8052
 
8053
+ <div class="description">
8054
+ <p>获取瓦片的请求地址</p>
8055
+ </div>
8056
+
8151
8057
 
8152
8058
 
8153
8059
 
@@ -8181,37 +8087,13 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8181
8087
 
8182
8088
  <tr class="deep-level-0">
8183
8089
 
8184
- <td class="name"><code>toZoom</code></td>
8185
-
8186
-
8187
- <td class="type">
8188
-
8189
-
8190
- <span class="param-type">*</span>
8191
-
8192
-
8193
-
8194
- </td>
8195
-
8196
-
8197
-
8198
- <td class="description last"></td>
8199
- </tr>
8200
-
8201
-
8202
-
8203
-
8204
-
8205
-
8206
- <tr class="deep-level-0">
8207
-
8208
- <td class="name"><code>fromZoom</code></td>
8090
+ <td class="name"><code>coords</code></td>
8209
8091
 
8210
8092
 
8211
8093
  <td class="type">
8212
8094
 
8213
8095
 
8214
- <span class="param-type">*</span>
8096
+ <span class="param-type">Object</span>
8215
8097
 
8216
8098
 
8217
8099
 
@@ -8219,7 +8101,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8219
8101
 
8220
8102
 
8221
8103
 
8222
- <td class="description last"></td>
8104
+ <td class="description last"><p>当前地图中心点</p></td>
8223
8105
  </tr>
8224
8106
 
8225
8107
 
@@ -8293,11 +8175,16 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8293
8175
 
8294
8176
  <div class="columns">
8295
8177
 
8178
+ <div class='param-desc column is-7'><p>当请求类型为get时返回请求地址,当请求类型为post时返回的时post的请求参数对象</p></div>
8179
+
8296
8180
 
8297
8181
  <div class='column is-5 has-text-left'>
8298
8182
  <label>类型: </label>
8299
8183
 
8300
- <span class="param-type">*</span>
8184
+ <span class="param-type">String</span>
8185
+ |
8186
+
8187
+ <span class="param-type">Object</span>
8301
8188
 
8302
8189
 
8303
8190
  </div>
@@ -8319,12 +8206,12 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8319
8206
 
8320
8207
 
8321
8208
 
8322
- <h4 class="name" id="initBaseUrl">
8323
- <a class="href-link" href="#initBaseUrl">#</a>
8209
+ <h4 class="name" id="getTileUrl">
8210
+ <a class="href-link" href="#getTileUrl">#</a>
8324
8211
 
8325
8212
  <span class="code-name" style="font-size:30px">
8326
8213
 
8327
- initBaseUrl<span class="signature">(url, options)</span>
8214
+ getTileUrl<span class="signature">(coords)</span>
8328
8215
 
8329
8216
  </span>
8330
8217
  </h4>
@@ -8332,7 +8219,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8332
8219
 
8333
8220
 
8334
8221
  <div class="description">
8335
- <p>初始化基地址</p>
8222
+ <p>获取瓦片的请求地址</p>
8336
8223
  </div>
8337
8224
 
8338
8225
 
@@ -8368,31 +8255,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8368
8255
 
8369
8256
  <tr class="deep-level-0">
8370
8257
 
8371
- <td class="name"><code>url</code></td>
8372
-
8373
-
8374
- <td class="type">
8375
-
8376
-
8377
- <span class="param-type">String</span>
8378
-
8379
-
8380
-
8381
- </td>
8382
-
8383
-
8384
-
8385
- <td class="description last"><p>服务基地址</p></td>
8386
- </tr>
8387
-
8388
-
8389
-
8390
-
8391
-
8392
-
8393
- <tr class="deep-level-0">
8394
-
8395
- <td class="name"><code>options</code></td>
8258
+ <td class="name"><code>coords</code></td>
8396
8259
 
8397
8260
 
8398
8261
  <td class="type">
@@ -8406,7 +8269,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8406
8269
 
8407
8270
 
8408
8271
 
8409
- <td class="description last"><p>额外初始化参数</p></td>
8272
+ <td class="description last"><p>当前地图中心点</p></td>
8410
8273
  </tr>
8411
8274
 
8412
8275
 
@@ -8472,6 +8335,34 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8472
8335
 
8473
8336
 
8474
8337
 
8338
+ <div class='columns method-parameter'>
8339
+ <div class="column is-2"><label>返回值:</label></div>
8340
+ <div class="column is-10">
8341
+
8342
+
8343
+
8344
+ <div class="columns">
8345
+
8346
+ <div class='param-desc column is-7'><p>当请求类型为get时返回请求地址,当请求类型为post时返回的时post的请求参数对象</p></div>
8347
+
8348
+
8349
+ <div class='column is-5 has-text-left'>
8350
+ <label>类型: </label>
8351
+
8352
+ <span class="param-type">String</span>
8353
+ |
8354
+
8355
+ <span class="param-type">Object</span>
8356
+
8357
+
8358
+ </div>
8359
+
8360
+ </div>
8361
+
8362
+
8363
+ </div>
8364
+ </div>
8365
+
8475
8366
 
8476
8367
 
8477
8368
 
@@ -8483,12 +8374,12 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8483
8374
 
8484
8375
 
8485
8376
 
8486
- <h4 class="name" id="initBaseUrl">
8487
- <a class="href-link" href="#initBaseUrl">#</a>
8377
+ <h4 class="name" id="getTileUrl">
8378
+ <a class="href-link" href="#getTileUrl">#</a>
8488
8379
 
8489
8380
  <span class="code-name" style="font-size:30px">
8490
8381
 
8491
- initBaseUrl<span class="signature">(url, options)</span>
8382
+ getTileUrl<span class="signature">(coords)</span>
8492
8383
 
8493
8384
  </span>
8494
8385
  </h4>
@@ -8496,7 +8387,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8496
8387
 
8497
8388
 
8498
8389
  <div class="description">
8499
- <p>初始化基地址</p>
8390
+ <p>构造并获取瓦片请求的URL,重写父类的方法</p>
8500
8391
  </div>
8501
8392
 
8502
8393
 
@@ -8532,31 +8423,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8532
8423
 
8533
8424
  <tr class="deep-level-0">
8534
8425
 
8535
- <td class="name"><code>url</code></td>
8536
-
8537
-
8538
- <td class="type">
8539
-
8540
-
8541
- <span class="param-type">String</span>
8542
-
8543
-
8544
-
8545
- </td>
8546
-
8547
-
8548
-
8549
- <td class="description last"><p>服务基地址</p></td>
8550
- </tr>
8551
-
8552
-
8553
-
8554
-
8555
-
8556
-
8557
- <tr class="deep-level-0">
8558
-
8559
- <td class="name"><code>options</code></td>
8426
+ <td class="name"><code>coords</code></td>
8560
8427
 
8561
8428
 
8562
8429
  <td class="type">
@@ -8570,7 +8437,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8570
8437
 
8571
8438
 
8572
8439
 
8573
- <td class="description last"><p>额外初始化参数</p></td>
8440
+ <td class="description last"><p>瓦片行列号对象</p></td>
8574
8441
  </tr>
8575
8442
 
8576
8443
 
@@ -8636,989 +8503,30 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
8636
8503
 
8637
8504
 
8638
8505
 
8506
+ <div class='columns method-parameter'>
8507
+ <div class="column is-2"><label>返回值:</label></div>
8508
+ <div class="column is-10">
8509
+
8510
+
8639
8511
 
8640
-
8641
-
8642
-
8643
-
8644
- </div>
8645
-
8646
- <div class="member">
8647
-
8648
-
8649
-
8650
- <h4 class="name" id="initialize">
8651
- <a class="href-link" href="#initialize">#</a>
8652
-
8653
- <span class="code-name" style="font-size:30px">
8654
-
8655
- initialize<span class="signature">(url, options)</span>
8656
-
8657
- </span>
8658
- </h4>
8659
-
8660
-
8661
-
8662
- <div class="description">
8663
- <p>初始化函数</p>
8664
- </div>
8665
-
8666
-
8667
-
8668
-
8669
-
8670
-
8671
-
8672
-
8673
-
8674
-
8675
- <h4>参数:</h4>
8676
-
8677
- <div class="table-container">
8678
- <table class="params table">
8679
- <thead>
8680
- <tr>
8681
-
8682
- <th>名称</th>
8683
-
8684
-
8685
- <th>类型</th>
8686
-
8687
-
8688
-
8689
- <th class="last">描述</th>
8690
- </tr>
8691
- </thead>
8692
-
8693
- <tbody>
8694
-
8695
-
8696
-
8697
- <tr class="deep-level-0">
8698
-
8699
- <td class="name"><code>url</code></td>
8700
-
8701
-
8702
- <td class="type">
8703
-
8704
-
8705
- <span class="param-type">String</span>
8706
-
8707
-
8708
-
8709
- </td>
8710
-
8711
-
8712
-
8713
- <td class="description last"><p>服务基地址</p></td>
8714
- </tr>
8715
-
8716
-
8717
-
8718
-
8719
-
8720
-
8721
- <tr class="deep-level-0">
8722
-
8723
- <td class="name"><code>options</code></td>
8724
-
8725
-
8726
- <td class="type">
8727
-
8728
-
8729
- <span class="param-type">Object</span>
8730
-
8731
-
8732
-
8733
- </td>
8734
-
8735
-
8736
-
8737
- <td class="description last"><p>额外参数</p></td>
8738
- </tr>
8739
-
8740
-
8741
-
8742
-
8743
- </tbody>
8744
- </table>
8745
- </div>
8746
-
8747
-
8748
-
8749
-
8750
-
8751
-
8752
- <dl class="details">
8753
-
8754
-
8755
-
8756
-
8757
-
8758
-
8759
-
8760
-
8761
-
8762
-
8763
-
8764
-
8765
-
8766
-
8767
-
8768
-
8769
-
8770
-
8771
-
8772
-
8773
-
8774
-
8775
-
8776
-
8777
-
8778
-
8779
-
8780
-
8781
-
8782
-
8783
-
8784
- </dl>
8785
-
8786
-
8787
-
8788
-
8789
-
8790
-
8791
-
8792
-
8793
-
8794
-
8795
-
8796
-
8797
-
8798
-
8799
-
8800
-
8801
-
8802
-
8803
-
8804
-
8805
-
8806
-
8807
-
8808
- </div>
8809
-
8810
- <div class="member">
8811
-
8812
-
8813
-
8814
- <h4 class="name" id="initialize">
8815
- <a class="href-link" href="#initialize">#</a>
8816
-
8817
- <span class="code-name" style="font-size:30px">
8818
-
8819
- initialize<span class="signature">(url, options)</span>
8820
-
8821
- </span>
8822
- </h4>
8823
-
8824
-
8825
-
8826
- <div class="description">
8827
- <p>初始化函数</p>
8828
- </div>
8829
-
8830
-
8831
-
8832
-
8833
-
8834
-
8835
-
8836
-
8837
-
8838
-
8839
- <h4>参数:</h4>
8840
-
8841
- <div class="table-container">
8842
- <table class="params table">
8843
- <thead>
8844
- <tr>
8845
-
8846
- <th>名称</th>
8847
-
8848
-
8849
- <th>类型</th>
8850
-
8851
-
8852
-
8853
- <th class="last">描述</th>
8854
- </tr>
8855
- </thead>
8856
-
8857
- <tbody>
8858
-
8859
-
8860
-
8861
- <tr class="deep-level-0">
8862
-
8863
- <td class="name"><code>url</code></td>
8864
-
8865
-
8866
- <td class="type">
8867
-
8868
-
8869
- <span class="param-type">String</span>
8870
-
8871
-
8872
-
8873
- </td>
8874
-
8875
-
8876
-
8877
- <td class="description last"><p>服务基地址</p></td>
8878
- </tr>
8879
-
8880
-
8881
-
8882
-
8883
-
8884
-
8885
- <tr class="deep-level-0">
8886
-
8887
- <td class="name"><code>options</code></td>
8888
-
8889
-
8890
- <td class="type">
8891
-
8892
-
8893
- <span class="param-type">Object</span>
8894
-
8895
-
8896
-
8897
- </td>
8898
-
8899
-
8900
-
8901
- <td class="description last"><p>额外参数</p></td>
8902
- </tr>
8903
-
8904
-
8905
-
8906
-
8907
- </tbody>
8908
- </table>
8909
- </div>
8910
-
8911
-
8912
-
8913
-
8914
-
8915
-
8916
- <dl class="details">
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
-
8947
-
8948
- </dl>
8949
-
8950
-
8951
-
8952
-
8953
-
8954
-
8955
-
8956
-
8957
-
8958
-
8959
-
8960
-
8961
-
8962
-
8963
-
8964
-
8965
-
8966
-
8967
-
8968
-
8969
-
8970
-
8971
-
8972
- </div>
8973
-
8974
- <div class="member">
8975
-
8976
-
8977
-
8978
- <h4 class="name" id="initialize">
8979
- <a class="href-link" href="#initialize">#</a>
8980
-
8981
- <span class="code-name" style="font-size:30px">
8982
-
8983
- initialize<span class="signature">(url, options)</span>
8984
-
8985
- </span>
8986
- </h4>
8987
-
8988
-
8989
-
8990
- <div class="description">
8991
- <p>初始化图层</p>
8992
- </div>
8993
-
8994
-
8995
-
8996
-
8997
-
8998
-
8999
-
9000
-
9001
-
9002
-
9003
- <h4>参数:</h4>
9004
-
9005
- <div class="table-container">
9006
- <table class="params table">
9007
- <thead>
9008
- <tr>
9009
-
9010
- <th>名称</th>
9011
-
9012
-
9013
- <th>类型</th>
9014
-
9015
-
9016
-
9017
- <th class="last">描述</th>
9018
- </tr>
9019
- </thead>
9020
-
9021
- <tbody>
9022
-
9023
-
9024
-
9025
- <tr class="deep-level-0">
9026
-
9027
- <td class="name"><code>url</code></td>
9028
-
9029
-
9030
- <td class="type">
9031
-
9032
-
9033
- <span class="param-type">String</span>
9034
-
9035
-
9036
-
9037
- </td>
9038
-
9039
-
9040
-
9041
- <td class="description last"><p>服务基地址</p></td>
9042
- </tr>
9043
-
9044
-
9045
-
9046
-
9047
-
9048
-
9049
- <tr class="deep-level-0">
9050
-
9051
- <td class="name"><code>options</code></td>
9052
-
9053
-
9054
- <td class="type">
9055
-
9056
-
9057
- <span class="param-type">Object</span>
9058
-
9059
-
9060
-
9061
- </td>
9062
-
9063
-
9064
-
9065
- <td class="description last"><p>初始化参数</p></td>
9066
- </tr>
9067
-
9068
-
9069
-
9070
-
9071
- </tbody>
9072
- </table>
9073
- </div>
9074
-
9075
-
9076
-
9077
-
9078
-
9079
-
9080
- <dl class="details">
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
-
9111
-
9112
- </dl>
9113
-
9114
-
9115
-
9116
-
9117
-
9118
-
9119
-
9120
-
9121
-
9122
-
9123
-
9124
-
9125
-
9126
-
9127
-
9128
-
9129
-
9130
-
9131
-
9132
-
9133
-
9134
-
9135
-
9136
- </div>
9137
-
9138
- <div class="member">
9139
-
9140
-
9141
-
9142
- <h4 class="name" id="initialize">
9143
- <a class="href-link" href="#initialize">#</a>
9144
-
9145
- <span class="code-name" style="font-size:30px">
9146
-
9147
- initialize<span class="signature">(url, options)</span>
9148
-
9149
- </span>
9150
- </h4>
9151
-
9152
-
9153
-
9154
- <div class="description">
9155
- <p>初始化函数</p>
9156
- </div>
9157
-
9158
-
9159
-
9160
-
9161
-
9162
-
9163
-
9164
-
9165
-
9166
-
9167
- <h4>参数:</h4>
9168
-
9169
- <div class="table-container">
9170
- <table class="params table">
9171
- <thead>
9172
- <tr>
9173
-
9174
- <th>名称</th>
9175
-
9176
-
9177
- <th>类型</th>
9178
-
9179
-
9180
-
9181
- <th class="last">描述</th>
9182
- </tr>
9183
- </thead>
9184
-
9185
- <tbody>
9186
-
9187
-
9188
-
9189
- <tr class="deep-level-0">
9190
-
9191
- <td class="name"><code>url</code></td>
9192
-
9193
-
9194
- <td class="type">
9195
-
9196
-
9197
- <span class="param-type">String</span>
9198
-
9199
-
9200
-
9201
- </td>
9202
-
9203
-
9204
-
9205
- <td class="description last"><p>服务基地址</p></td>
9206
- </tr>
9207
-
9208
-
9209
-
9210
-
9211
-
9212
-
9213
- <tr class="deep-level-0">
9214
-
9215
- <td class="name"><code>options</code></td>
9216
-
9217
-
9218
- <td class="type">
9219
-
9220
-
9221
- <span class="param-type">Object</span>
9222
-
9223
-
9224
-
9225
- </td>
9226
-
9227
-
9228
-
9229
- <td class="description last"><p>额外构造参数</p></td>
9230
- </tr>
9231
-
9232
-
9233
-
9234
-
9235
- </tbody>
9236
- </table>
9237
- </div>
9238
-
9239
-
9240
-
9241
-
9242
-
9243
-
9244
- <dl class="details">
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
-
9275
-
9276
- </dl>
9277
-
9278
-
9279
-
9280
-
9281
-
9282
-
9283
-
9284
-
9285
-
9286
-
9287
-
9288
-
9289
-
9290
-
9291
-
9292
-
9293
-
9294
-
9295
-
9296
-
9297
-
9298
-
9299
-
9300
- </div>
9301
-
9302
- <div class="member">
9303
-
9304
-
9305
-
9306
- <h4 class="name" id="initialize">
9307
- <a class="href-link" href="#initialize">#</a>
9308
-
9309
- <span class="code-name" style="font-size:30px">
9310
-
9311
- initialize<span class="signature">(url, options)</span>
9312
-
9313
- </span>
9314
- </h4>
9315
-
9316
-
9317
-
9318
- <div class="description">
9319
- <p>初始化函数</p>
9320
- </div>
9321
-
9322
-
9323
-
9324
-
9325
-
9326
-
9327
-
9328
-
9329
-
9330
-
9331
- <h4>参数:</h4>
9332
-
9333
- <div class="table-container">
9334
- <table class="params table">
9335
- <thead>
9336
- <tr>
9337
-
9338
- <th>名称</th>
9339
-
9340
-
9341
- <th>类型</th>
9342
-
9343
-
9344
-
9345
- <th class="last">描述</th>
9346
- </tr>
9347
- </thead>
9348
-
9349
- <tbody>
9350
-
9351
-
9352
-
9353
- <tr class="deep-level-0">
9354
-
9355
- <td class="name"><code>url</code></td>
9356
-
9357
-
9358
- <td class="type">
9359
-
9360
-
9361
- <span class="param-type">String</span>
9362
-
9363
-
9364
-
9365
- </td>
9366
-
9367
-
9368
-
9369
- <td class="description last"><p>服务基地址</p></td>
9370
- </tr>
9371
-
9372
-
9373
-
9374
-
9375
-
9376
-
9377
- <tr class="deep-level-0">
9378
-
9379
- <td class="name"><code>options</code></td>
9380
-
9381
-
9382
- <td class="type">
9383
-
9384
-
9385
- <span class="param-type">Object</span>
9386
-
9387
-
9388
-
9389
- </td>
9390
-
9391
-
9392
-
9393
- <td class="description last"><p>额外参数</p></td>
9394
- </tr>
9395
-
9396
-
9397
-
9398
-
9399
- </tbody>
9400
- </table>
9401
- </div>
9402
-
9403
-
9404
-
9405
-
9406
-
9407
-
9408
- <dl class="details">
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
-
9439
-
9440
- </dl>
9441
-
9442
-
9443
-
9444
-
9445
-
9446
-
9447
-
9448
-
9449
-
9450
-
9451
-
9452
-
9453
-
9454
-
9455
-
9456
-
9457
-
9458
-
9459
-
9460
-
9461
-
9462
-
9463
-
9464
- </div>
9465
-
9466
- <div class="member">
9467
-
9468
-
9469
-
9470
- <h4 class="name" id="initialize">
9471
- <a class="href-link" href="#initialize">#</a>
9472
-
9473
- <span class="code-name" style="font-size:30px">
9474
-
9475
- initialize<span class="signature">(url, options)</span>
9476
-
9477
- </span>
9478
- </h4>
9479
-
9480
-
9481
-
9482
- <div class="description">
9483
- <p>初始化函数</p>
9484
- </div>
9485
-
9486
-
9487
-
9488
-
9489
-
9490
-
9491
-
9492
-
9493
-
9494
-
9495
- <h4>参数:</h4>
9496
-
9497
- <div class="table-container">
9498
- <table class="params table">
9499
- <thead>
9500
- <tr>
9501
-
9502
- <th>名称</th>
9503
-
9504
-
9505
- <th>类型</th>
9506
-
9507
-
9508
-
9509
- <th class="last">描述</th>
9510
- </tr>
9511
- </thead>
9512
-
9513
- <tbody>
9514
-
9515
-
9516
-
9517
- <tr class="deep-level-0">
9518
-
9519
- <td class="name"><code>url</code></td>
9520
-
9521
-
9522
- <td class="type">
9523
-
9524
-
9525
- <span class="param-type">String</span>
9526
-
9527
-
9528
-
9529
- </td>
9530
-
9531
-
9532
-
9533
- <td class="description last"><p>服务基地址</p></td>
9534
- </tr>
9535
-
9536
-
9537
-
9538
-
9539
-
9540
-
9541
- <tr class="deep-level-0">
9542
-
9543
- <td class="name"><code>options</code></td>
9544
-
9545
-
9546
- <td class="type">
9547
-
9548
-
9549
- <span class="param-type">Object</span>
9550
-
9551
-
9552
-
9553
- </td>
9554
-
9555
-
9556
-
9557
- <td class="description last"><p>额外参数</p></td>
9558
- </tr>
9559
-
9560
-
9561
-
9562
-
9563
- </tbody>
9564
- </table>
9565
- </div>
9566
-
9567
-
9568
-
9569
-
9570
-
9571
-
9572
- <dl class="details">
9573
-
9574
-
9575
-
9576
-
9577
-
9578
-
9579
-
9580
-
9581
-
9582
-
9583
-
9584
-
9585
-
9586
-
9587
-
9588
-
9589
-
9590
-
9591
-
9592
-
9593
-
9594
-
9595
-
8512
+ <div class="columns">
9596
8513
 
8514
+ <div class='param-desc column is-7'><p>瓦片请求的URL</p></div>
9597
8515
 
9598
-
9599
8516
 
8517
+ <div class='column is-5 has-text-left'>
8518
+ <label>类型: </label>
8519
+
8520
+ <span class="param-type">string</span>
9600
8521
 
9601
-
9602
8522
 
8523
+ </div>
9603
8524
 
9604
- </dl>
9605
-
9606
-
9607
-
9608
-
9609
-
9610
-
9611
-
9612
-
9613
-
9614
-
9615
-
9616
-
9617
-
9618
-
9619
-
9620
-
8525
+ </div>
9621
8526
 
8527
+
8528
+ </div>
8529
+ </div>
9622
8530
 
9623
8531
 
9624
8532
 
@@ -9631,12 +8539,12 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
9631
8539
 
9632
8540
 
9633
8541
 
9634
- <h4 class="name" id="initializeCRS">
9635
- <a class="href-link" href="#initializeCRS">#</a>
8542
+ <h4 class="name" id="getTileUrl">
8543
+ <a class="href-link" href="#getTileUrl">#</a>
9636
8544
 
9637
8545
  <span class="code-name" style="font-size:30px">
9638
8546
 
9639
- initializeCRS<span class="signature">(layer, allLayers)</span>
8547
+ getTileUrl<span class="signature">(coords)</span>
9640
8548
 
9641
8549
  </span>
9642
8550
  </h4>
@@ -9644,7 +8552,7 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
9644
8552
 
9645
8553
 
9646
8554
  <div class="description">
9647
- <p>使用图层对象来构造Leaflet视图的CRS参数对象</p>
8555
+ <p>构造并获取瓦片请求的URL</p>
9648
8556
  </div>
9649
8557
 
9650
8558
 
@@ -9680,38 +8588,13 @@ import { SketchEditor } from &quot;@mapgis/webclient-leaflet-plugin&quot; <br/><
9680
8588
 
9681
8589
  <tr class="deep-level-0">
9682
8590
 
9683
- <td class="name"><code>layer</code></td>
9684
-
9685
-
9686
- <td class="type">
9687
-
9688
-
9689
- <span class="param-type">Layer</span>
9690
-
9691
-
9692
-
9693
- </td>
9694
-
9695
-
9696
-
9697
- <td class="description last"><p>参考图层,使用其裁图原点、地图范围、级数和分辨率来构造CRS参数对象,支持ArcGISMapImageLayer、ArcGISTileLayer、ArcGISVectorTileLayer、
9698
- IGSFeatureLayer、IGSMapImageLayer、IGSTileLayer、MapGISVectorTileLayer、WMSLayer、WMTSLayer、WFSLayer、WebTileLayer</p></td>
9699
- </tr>
9700
-
9701
-
9702
-
9703
-
9704
-
9705
-
9706
- <tr class="deep-level-0">
9707
-
9708
- <td class="name"><code>allLayers</code></td>
8591
+ <td class="name"><code>coords</code></td>
9709
8592
 
9710
8593
 
9711
8594
  <td class="type">
9712
8595
 
9713
8596
 
9714
- <span class="param-type">Array.&lt;Layer></span>
8597
+ <span class="param-type">Object</span>
9715
8598
 
9716
8599
 
9717
8600
 
@@ -9719,7 +8602,7 @@ IGSFeatureLayer、IGSMapImageLayer、IGSTileLayer、MapGISVectorTileLayer、WMSL
9719
8602
 
9720
8603
 
9721
8604
 
9722
- <td class="description last"><p>可选参数,当需要在地图视图中,叠加多个裁图原点相同,裁图方案不同的图层时,可使用此参数,使用多个图层来构配合参考图层构造CRS参数对象</p></td>
8605
+ <td class="description last"><p>瓦片行列号对象</p></td>
9723
8606
  </tr>
9724
8607
 
9725
8608
 
@@ -9793,13 +8676,13 @@ IGSFeatureLayer、IGSMapImageLayer、IGSTileLayer、MapGISVectorTileLayer、WMSL
9793
8676
 
9794
8677
  <div class="columns">
9795
8678
 
9796
- <div class='param-desc column is-7'><p>Leaflet视图的CRS参数</p></div>
8679
+ <div class='param-desc column is-7'><p>瓦片请求的URL</p></div>
9797
8680
 
9798
8681
 
9799
8682
  <div class='column is-5 has-text-left'>
9800
8683
  <label>类型: </label>
9801
8684
 
9802
- <span class="param-type">Object</span>
8685
+ <span class="param-type">string</span>
9803
8686
 
9804
8687
 
9805
8688
  </div>
@@ -9821,12 +8704,12 @@ IGSFeatureLayer、IGSMapImageLayer、IGSTileLayer、MapGISVectorTileLayer、WMSL
9821
8704
 
9822
8705
 
9823
8706
 
9824
- <h4 class="name" id="initializeOptions">
9825
- <a class="href-link" href="#initializeOptions">#</a>
8707
+ <h4 class="name" id="getTileUrl">
8708
+ <a class="href-link" href="#getTileUrl">#</a>
9826
8709
 
9827
8710
  <span class="code-name" style="font-size:30px">
9828
8711
 
9829
- initializeOptions<span class="signature">(layer)</span>
8712
+ getTileUrl<span class="signature">(coords)</span>
9830
8713
 
9831
8714
  </span>
9832
8715
  </h4>
@@ -9834,7 +8717,7 @@ IGSFeatureLayer、IGSMapImageLayer、IGSTileLayer、MapGISVectorTileLayer、WMSL
9834
8717
 
9835
8718
 
9836
8719
  <div class="description">
9837
- <p>通过Common的图层对象构建Leaflet图层对象的初始化参数</p>
8720
+ <p>构造并获取瓦片请求的URL</p>
9838
8721
  </div>
9839
8722
 
9840
8723
 
@@ -9870,13 +8753,13 @@ IGSFeatureLayer、IGSMapImageLayer、IGSTileLayer、MapGISVectorTileLayer、WMSL
9870
8753
 
9871
8754
  <tr class="deep-level-0">
9872
8755
 
9873
- <td class="name"><code>layer</code></td>
8756
+ <td class="name"><code>coords</code></td>
9874
8757
 
9875
8758
 
9876
8759
  <td class="type">
9877
8760
 
9878
8761
 
9879
- <span class="param-type">Layer</span>
8762
+ <span class="param-type">Object</span>
9880
8763
 
9881
8764
 
9882
8765
 
@@ -9884,8 +8767,7 @@ IGSFeatureLayer、IGSMapImageLayer、IGSTileLayer、MapGISVectorTileLayer、WMSL
9884
8767
 
9885
8768
 
9886
8769
 
9887
- <td class="description last"><p>Common层的地图对象,支持ArcGISMapImageLayer、ArcGISTileLayer、ArcGISVectorTileLayer、
9888
- IGSMapImageLayer、IGSTileLayer、MapGISVectorTileLayer、WMSLayer、WMTSLayer、WebTileLayer</p></td>
8770
+ <td class="description last"><p>瓦片行列号对象</p></td>
9889
8771
  </tr>
9890
8772
 
9891
8773
 
@@ -9959,13 +8841,13 @@ IGSMapImageLayer、IGSTileLayer、MapGISVectorTileLayer、WMSLayer、WMTSLayer
9959
8841
 
9960
8842
  <div class="columns">
9961
8843
 
9962
- <div class='param-desc column is-7'><p>Leaflet图层对象的初始化参数</p></div>
8844
+ <div class='param-desc column is-7'><p>瓦片请求的URL</p></div>
9963
8845
 
9964
8846
 
9965
8847
  <div class='column is-5 has-text-left'>
9966
8848
  <label>类型: </label>
9967
8849
 
9968
- <span class="param-type">Object</span>
8850
+ <span class="param-type">String</span>
9969
8851
 
9970
8852
 
9971
8853
  </div>
@@ -9987,178 +8869,25 @@ IGSMapImageLayer、IGSTileLayer、MapGISVectorTileLayer、WMSLayer、WMTSLayer
9987
8869
 
9988
8870
 
9989
8871
 
9990
- <h4 class="name" id="onAdd">
9991
- <a class="href-link" href="#onAdd">#</a>
9992
-
9993
- <span class="code-name" style="font-size:30px">
9994
-
9995
- onAdd<span class="signature">()</span>
9996
-
9997
- </span>
9998
- </h4>
9999
-
10000
-
10001
-
10002
- <div class="description">
10003
- <p>leaflet修改说明:GridLayer上支持同空间参考系不同裁图方式瓦片的叠加,因改动范围较大,将内核库内重写的代码全部放置在此注释段内
10004
- 此部分统改的包含两部分
10005
- 1、投影关系的改变,采用瓦片独立的像素系
10006
- map.project =&gt; this.project
10007
- map.unproject =&gt; this.unproject
10008
- 2、视图zoom层级的改变,把触发视图刷新入口的地图zoom换算成当前zoom
10009
- this._toMapZoom
10010
- this._toTileZoom
10011
- 修改人:赵凯 2024年5月17日
10012
- ------------------------- 同空间参考系不同裁图方式扩展 ------------------------------</p>
10013
- </div>
10014
-
10015
-
10016
-
10017
-
10018
-
10019
-
10020
-
10021
-
10022
-
10023
-
10024
-
10025
-
10026
-
10027
-
10028
- <dl class="details">
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
-
10059
-
10060
- </dl>
10061
-
10062
-
10063
-
10064
-
10065
-
10066
-
10067
-
10068
-
10069
-
10070
-
10071
-
10072
-
10073
-
10074
-
10075
-
10076
-
10077
-
10078
-
10079
-
10080
-
10081
-
10082
-
10083
-
10084
- </div>
10085
-
10086
- <div class="member">
10087
-
10088
-
10089
-
10090
- <h4 class="name" id="onAdd">
10091
- <a class="href-link" href="#onAdd">#</a>
8872
+ <h4 class="name" id="getValueByValueExpression">
8873
+ <a class="href-link" href="#getValueByValueExpression">#</a>
10092
8874
 
10093
8875
  <span class="code-name" style="font-size:30px">
10094
8876
 
10095
- onAdd<span class="signature">(map)</span>
8877
+ getValueByValueExpression<span class="signature">()</span>
10096
8878
 
10097
8879
  </span>
10098
8880
  </h4>
10099
8881
 
10100
8882
 
10101
8883
 
10102
- <div class="description">
10103
- <p>添加图层完毕事件</p>
10104
- </div>
10105
-
10106
-
10107
-
10108
-
10109
-
10110
-
10111
-
10112
-
10113
-
10114
-
10115
- <h4>参数:</h4>
10116
-
10117
- <div class="table-container">
10118
- <table class="params table">
10119
- <thead>
10120
- <tr>
10121
-
10122
- <th>名称</th>
10123
-
10124
-
10125
- <th>类型</th>
10126
-
10127
-
10128
-
10129
- <th class="last">描述</th>
10130
- </tr>
10131
- </thead>
10132
-
10133
- <tbody>
10134
-
10135
-
10136
-
10137
- <tr class="deep-level-0">
10138
-
10139
- <td class="name"><code>map</code></td>
10140
-
10141
-
10142
- <td class="type">
10143
-
10144
-
10145
- <span class="param-type">L.map</span>
10146
8884
 
10147
8885
 
10148
-
10149
- </td>
10150
8886
 
10151
-
10152
8887
 
10153
- <td class="description last"><p>Leaflet地图视图对象</p></td>
10154
- </tr>
10155
8888
 
10156
8889
 
10157
8890
 
10158
-
10159
- </tbody>
10160
- </table>
10161
- </div>
10162
8891
 
10163
8892
 
10164
8893
 
@@ -10216,6 +8945,29 @@ this._toTileZoom
10216
8945
 
10217
8946
 
10218
8947
 
8948
+ <div class='columns method-parameter'>
8949
+ <div class="column is-2"><label>返回值:</label></div>
8950
+ <div class="column is-10">
8951
+
8952
+
8953
+
8954
+ <div class="columns">
8955
+
8956
+
8957
+ <div class='column is-5 has-text-left'>
8958
+ <label>类型: </label>
8959
+
8960
+ <span class="param-type">*</span>
8961
+
8962
+
8963
+ </div>
8964
+
8965
+ </div>
8966
+
8967
+
8968
+ </div>
8969
+ </div>
8970
+
10219
8971
 
10220
8972
 
10221
8973
 
@@ -10227,22 +8979,18 @@ this._toTileZoom
10227
8979
 
10228
8980
 
10229
8981
 
10230
- <h4 class="name" id="onAdd">
10231
- <a class="href-link" href="#onAdd">#</a>
8982
+ <h4 class="name" id="getZoomScale">
8983
+ <a class="href-link" href="#getZoomScale">#</a>
10232
8984
 
10233
8985
  <span class="code-name" style="font-size:30px">
10234
8986
 
10235
- onAdd<span class="signature">(map)</span>
8987
+ getZoomScale<span class="signature">(toZoom, fromZoom)</span>
10236
8988
 
10237
8989
  </span>
10238
8990
  </h4>
10239
8991
 
10240
8992
 
10241
8993
 
10242
- <div class="description">
10243
- <p>添加图层完毕事件</p>
10244
- </div>
10245
-
10246
8994
 
10247
8995
 
10248
8996
 
@@ -10276,13 +9024,37 @@ this._toTileZoom
10276
9024
 
10277
9025
  <tr class="deep-level-0">
10278
9026
 
10279
- <td class="name"><code>map</code></td>
9027
+ <td class="name"><code>toZoom</code></td>
10280
9028
 
10281
9029
 
10282
9030
  <td class="type">
10283
9031
 
10284
9032
 
10285
- <span class="param-type">L.map</span>
9033
+ <span class="param-type">*</span>
9034
+
9035
+
9036
+
9037
+ </td>
9038
+
9039
+
9040
+
9041
+ <td class="description last"></td>
9042
+ </tr>
9043
+
9044
+
9045
+
9046
+
9047
+
9048
+
9049
+ <tr class="deep-level-0">
9050
+
9051
+ <td class="name"><code>fromZoom</code></td>
9052
+
9053
+
9054
+ <td class="type">
9055
+
9056
+
9057
+ <span class="param-type">*</span>
10286
9058
 
10287
9059
 
10288
9060
 
@@ -10290,7 +9062,7 @@ this._toTileZoom
10290
9062
 
10291
9063
 
10292
9064
 
10293
- <td class="description last"><p>Leaflet地图视图对象</p></td>
9065
+ <td class="description last"></td>
10294
9066
  </tr>
10295
9067
 
10296
9068
 
@@ -10356,6 +9128,29 @@ this._toTileZoom
10356
9128
 
10357
9129
 
10358
9130
 
9131
+ <div class='columns method-parameter'>
9132
+ <div class="column is-2"><label>返回值:</label></div>
9133
+ <div class="column is-10">
9134
+
9135
+
9136
+
9137
+ <div class="columns">
9138
+
9139
+
9140
+ <div class='column is-5 has-text-left'>
9141
+ <label>类型: </label>
9142
+
9143
+ <span class="param-type">*</span>
9144
+
9145
+
9146
+ </div>
9147
+
9148
+ </div>
9149
+
9150
+
9151
+ </div>
9152
+ </div>
9153
+
10359
9154
 
10360
9155
 
10361
9156
 
@@ -10367,12 +9162,12 @@ this._toTileZoom
10367
9162
 
10368
9163
 
10369
9164
 
10370
- <h4 class="name" id="onAdd">
10371
- <a class="href-link" href="#onAdd">#</a>
9165
+ <h4 class="name" id="initialize">
9166
+ <a class="href-link" href="#initialize">#</a>
10372
9167
 
10373
9168
  <span class="code-name" style="font-size:30px">
10374
9169
 
10375
- onAdd<span class="signature">(map)</span>
9170
+ initialize<span class="signature">(url, options)</span>
10376
9171
 
10377
9172
  </span>
10378
9173
  </h4>
@@ -10380,7 +9175,7 @@ this._toTileZoom
10380
9175
 
10381
9176
 
10382
9177
  <div class="description">
10383
- <p>图层添加事件</p>
9178
+ <p>初始化函数</p>
10384
9179
  </div>
10385
9180
 
10386
9181
 
@@ -10416,13 +9211,13 @@ this._toTileZoom
10416
9211
 
10417
9212
  <tr class="deep-level-0">
10418
9213
 
10419
- <td class="name"><code>map</code></td>
9214
+ <td class="name"><code>url</code></td>
10420
9215
 
10421
9216
 
10422
9217
  <td class="type">
10423
9218
 
10424
9219
 
10425
- <span class="param-type">L.map</span>
9220
+ <span class="param-type">String</span>
10426
9221
 
10427
9222
 
10428
9223
 
@@ -10430,7 +9225,31 @@ this._toTileZoom
10430
9225
 
10431
9226
 
10432
9227
 
10433
- <td class="description last"><p>leaflet地图视图对象</p></td>
9228
+ <td class="description last"><p>服务基地址</p></td>
9229
+ </tr>
9230
+
9231
+
9232
+
9233
+
9234
+
9235
+
9236
+ <tr class="deep-level-0">
9237
+
9238
+ <td class="name"><code>options</code></td>
9239
+
9240
+
9241
+ <td class="type">
9242
+
9243
+
9244
+ <span class="param-type">Object</span>
9245
+
9246
+
9247
+
9248
+ </td>
9249
+
9250
+
9251
+
9252
+ <td class="description last"><p>额外构造参数</p></td>
10434
9253
  </tr>
10435
9254
 
10436
9255
 
@@ -10507,12 +9326,12 @@ this._toTileZoom
10507
9326
 
10508
9327
 
10509
9328
 
10510
- <h4 class="name" id="onAdd">
10511
- <a class="href-link" href="#onAdd">#</a>
9329
+ <h4 class="name" id="initializeCRS">
9330
+ <a class="href-link" href="#initializeCRS">#</a>
10512
9331
 
10513
9332
  <span class="code-name" style="font-size:30px">
10514
9333
 
10515
- onAdd<span class="signature">(map)</span>
9334
+ initializeCRS<span class="signature">(layer, allLayers)</span>
10516
9335
 
10517
9336
  </span>
10518
9337
  </h4>
@@ -10520,7 +9339,7 @@ this._toTileZoom
10520
9339
 
10521
9340
 
10522
9341
  <div class="description">
10523
- <p>图层添加事件</p>
9342
+ <p>使用图层对象来构造Leaflet视图的CRS参数对象</p>
10524
9343
  </div>
10525
9344
 
10526
9345
 
@@ -10556,13 +9375,13 @@ this._toTileZoom
10556
9375
 
10557
9376
  <tr class="deep-level-0">
10558
9377
 
10559
- <td class="name"><code>map</code></td>
9378
+ <td class="name"><code>layer</code></td>
10560
9379
 
10561
9380
 
10562
9381
  <td class="type">
10563
9382
 
10564
9383
 
10565
- <span class="param-type">L.map</span>
9384
+ <span class="param-type">Layer</span>
10566
9385
 
10567
9386
 
10568
9387
 
@@ -10570,7 +9389,32 @@ this._toTileZoom
10570
9389
 
10571
9390
 
10572
9391
 
10573
- <td class="description last"><p>leaflet地图视图对象</p></td>
9392
+ <td class="description last"><p>参考图层,使用其裁图原点、地图范围、级数和分辨率来构造CRS参数对象,支持ArcGISMapImageLayer、ArcGISTileLayer、ArcGISVectorTileLayer、
9393
+ IGSFeatureLayer、IGSMapImageLayer、IGSTileLayer、MapGISVectorTileLayer、WMSLayer、WMTSLayer、WFSLayer、WebTileLayer</p></td>
9394
+ </tr>
9395
+
9396
+
9397
+
9398
+
9399
+
9400
+
9401
+ <tr class="deep-level-0">
9402
+
9403
+ <td class="name"><code>allLayers</code></td>
9404
+
9405
+
9406
+ <td class="type">
9407
+
9408
+
9409
+ <span class="param-type">Array.&lt;Layer></span>
9410
+
9411
+
9412
+
9413
+ </td>
9414
+
9415
+
9416
+
9417
+ <td class="description last"><p>可选参数,当需要在地图视图中,叠加多个裁图原点相同,裁图方案不同的图层时,可使用此参数,使用多个图层来构配合参考图层构造CRS参数对象</p></td>
10574
9418
  </tr>
10575
9419
 
10576
9420
 
@@ -10636,6 +9480,31 @@ this._toTileZoom
10636
9480
 
10637
9481
 
10638
9482
 
9483
+ <div class='columns method-parameter'>
9484
+ <div class="column is-2"><label>返回值:</label></div>
9485
+ <div class="column is-10">
9486
+
9487
+
9488
+
9489
+ <div class="columns">
9490
+
9491
+ <div class='param-desc column is-7'><p>Leaflet视图的CRS参数</p></div>
9492
+
9493
+
9494
+ <div class='column is-5 has-text-left'>
9495
+ <label>类型: </label>
9496
+
9497
+ <span class="param-type">Object</span>
9498
+
9499
+
9500
+ </div>
9501
+
9502
+ </div>
9503
+
9504
+
9505
+ </div>
9506
+ </div>
9507
+
10639
9508
 
10640
9509
 
10641
9510
 
@@ -10652,7 +9521,7 @@ this._toTileZoom
10652
9521
 
10653
9522
  <span class="code-name" style="font-size:30px">
10654
9523
 
10655
- onAdd<span class="signature">(map)</span>
9524
+ onAdd<span class="signature">()</span>
10656
9525
 
10657
9526
  </span>
10658
9527
  </h4>
@@ -10660,7 +9529,16 @@ this._toTileZoom
10660
9529
 
10661
9530
 
10662
9531
  <div class="description">
10663
- <p>添加图层完毕事件</p>
9532
+ <p>leaflet修改说明:GridLayer上支持同空间参考系不同裁图方式瓦片的叠加,因改动范围较大,将内核库内重写的代码全部放置在此注释段内
9533
+ 此部分统改的包含两部分
9534
+ 1、投影关系的改变,采用瓦片独立的像素系
9535
+ map.project =&gt; this.project
9536
+ map.unproject =&gt; this.unproject
9537
+ 2、视图zoom层级的改变,把触发视图刷新入口的地图zoom换算成当前zoom
9538
+ this._toMapZoom
9539
+ this._toTileZoom
9540
+ 修改人:赵凯 2024年5月17日
9541
+ ------------------------- 同空间参考系不同裁图方式扩展 ------------------------------</p>
10664
9542
  </div>
10665
9543
 
10666
9544
 
@@ -10672,55 +9550,6 @@ this._toTileZoom
10672
9550
 
10673
9551
 
10674
9552
 
10675
- <h4>参数:</h4>
10676
-
10677
- <div class="table-container">
10678
- <table class="params table">
10679
- <thead>
10680
- <tr>
10681
-
10682
- <th>名称</th>
10683
-
10684
-
10685
- <th>类型</th>
10686
-
10687
-
10688
-
10689
- <th class="last">描述</th>
10690
- </tr>
10691
- </thead>
10692
-
10693
- <tbody>
10694
-
10695
-
10696
-
10697
- <tr class="deep-level-0">
10698
-
10699
- <td class="name"><code>map</code></td>
10700
-
10701
-
10702
- <td class="type">
10703
-
10704
-
10705
- <span class="param-type">L.map</span>
10706
-
10707
-
10708
-
10709
- </td>
10710
-
10711
-
10712
-
10713
- <td class="description last"><p>Leaflet地图视图对象</p></td>
10714
- </tr>
10715
-
10716
-
10717
-
10718
-
10719
- </tbody>
10720
- </table>
10721
- </div>
10722
-
10723
-
10724
9553
 
10725
9554
 
10726
9555
 
@@ -10800,7 +9629,7 @@ this._toTileZoom
10800
9629
 
10801
9630
 
10802
9631
  <div class="description">
10803
- <p>添加图层完毕事件</p>
9632
+ <p>图层添加事件</p>
10804
9633
  </div>
10805
9634
 
10806
9635
 
@@ -10850,7 +9679,7 @@ this._toTileZoom
10850
9679
 
10851
9680
 
10852
9681
 
10853
- <td class="description last"><p>Leaflet地图视图对象</p></td>
9682
+ <td class="description last"><p>leaflet地图视图对象</p></td>
10854
9683
  </tr>
10855
9684
 
10856
9685