classDiscardMissingTileImagePolicy extends Object with TileDiscardPolicy
A policy for discarding tile images that match a known image containing a
"missing" image.
alias DiscardMissingTileImagePolicy
- The options object takes the following properties
- {String} options.missingImageUrl The URL of the known missing image.
- {Cartesian2[]} options.pixelsToCheck An array of Cartesian2 pixel positions to
compare against the missing image.
- {Boolean} [options.disableCheckIfAllPixelsAreTransparent=false] If true, the discard check will be disabled
if all of the pixelsToCheck in the missingImageUrl have an alpha value of 0. If false, the
discard check will proceed no matter the values of the pixelsToCheck.
A policy for discarding tile images that match a known image containing a "missing" image.
alias DiscardMissingTileImagePolicy
- The options object takes the following properties - {String} options.missingImageUrl The URL of the known missing image. - {Cartesian2[]} options.pixelsToCheck An array of Cartesian2 pixel positions to compare against the missing image. - {Boolean} [options.disableCheckIfAllPixelsAreTransparent=false] If true, the discard check will be disabled if all of the pixelsToCheck in the missingImageUrl have an alpha value of 0. If false, the discard check will proceed no matter the values of the pixelsToCheck.