MKAnnotation

extension MKAnnotation
  • tk_valid(geocoder:) Asynchronous

    Declaration

    Swift

    public func tk_valid(geocoder: TKGeocoding) async throws -> MKAnnotation

    Parameters

    geocoder

    Geocoder to use if coordinate is not valid

    Return Value

    An annotation with a valid coordinate, which might be different from self!