Skip to content

Implement source.filter from the MapBox styleJSON spec #2399

@timbtimbtimb

Description

@timbtimbtimb

New Feature

Add filtering at the source level without having to set the data attribute. This already exists as source.filter in the MapBox style spec.

Why

I would love to be able to filter sources without having to set the data attribute, and be able to filter before clustering (which layer-level filtering doesn't allow). mapbox-gl already implements this and it's super convenient.

Thank you :)

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