Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MapLibre Native support for index-of #159

Closed
louwers opened this issue May 8, 2023 · 1 comment · Fixed by #362
Closed

MapLibre Native support for index-of #159

louwers opened this issue May 8, 2023 · 1 comment · Fixed by #362
Assignees

Comments

@louwers
Copy link
Collaborator

louwers commented May 8, 2023

After maplibre/maplibre-native#1113 is merged & released MapLibre Native (Android) will have support for index-of.

https://maplibre.org/maplibre-style-spec/expressions/#index-of

Creating an issue now so I don't forget later.

@louwers louwers self-assigned this May 8, 2023
@wipfli
Copy link
Member

wipfli commented May 8, 2023

@louwers please make sure to track in which version of the android SDK this feature is implemented in

"index-of": {
"doc": "Returns the first position at which an item can be found in an array or a substring can be found in a string, or `-1` if the input cannot be found. Accepts an optional index from where to begin the search.",
"group": "Lookup",
"sdk-support": {
"basic functionality": {
"js": "1.10.0"
}
}
},
which is used to generate the table at https://maplibre.org/maplibre-style-spec/expressions/#index-of

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants