Class: WMS

mcutils.format.layer. WMS

WMS layer format reader/writer


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

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/WMS.js
Returns:
Type
ol_layer_Tile