Hi,
I’m using SwiftUI’s Map with custom Annotation content and trying to make the annotation view ignore touch interactions—similar to applying .allowsHitTesting(false) on regular views.
The goal is to ensure that map gestures such as long press and drag are not blocked by annotation content. However, setting .allowsHitTesting(false) on the annotation content doesn’t seem to have any effect.
Is there any workaround or supported approach to allow the map to receive gestures even when they originate from annotation views?
Thanks in advance for any guidance!