Skip to content

[Feature]: A layout legend can show how many features each entry has #3237

Done

Description

@jgregoriorincon

Before you start

What problem does this solve?

A legend says what each symbol means, but not how many features are drawn with it. Writing the numbers by hand goes stale as soon as the data or a filter changes.

Proposed solution

A legend option, off by default (showCounts, and a Feature counts checkbox in the Format pane): each class row, and the row of a layer drawn in one symbol, ends in the number of features the layer's filters keep, e.g. Highway (12). Rasters, service legends and size or diagram rows show none. This first part covers layers held in memory; streamed layers are their own issue.

Estimated scope

Medium: a broader feature that is feasible in a reasonable timeframe

Alternatives considered

Statistic tokens in a text beside the legend, which count a layer but not a class.

Activity

  1. jgregoriorincon commented on Nov 28, 2026

    @jgregoriorincon
    ContributorAuthor

    I'm taking this one.

  2. added
    enhancement
    on Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions