Type

public enum SearchResult.`Type` : Hashable

The type of a search result.

  • A result referring to an address.

    Declaration

    Swift

    case address
  • A result referring to an area on the map that represent administrative divisions of a land such as country, state, or city.

    Declaration

    Swift

    case area
  • poi

    A result referring to a point of interest (POI) such as restuarants or gas stations.

    Declaration

    Swift

    case poi
  • A result referring to a street from the map without house numbers.

    Declaration

    Swift

    case street
  • A result referring to an intersection - places where two streets cross.

    Declaration

    Swift

    case crossStreet