view(for:)
Returns the view associated with the overlay object, if any.
Declaration
func view(for overlay: any MKOverlay) -> MKOverlayViewParameters
- overlay:
The overlay object whose view you want.
Return Value
The view associated with the overlay object or nil if the overlay is not onscreen.