new ImageGFAspect(options)
Usage
// 浏览器
<script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script>
<script>
new mapboxgl.supermap.ImageGFAspect(options);
// 弃用的写法
new SuperMap.ImageGFAspect(options);
</script>
// ES6 Import
import { ImageGFAspect } from '@supermapgis/iclient-mapboxgl';
new ImageGFAspect(options);
common/iServer/ImageGFAspect.js, line 6
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
可选参数。
|
Members
-
Azimuthnumber
-
光源方位角,固定为 360 度。
-
girdFuncNamestring
-
栅格函数名称,参数值为:GFAspect。
- Default Value: 'GFAspect'
Methods
-
constructFromObject(data, obj){ImageGFAspect}
common/iServer/ImageGFAspect.js, line 45 -
目标对象新增该类的可选参数。
Name Type Description data
Object 要转换的数据。
obj
ImageGFAspect 返回的模型。
Returns:
Type Description ImageGFAspect 返回结果。 -
destroy()
common/iServer/ImageGFAspect.js, line 35 -
释放资源,将引用资源的属性置空。