diff options
author | Tobrun <tobrun.van.nuland@gmail.com> | 2018-12-07 19:34:13 +0200 |
---|---|---|
committer | Tobrun <tobrun@mapbox.com> | 2018-12-10 12:33:41 +0200 |
commit | 89c022b0d79530d88514dadc601576d34dd58ac5 (patch) | |
tree | 967ff9d2748f7ebc16818829605ef37894a3c132 /platform/android/MapboxGLAndroidSDKTestApp | |
parent | 04c70f55a534ca7cb4bb5358da3217329643a0f0 (diff) | |
download | qtlocation-mapboxgl-89c022b0d79530d88514dadc601576d34dd58ac5.tar.gz |
[android] - update clustering example with filter configuration to avoid showing fading dissolved clustered items
Diffstat (limited to 'platform/android/MapboxGLAndroidSDKTestApp')
-rw-r--r-- | platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/style/GeoJsonClusteringActivity.java | 2 |
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++) { |