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.

point clustering #320

Closed
Closed

Description

@incanus

Once we have #170 GeoJSON with arbitrary points complete, then we need to be able to cluster overlay points for parity with existing mobile APIs.

Activity

  1. jonathanduty commented on Oct 24, 2015

    @jonathanduty

    Any status on Marker clustering in iOS?

  2. mitchellporter commented on Oct 26, 2015

    @mitchellporter

    I'm interested in annotation clustering on iOS as well 👍 .

    Any idea when something like this will be released?

  3. incanus commented on Oct 27, 2015

    @incanus
    ContributorAuthor

    Nothing on the radar right now for clustering, but stay tuned for annotations improvements in the medium-term. In short, we are thinking more about potential aspects of annotations that are unique to Mapbox GL and not necessarily derivative of what's been done with maps frameworks before.

  4. rsimenok commented on Nov 14, 2015

    @rsimenok

    Clustering it's very important feature as for me. I hope it will be added soon.

  5. rsimenok commented on Nov 19, 2015

    @rsimenok

    Dear Developers, i need you advice :)
    Clustering it's critical task in my current project, so what should i do, use old SDK because it has clustering or wait for clustering in prerelease versions? Main problem is that i can't wait more than two-three weeks. Thank you.

  6. incanus commented on Nov 19, 2015

    @incanus
    ContributorAuthor

    Clustering is not on a current timeline for 2015. Stuff needs to happen under the hood in what we’re calling the runtime style API first (see #837). /cc @jfirebaugh

  7. rsimenok commented on Nov 19, 2015

    @rsimenok

    @incanus Okay, can i use old SDK version and buy standard or premium plan?

  8. pdgoodman commented on Nov 19, 2015

    @pdgoodman

    @Sh1mor1nka - happy to figure out which plan is correct for you while you're waiting for clustering via the GL SDKs. Want to shoot a note to [email protected] with this ticket number included for reference?

  9. rsimenok commented on Nov 19, 2015

    @rsimenok

    @pdgoodman i don't have much time, may be two weeks, maybe thee, but not more, and as your developer says: "Clustering is not on a current timeline for 2015". All i can is to use old SDK, but i don't know if i can do tbis, maybe it's not supported by current API version, so i'm waiting for developer answer.

  10. incanus commented on Nov 19, 2015

    @incanus
    ContributorAuthor

    Clustering is done client-side and is indeed still active in the iOS SDK 1.x (which is not based on Mapbox GL or OpenGL). So you should be fine to go there. You’ll want to look at the clustering-related properties on RMMapView.

  11. rsimenok commented on Nov 19, 2015

    @rsimenok

    @incanus Sorry, but can you share reference where i can download latest SDK 1.x version?

    UPD: Okay, i find it https://github.com/mapbox/mapbox-ios-sdk-legacy
    But what pricing plans i can use with this SDK?

  12. incanus commented on Nov 19, 2015

    @incanus
    ContributorAuthor

    👉 https://github.com/mapbox/mapbox-ios-sdk-legacy

    It's also available in CocoaPods as Mapbox-iOS-SDK up to version 1.6.1.

  13. added
    iOS
    Android
    on Nov 30, 2015
  14. 37 remaining items

  15. o15a3d4l11s2 commented on Oct 16, 2016

    @o15a3d4l11s2

    Any updates on clustering markers (annotations) using the SDKs?

  16. 1ec5 commented on Oct 16, 2016

    @1ec5
    Contributor

    Any updates on clustering markers (annotations) using the SDKs?

    @o15a3d4l11s2, please subscribe to #5814. That issue will be updated as soon as there’s progress to report.

    In the meantime, consider reimplementing your markers as a GeoJSON source styled with a symbol layer. GeoJSON sources can already be clustered, although you’ll have to implement interactivity manually. You may also want to keep track of #6181 and its dependent issues, which would hopefully eliminate that caveat.

  17. 1ec5 commented on Oct 16, 2016

    @1ec5
    Contributor

    support of customized marker icon and customized cluster icon

    @2ndGAB, this should already be possible with the runtime styling API; see #320 (comment). We don’t have a live native example online yet, but refer to this GL JS example for now. Now how the cluster-count layer can apply any symbol layer property.

    defining the minimum number of markers to cluster because clustering is not hidding markers; Without this, we will need to zoom in up to the highest level to explode just 2 close markers. default value of 5 is a good choice as GoogleMap API do.

    If this isn’t already supported for GeoJSON sources, please file a separate issue. The implementation may require some changes upstream in Supercluster.hpp and/or Supercluster.

    overriding clusterization method because sometimes it's very cool to cluster all markers but one or two very important markers we don't want to cluster.

    Similarly, this would be a great enhancement to request in a separate issue. Additional comments on this closed issue are less likely to be read by the project’s developers, and therefore less likely to be prioritized.

  18. Preen commented on Feb 16, 2017

    @Preen

    Any status on this?

  19. ttoni commented on Feb 22, 2017

    @ttoni

    Is this a low priority feature? Seems to me that everyone putting more than 20 markers on a map needs this.

  20. cupofjoakim commented on Feb 22, 2017

    @cupofjoakim

    To us it's a must have, and I'm surprised that anyone would consider this low priority. I guess there's other maplibs out there, but mapbox is usually soo good!

  21. tonnyavery commented on Feb 22, 2017

    @tonnyavery

    This missing is the only reason why I still keep using Google Maps for my app

  22. ttoni commented on Feb 22, 2017

    @ttoni

    @aaverin same here

  23. vegidio commented on Feb 22, 2017

    @vegidio

    I subscribed to this thread 2 years ago when I was considering to use Mapbox in my projects... After so much time I'm happy that I didn't waste my time with this SDK and I decided to use Google Maps. It's pathetic how something so important like this is still not implemented.

  24. Preen commented on Feb 22, 2017

    @Preen

    We decided to go with another map solution instead. Sad.

  25. incanus commented on Feb 22, 2017

    @incanus
    ContributorAuthor

    To clarify, recent comments are asking about view-backed annotation clustering? Because per #320 (comment) we have had GL-backed clustering for some time now (API). I'll look into adding an example of the latter to our gallery.

  26. incanus commented on Feb 22, 2017

    @incanus
    ContributorAuthor

    Re: addressing the core need of marker-backed clustering, the main holdup is #6181 and all of its associated dependency work. This would move the MapKit-like annotation model to be a thin implementation layer on top of Mapbox's unique GL-based runtime styling functionality (which you can't get in other toolkits). Per @1ec5 in that ticket:

    Developers should be able to think of the annotation API as nothing more than a shortcut for runtime styling functionality, rather than an entirely separate code path.

    We originally implemented annotations for parity with Apple and Google tools and because it's what people would expect, but where we've taken runtime styling and our open styling spec brings capabilities far beyond these. Developers no longer have to think about maps as just your own data on top of an opaque map, but rather can mix your data into the map in a much more immersive way.

    As a result of this a) early annotation parity for familiarity and b) the substantial backlog of things we need to do to bring the two APIs together, this has been taking a while.

  27. locked and limited conversation to collaborators on Feb 22, 2017
  28. boundsj commented on Feb 22, 2017

    @boundsj
    Contributor

    Our examples repo will be updated soon with a comprehensive runtime styling example that shows how to cluster and visualize GeoJSON data (GL-backed clustering). In the meantime, here is a gist that ports the GL JS heatmap example that uses clustering to iOS.

  29. 1ec5 commented on Feb 22, 2017

    @1ec5
    Contributor

    To reiterate, anyone interested in clustering annotations (as opposed to GeoJSON sources aka shape sources) should subscribe to #5814 and #5815.

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

    AndroidfeatureiOS

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions