maplibre-native
maplibre-native copied to clipboard
Feature parity for "feature-state" expression
Is your feature request related to a problem? Please describe.
feature-state
expression is not yet supported for Android, iOS (and macOS) SDKs. See here
Describe the solution you'd like Feature parity with gl-js implementation
Related issues
- #185
@ThibaudM What do you envision the API should look like?
@ThibaudM What do you envision the API should look like?
I am not sure to understand your question.
In terms of usage/scenarios, I imagine the same approach as the gl-js one (in order to keep the parity):
- a piece of the code related to feature state
- and samples like this one
In terms of implementation, I really have no idea. Maybe the gl-js approach can be mimicked if there is no huge divergence in this part of the code
Before thinking about the implementation, I think it is good to think about the (platform) APIs.
So specifically: what method(s) should be added to which interface(s) of the iOS and/or Android SDKs? What are the method signature(s)?