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.

Add filter accessor to layer #7978

Closed
Closed

Description

@ivovandongen

ATM there is only a setter for filters on Layer classes, no getter, eg Layer#getFilter().

Activity

  1. added
    Android
    on Feb 8, 2017
  2. added this to the android-v5.0.0 milestone on Feb 8, 2017
  3. removed this from the android-v5.0.0 milestone on Mar 6, 2017
  4. added this to the android-v5.1.0 milestone on Apr 19, 2017
  5. removed this from the android-v5.2.0 milestone on Sep 20, 2017
  6. ericsvg commented on Nov 10, 2017

    @ericsvg

    Hi, I just wanted to know what is the priority on this?

    We built most of our design using Mapbox Studio and having access to a layer's filters would be very useful when making changes to it, for example when adding/removing filters on an existing layer while keeping the ones defined through Studio. Storing these base filters in the app or through remote config would somewhat defeat the purpose of Studio.

    In the same vein, it'd also be greatly appreciated if layers exposed their source's identifier (in addition to the source layer's identifier).
    Edit: same for a VectorSource's list of source layer identifiers

  7. added
    good first issue
    on Nov 11, 2017
  8. tobrun commented on Jan 4, 2018

    @tobrun
    Member

    We are going to add expression filter support to core soon and add Android accessors for it.
    This issue has become obsolete.

  9. 1ec5 commented on Jan 6, 2018

    @1ec5
    Contributor

    We are going to add expression filter support to core soon and add Android accessors for it.

    #10720

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Androidgood first issueruntime styling

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions