You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Yes, Android SDK 4.2.0 (in beta) and iOS SDK 3.4.0 (in alpha) do support faux heatmaps using circles, but using a clustered GeoJSON source and circle layers rather than the MGLCircle class proposed in #2167.
The Android demo application has a a heatmap activity that demonstrates how to do this. We don’t have an example ready for iOS yet, but the relevant classes are MGLGeoJSONSource and MGLCircleStyleLayer, and you may be able to follow the Android and GL JS examples to some extent.
In case the faux heat map solution I mentioned above (which I’ve since learned is called a “hot spot map”) doesn’t meet your needs, I’ve filed mapbox/DEPRECATED-mapbox-gl#27 for adding support for real heat maps.
Activity
1ec5 commentedon Sep 10, 2016
Yes, Android SDK 4.2.0 (in beta) and iOS SDK 3.4.0 (in alpha) do support faux heatmaps using circles, but using a clustered GeoJSON source and circle layers rather than the MGLCircle class proposed in #2167.
The Android demo application has a a heatmap activity that demonstrates how to do this. We don’t have an example ready for iOS yet, but the relevant classes are MGLGeoJSONSource and MGLCircleStyleLayer, and you may be able to follow the Android and GL JS examples to some extent.
1ec5 commentedon Sep 21, 2016
In case the faux heat map solution I mentioned above (which I’ve since learned is called a “hot spot map”) doesn’t meet your needs, I’ve filed mapbox/DEPRECATED-mapbox-gl#27 for adding support for real heat maps.
johndpope commentedon Sep 21, 2016
Thanks