new ImageLayer(options)
layer/ImageLayer.js, line 23
构造一个图像图层对象
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
LayerOptions |
图像图层可选属性
|
Extends
- ol/layer/Image
Classes
Methods
-
addToMap(map){layer}
layer/ImageLayer.js, line 47 -
将图层添加到指定的map上
Name Type Description map
Map 指定的map对象。
Returns:
Type Description layer 当前的图层对象 -
getOptions(){Object}
layer/ImageLayer.js, line 73 -
获取图层资源属性
Returns:
Type Description Object 图层资源属性