Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

add test for Android runtime styling non-string type filters #6014

Closed
incanus opened this issue Aug 15, 2016 · 2 comments
Closed

add test for Android runtime styling non-string type filters #6014

incanus opened this issue Aug 15, 2016 · 2 comments
Labels
Android Mapbox Maps SDK for Android

Comments

@incanus
Copy link
Contributor

incanus commented Aug 15, 2016

#5979 was meant to fix filters of this sort:

LineLayer segments = mapboxMap.getLayerAs("segments");
segments.setFilter(eq("uniqid", new Integer(10191020)));
segments.setProperties(lineColor(Color.GREEN),
    lineWidth(10f),
    lineOpacity(0.5f));

However, it still doesn't seem to work (nor does eq("uniqid", 10191020)). Regardless, we should add a test scenario for a non-string type filter so that this one isn't the only thing being exercised (as well as fix the core issue, if it's really still happening).

/cc @ivovandongen

@incanus incanus added the Android Mapbox Maps SDK for Android label Aug 15, 2016
@incanus incanus added this to the android-v4.2.0 milestone Aug 15, 2016
@ivovandongen
Copy link
Contributor

@ivovandongen
Copy link
Contributor

Merged example

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android
Projects
None yet
Development

No branches or pull requests

2 participants