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

Add expression support #1047

Open
nitaliano opened this issue Feb 16, 2018 · 1 comment
Open

Add expression support #1047

nitaliano opened this issue Feb 16, 2018 · 1 comment

Comments

@nitaliano
Copy link
Owner

With both the iOS and Android SDKs adding support for expressions it's time to move the React Native SDK over to add support for them as well

@1ec5
Copy link
Contributor

1ec5 commented Apr 27, 2018

iOS map SDK v4.0.0 and above has +[NSExpression(MGLAdditions) expressionWithMGLExpressionObject:] and NSExpression.mgl_jsonExpressionObject methods for round-tripping between NSExpression and NSArrays that are consistent with the style specification. Once mapbox/mapbox-gl-native#11751 is fixed, there will also be +[NSPredicate(MGLAdditions) predicateWithMGLJSONObject:] and NSPredicate.mgl_jsonExpressionObject methods for round-tripping between NSPredicate and NSArray, which will be necessary for filtering MGLVectorStyleLayer.

Beyond that, you’ll need to account for the renamed symbols in mapbox/mapbox-gl-native#11568.

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

No branches or pull requests

2 participants