maplibre-native icon indicating copy to clipboard operation
maplibre-native copied to clipboard

Feature parity for "feature-state" expression

Open ThibaudM opened this issue 1 year ago • 3 comments

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 avatar Sep 27 '23 20:09 ThibaudM

@ThibaudM What do you envision the API should look like?

louwers avatar Sep 27 '23 20:09 louwers

@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):

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

ThibaudM avatar Sep 27 '23 20:09 ThibaudM

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)?

louwers avatar Sep 27 '23 21:09 louwers