showAnnotations(_:animated:)
Sets the visible region so that the map displays the specified annotations.
Declaration
func showAnnotations(_ annotations: [any MKAnnotation], animated: Bool)Parameters
Discussion
Calling this method updates the value in the region property, and potentially other properties, to reflect the new map region.