Skip to content

TileLayerEvictErrorTileStrategy

TileLayerEvictErrorTileStrategy #

Bases: Enum

Strategies on how to handle tile errors.

DISPOSE = 'dispose' #

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

NONE = 'none' #

Never evict images for tiles which failed to load.

NOT_VISIBLE = 'notVisible' #

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 = 'notVisibleRespectMargin' #

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).