efremidze / Cluster

Easy Map Annotation Clustering 📍
MIT License
1.28k stars 121 forks source link

Clustor pin is not removing on zoom when pin have Exact Same location. #53

Closed Premal-Khetani closed 7 years ago

Premal-Khetani commented 7 years ago

Hi,

I am using latest cluster. I am Facing issue with exact same location pins. Here we have requirements for to show annotations for the same locations. and the locations will be the exact same. when i tap on cluster pin it zooms in and not removing cluster pin.

maplocissue

Please Help me ASAP.

Thank you.

efremidze commented 7 years ago

I need to investigate a fix for this.

sasha9878 commented 6 years ago

Anyone got solution for this ?

leohidalgo commented 6 years ago

+1

efremidze commented 6 years ago

This was fixed in 2.1.0. Is it still happening for you?

sasha9878 commented 6 years ago

After updating the pod to https://github.com/efremidze/Cluster/releases/tag/2.1.0 I am getting errors and now my project is gone.

errors: /Pods/Cluster/Sources/Cluster.swift:198:25: Cannot subscript a value of type '[CLLocationCoordinate2D : [MKAnnotation]]' with an index of type '(CLLocationCoordinate2D, default: [MKAnnotation])' (aka '(CLLocationCoordinate2D, default: Array)')

/Pods/Cluster/Sources/Cluster.swift:235:21: Cannot convert value of type '[MKAnnotation]' to expected argument type 'inout _'

/Pods/Cluster/Sources/Extensions.swift:59:16: '...' is not a postfix unary operator