如何使 iOS 13 地图同时显示用户位置和另一个注释,即使它们靠得很近

How to make iOS 13 map display both the user location and another annotation even when they are close together

默认情况下,在 ios12 地图中,用户位置和另一个添加的注释会一起显示,即使它们的位置非常接近。但在ios13地图中,如果用户位置靠得很近,会隐藏另一个位置。

如果有人知道如何在 iOS13 中同时显示用户位置和另一个位置,请帮忙。

下面是在 iOS12 phone 上生成的图像。在 iOS13 上,除了不显示自定义用户位置图像外,一切都一样。

如果用户位置和添加的注释都被分配了 MKFeatureDisplayPriorityRequired 值,则它们都将显示(即使它们位置很近)。