iPhone Map Kit cluster pinpoints

前端 未结 8 1113
执笔经年
执笔经年 2020-12-07 16:20

Regarding iPhone Map Kit cluster pinpoints:

I have 1000\'s of marks that I want to show on the map but it\'s just too many to handle so I want to cluster them.

8条回答
  •  不思量自难忘°
    2020-12-07 16:26

    Note: This is a commercial product I'm affiliated with, but it solves this very problem.

    I solved this problem in few of my apps and decided to extract it into a reusable framework. It's called Superpin and it is an (commercial, license costs $149) iOS Framework that internally uses quadtrees for annotation storage and performs grid-based clustering. The algorithm is quite fast, the included sample app is showing airports of the world (more than 30k+ annotations) and it's running quite smooth on an 3G iPhone.

提交回复
热议问题