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