模块:ol/source/ImageStatic

ol/source/ImageStatic


Static

类型定义

Options{Object}

属性:
Name Type 描述
attributions AttributionLike | undefined

归属。

crossOrigin null | string | undefined

crossOrigin是已加载图像的属性。请注意,要使用画布渲染器访问像素数据,您必须提供crossOrigin的值。参见画布渲染器(https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image)了解更多详细信息。

imageExtent Extent

图像在地图坐标系中的范围。这是该图像的[左、下、右、上]地图坐标。

imageLoadFunction LoadFunction | undefined

可选函数,用于根据给定URL加载图像。

interpolate boolean
(defaults to true)

重采样时默认采用线性插值;若设置为 false,则使用最近邻插值。

projection ProjectionLike | undefined

投影:默认为视图投影。

url string

图片链接。