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.

Changing ref properties must unlink existing refs #7572

Closed

Description

@jfirebaugh

"Ref properties" are 'type', 'source', 'source-layer', 'minzoom', 'maxzoom', 'filter', and 'layout'. Of these, the first three are read-only (except see #7570 for a proposal to make 'source' read-write).

Change any of these properties must at minimum unlink layers that were originally linked via the "ref" mechanism, such that they act independently. Ideally, new possible refs are autodetected -- that's #6900. But short of that, this issue tracks the fact that the existing runtime style API will not behave as expected if you modify, say, filter or layout properties of a layer that was originally a ref.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions