When using multiple MGLAnnotationControllers, if both controllers have interactions enabled only the first one initialized will respond to tap gestures. Here's an example that exhibits the behavior:
With this setup, -[MGLMapViewDelegate didSelect:annotation:], will only be called for the annotations within the MGLSymbolAnnotationController, which is unexpected.
When using multiple
MGLAnnotationController
s, if both controllers have interactions enabled only the first one initialized will respond to tap gestures. Here's an example that exhibits the behavior:With this setup,
-[MGLMapViewDelegate didSelect:annotation:]
, will only be called for the annotations within theMGLSymbolAnnotationController
, which is unexpected.