File tree Expand file tree Collapse file tree 5 files changed +11
-4
lines changed Expand file tree Collapse file tree 5 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ import Attributions from '../core/Attributions';
3434 * @param {SuperMap.ServerType } [options.serverType=SuperMap.ServerType.ISERVER] - 服务来源 iServer|iPortal|online。
3535 * @param {number } [options.updateInterval=150] - 平移时图层延迟刷新间隔时间。
3636 * @param {string } [options.tileProxy] - 代理地址。
37- * @param {string } [options.format='png'] - 瓦片表述类型,支持 "png" 、"bmp" 、"jpg" 和 "gif" 四种表述类型 。
37+ * @param {string } [options.format='png'] - 瓦片表述类型,支持 "png" 、"webp"、" bmp" 、"jpg"、 "gif" 等图片格式 。
3838 * @param {(SuperMap.NDVIParameter|SuperMap.HillshadeParameter) } [options.rasterfunction] - 栅格分析参数。
3939 * @param {string } [options.attribution='Map Data <span>© <a href='http://support.supermap.com.cn/product/iServer.aspx' title='SuperMap iServer' target='_blank'>SuperMap iServer</a></span>'] - 版权信息。
4040 * @fires L.supermap.imageMapLayer#load
Original file line number Diff line number Diff line change @@ -17,10 +17,16 @@ import "../core/Base";
1717 * @param {string } [options.format='image/png'] - wmts 图像格式('image/png'用于具有透明度的图层)。
1818 * @param {(number|L.Point) } [options.tileSize='256'] - 瓦片大小。
1919 * @param {string } [options.requestEncoding='KVP'] - KVP 或者 REST 的请求方式。
20- * @param {Object } [options.tilematrixSet] - 瓦片矩阵集。
20+ * @param {string } [options.tilematrixSet] - 瓦片矩阵集。
21+ * @param {Array.<L.supermap.wmtsLayer.matrix> } [options.matrixIds] - 瓦片矩阵对象。不设置时,默认为获取当前级别为tilematrix参数。
2122 * @param {string } [options.version='1.0.0'] - 版本。
2223 * @param {string } [options.attribution] - 版权信息。
2324 */
25+ /**
26+ * @typedef {Object } L.supermap.wmtsLayer.matrix
27+ * @description 瓦片矩阵。
28+ * @property {string } identifier - 瓦片矩阵标识符。
29+ */
2430export var WMTSLayer = L . TileLayer . extend ( {
2531
2632 options : {
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ import Attributions from '../core/Attributions'
3535 * @param {L.Proj.CRS } [options.crs] - 坐标系统类。
3636 * @param {SuperMap.ServerType } [options.serverType=SuperMap.ServerType.ISERVER] - 服务来源 iServer|iPortal|online。
3737 * @param {string } [options.tileProxy] - 代理地址。
38- * @param {string } [options.format='png'] - 瓦片表述类型,支持 "png" 、"bmp" 、"jpg" 和 "gif" 四种表述类型 。
38+ * @param {string } [options.format='png'] - 瓦片表述类型,支持 "png" 、"webp"、" bmp" 、"jpg"、 "gif" 等图片格式 。
3939 * @param {(number|L.Point) } [options.tileSize=256] - 瓦片大小。
4040 * @param {(SuperMap.NDVIParameter|SuperMap.HillshadeParameter) } [options.rasterfunction] - 栅格分析参数。
4141 * @param {string } [options.attribution='Map Data <span>© <a href='http://support.supermap.com.cn/product/iServer.aspx' title='SuperMap iServer' target='_blank'>SuperMap iServer</a></span>'] - 版权信息。
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ import TileGrid from 'ol/tilegrid/TileGrid';
3030 * @param {string } [options.tileversion] - 切片版本名称,_cache 为 true 时有效。
3131 * @param {string } [options.tileProxy] - 代理地址。
3232 * @param {(SuperMap.NDVIParameter|SuperMap.HillshadeParameter) } [options.rasterfunction] - 栅格分析参数。
33+ * @param {string } [options.format = 'png'] - 瓦片表述类型,支持 "png" 、"webp"、"bmp" 、"jpg"、 "gif" 等图片类型。
3334 * @extends {ol/source/TileImage }
3435 */
3536export class ImageSuperMapRest extends TileImage {
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ import TileGrid from 'ol/tilegrid/TileGrid';
3838 * @param {SuperMap.OverlapDisplayedOptions } [options.overlapDisplayedOptions] - 避免地图对象压盖显示的过滤选项,当 overlapDisplayed 为 false 时有效,用来增强对地图对象压盖时的处理。
3939 * @param {string } [options.tileversion] - 切片版本名称,_cache 为 true 时有效。
4040 * @param {string } [options.tileProxy] - 代理地址。
41- * @param {string } [options.format = 'png'] - 瓦片表述类型,支持 "png" 、"bmp" 、"jpg" 和 "gif" 四种表述类型 。
41+ * @param {string } [options.format = 'png'] - 瓦片表述类型,支持 "png" 、"webp"、" bmp" 、"jpg"、 "gif" 等图片类型 。
4242 * @param {(SuperMap.NDVIParameter|SuperMap.HillshadeParameter) } [options.rasterfunction] - 栅格分析参数。
4343 * @extends {ol/source/TileImage }
4444 */
You can’t perform that action at this time.
0 commit comments