new WMTS()
Constructor
- Source:
- format/layer/WMTS.js
Extends
- mcutils.format.Layer
Methods
-
read(options, url, imageCrop, imageMask)
-
Read layer from param
Parameters:
Name Type Description options
* extend layer options
url
string url of the static image
options.imageCenter
ol.Coordinate center of the image
options.imageScale
ol.Size | Number [scalex, scaley] of the image
options.imageRotate
number angle of the image in radian, default 0
imageCrop
ol.Extent image crop to be show (in the image) default: [0,0,imageWidth,imageHeight]
imageMask
Array.<ol.Coordinate> linestring to mask the image on the map
- Source:
- format/layer/WMTS.js
Returns:
- Type
- ol_layer_Tile