new TileMatrixSet(options)
base/TileMatrixSet.js, line 5
IGS地图服务图层
| Name | Type | Description | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
构造参数
|
Members
-
extentExtent
-
图层范围
-
idString
-
图块矩阵集id
-
identifierString
-
矩阵identifier
-
layerWMTSLayer
-
图层,toJSON方法不会导出该属性
-
supportedCRSString
-
支持的CRS
-
tileInfoTileInfo
-
切片信息
-
tileMatrixArray
-
矩阵集
Methods
-
clone(){TileMatrixSet}
base/TileMatrixSet.js, line 102 -
克隆图块矩阵集对象
Returns:
Type Description TileMatrixSet 克隆后的图块矩阵集对象 -
fromJSON(json){TileMatrixSet}
base/TileMatrixSet.js, line 106 -
将JSON格式的图块矩阵集参数转换为JS对象
Name Type Description jsonObject 图块矩阵集的实例化JSON
Returns:
Type Description TileMatrixSet 新的TileMatrixSet对象 -
getTileResolution(pxRes, isGeographic){Number}
base/TileMatrixSet.js, line 61 -
获取切片分辨率
Name Type Description pxResNumber 切片像素单位长度,代表1像素是多少毫米,默认值为0.28mm(90.71DPI)
isGeographicBoolean 是否为经纬度坐标,默认值为false
Returns:
Type Description Number 分辨率数组 -
toJSON(){Object}
base/TileMatrixSet.js, line 82 -
将JS对象转换为JSON格式
Returns:
Type Description Object 图块矩阵集的实例化JSON