Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Abort layer drawing early #184

Closed
Closed

Description

@kkaefer

Now that we're drawing layer by layer (#122), we need a way to abort early when the current layer is not being drawn, e.g. because the stylesheet doesn't show it, or because none of the tiles on the layer has any data. This allows us to not update the clip id for every tile and iterating through all tiles in general.

  • abort if a tile has no data
  • abort if the style specifies "disabled"
  • abort if the current render pass wouldn't render anything for a bucket type

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions