This should fix #6 marker label taps. The problem was that RMMapOverlayView's override of pointInside:withEvent:, which keeps the overlay view from registering taps in empty, non-overlay areas, was only registering for RMMarker taps. This fix uses the internal findAnnotationInLayer: to get at the root annotation being referenced (whether tapping marker or label), then moves on from there.
It also still checks that the annotation's layer is an RMMarker so that path & circle, etc. taps still do not register.
This should fix #6 marker label taps. The problem was that
RMMapOverlayView
's override ofpointInside:withEvent:
, which keeps the overlay view from registering taps in empty, non-overlay areas, was only registering forRMMarker
taps. This fix uses the internalfindAnnotationInLayer:
to get at the root annotation being referenced (whether tapping marker or label), then moves on from there.It also still checks that the annotation's layer is an
RMMarker
so that path & circle, etc. taps still do not register.