summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobrun <tobrun.van.nuland@gmail.com>2018-12-07 19:34:13 +0200
committerTobrun <tobrun@mapbox.com>2018-12-10 12:33:41 +0200
commit89c022b0d79530d88514dadc601576d34dd58ac5 (patch)
tree967ff9d2748f7ebc16818829605ef37894a3c132
parent04c70f55a534ca7cb4bb5358da3217329643a0f0 (diff)
downloadqtlocation-mapboxgl-89c022b0d79530d88514dadc601576d34dd58ac5.tar.gz
[android] - update clustering example with filter configuration to avoid showing fading dissolved clustered items
-rw-r--r--platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/style/GeoJsonClusteringActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/style/GeoJsonClusteringActivity.java b/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/style/GeoJsonClusteringActivity.java
index a14a2b9589..aefb0395d3 100644
--- a/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/style/GeoJsonClusteringActivity.java
+++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/style/GeoJsonClusteringActivity.java
@@ -168,7 +168,7 @@ public class GeoJsonClusteringActivity extends AppCompatActivity {
)
)
);
-
+ unclustered.setFilter(has("mag"));
mapboxMap.addLayer(unclustered);
for (int i = 0; i < layers.length; i++) {