| 包 | com.supermap.web.ogc.wmts |
| 类 | public class TileMatrix |
| 继承 | TileMatrix Object |
该类用于封装瓦片矩阵信息,包括矩阵高度、宽度,以及矩阵中所包含的分块图片的宽度和高度。
图层、瓦片矩阵集、瓦片矩阵三者之间的关系:图层由多个瓦片矩阵集组成,瓦片矩阵集由多个瓦片矩阵组成,地图分块后的瓦片分别存储于各个瓦片矩阵中。
| 属性 | 定义方 | ||
|---|---|---|---|
| matrixHeight : int
瓦片矩阵行数。
|
TileMatrix | ||
| matrixWidth : int
瓦片矩阵列数。
|
TileMatrix | ||
| name : String
瓦片矩阵名称。
|
TileMatrix | ||
| scaleDenominator : Number
当前瓦片矩阵的比列尺。
|
TileMatrix | ||
| tileHeight : int
瓦片矩阵所包含的单个瓦片宽度,单位:像素。
|
TileMatrix | ||
| tileWidth : int
瓦片矩阵所包含的单个瓦片高度,单位:像素。
|
TileMatrix | ||
| topLeftCorner : Point2D
瓦片矩阵左上角地理坐标点。
|
TileMatrix | ||
| 方法 | 定义方 | ||
|---|---|---|---|
|
实例化 TileMatrix 对象。
|
TileMatrix | ||
| matrixHeight | 属性 |
matrixHeight:int
瓦片矩阵行数。
public function get matrixHeight():int public function set matrixHeight(value:int):void| matrixWidth | 属性 |
matrixWidth:int
瓦片矩阵列数。
public function get matrixWidth():int public function set matrixWidth(value:int):void| name | 属性 |
name:String
瓦片矩阵名称。
public function get name():String public function set name(value:String):void| scaleDenominator | 属性 |
scaleDenominator:Number
当前瓦片矩阵的比列尺。
public function get scaleDenominator():Number public function set scaleDenominator(value:Number):void| tileHeight | 属性 |
tileHeight:int
瓦片矩阵所包含的单个瓦片宽度,单位:像素。
public function get tileHeight():int public function set tileHeight(value:int):void| tileWidth | 属性 |
tileWidth:int
瓦片矩阵所包含的单个瓦片高度,单位:像素。
public function get tileWidth():int public function set tileWidth(value:int):void| topLeftCorner | 属性 |
topLeftCorner:Point2D
瓦片矩阵左上角地理坐标点。
public function get topLeftCorner():Point2D public function set topLeftCorner(value:Point2D):void| TileMatrix | () | 构造函数 |
public function TileMatrix()
实例化 TileMatrix 对象。