hulab / ClusterKit

An iOS map clustering framework targeting MapKit, Google Maps and Mapbox.
MIT License
512 stars 86 forks source link

[Mapbox] Handle long press and detect annotations #45

Open afomich opened 6 years ago

afomich commented 6 years ago

Hello! Is there a way to detect nearest annotations around user's tap? In original sdk we have this method:

CGPoint spot = [self.lastTap locationInView:self];
NSArray* features = [self visibleFeaturesAtPoint:spot];

Maybe something similar possible in a clusterkit? (I need show a "more menu" when user long-tap on a some annotationView)