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

enhancement - Heatmap overlays #6304

Closed
Closed

Description

@johndpope

Are there any plans to extend gl-native to support heatmap overlays?

#2167
#3420

There are different sdks to support mapkit / google maps - but it doesn't look like the native mapbox sdk can currently support this.
https://github.com/ryanolsonk/HeatMapDemo

Activity

  1. 1ec5 commented on Sep 10, 2016

    @1ec5
    Contributor

    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.

  2. 1ec5 commented on Sep 21, 2016

    @1ec5
    Contributor

    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.

  3. johndpope commented on Sep 21, 2016

    @johndpope
    Author

    Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions