Skip to main content

TileLayerEvictErrorTileStrategy

Strategies on how to handle tile errors.

Inherits: enum.Enum

Properties

  • DISPOSE - Evict images for tiles which failed to load when they are pruned.
  • NONE - Never evict images for tiles which failed to load.
  • NOT_VISIBLE - Evict images for tiles which failed to load and: - do not belong to the current zoom level AND/OR - are not visible
  • NOT_VISIBLE_RESPECT_MARGIN - Evict images for tiles which failed to load and: - do not belong to the current zoom level AND/OR - are not visible, respecting the pruning buffer (the maximum of the keep_buffer and pan_buffer).

Properties

DISPOSEclass-attributeinstance-attribute

Evict images for tiles which failed to load when they are pruned.

NONEclass-attributeinstance-attribute

Never evict images for tiles which failed to load.

NOT_VISIBLEclass-attributeinstance-attribute

Evict images for tiles which failed to load and:

  • do not belong to the current zoom level AND/OR
  • are not visible

NOT_VISIBLE_RESPECT_MARGINclass-attributeinstance-attribute

Evict images for tiles which failed to load and:

  • do not belong to the current zoom level AND/OR
  • are not visible, respecting the pruning buffer (the maximum of the keep_buffer and pan_buffer).