new Cesium.DiscardEmptyTileImagePolicy()

用于丢弃没有数据(实际上不是图像)的瓦片图像的政策. This policy discards DiscardEmptyTileImagePolicy.EMPTY_IMAGE, which is 以图像加载代码取代任何空的瓦片图像.
See:

Members

static readonly Cesium.DiscardEmptyTileImagePolicy.EMPTY_IMAGE : HTMLImageElement

表示空图像的默认值 .

Methods

isReady()boolean

确定丢弃策略是否准备好处理图像 .
Returns:
如果丢弃策略准备处理图像, 则属真; 否则, 是假的 .

shouldDiscardImage(image)boolean

鉴于一个瓦片图像,决定是否丢弃该图像.
Name Type Description
image HTMLImageElement 要测试的图像 .
Returns:
如果图像应该被丢弃, 是真的; 否则, 是假的 .
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.