Handling large quantity of MKMapView Annotations

后端 未结 3 1629
刺人心
刺人心 2021-02-01 10:10

I have a map view with a large quantity of annotations (3000+), when the user is zoomed to a reasonable level all is well and fast.

Although when the user zooms out and

3条回答
  •  名媛妹妹
    2021-02-01 10:33

    I ended up grouping my annotations in clusters using OCMapView. Its free, and very easy to implement into existing code.

    It automatically groups your annotations when zoomed out and as you zoom in they appear unclustered as they should.

    I know this is an old question but its a great option for anyone else trying to do the same thing.

提交回复
热议问题