TTSearchResult Class Reference

Inherits from NSObject
Declared in TTSearchResult.h

Overview

Copyright © 2017 TomTom N.V. All rights reserved.

This software is the proprietary copyright of TomTom N.V. and its subsidiaries and may be used for internal evaluation purposes or commercial use strictly subject to separate licensee agreement between you and TomTom. If you are the licensee, you are only permitted to use this Software in accordance with the terms of your license agreement. If you are not the licensee then you are not authorised to use this software in any manner and should immediately return it to TomTom N.V.

  identifier

The id of result.

@property (nonatomic, readonly, copy) NSString *identifier

Discussion

The id of result.

Declared In

TTSearchResult.h

  type

The type of result (should always be “POI”).

@property (nonatomic, readonly, copy) NSString *type

Discussion

The type of result (should always be “POI”).

Declared In

TTSearchResult.h

  score

The score of the result.

@property (nonatomic, readonly, assign) double score

Discussion

The score of the result.

Declared In

TTSearchResult.h

  address

Detailed address of the result.

@property (nonatomic, readonly, copy) TTAddress *address

Discussion

Detailed address of the result.

Declared In

TTSearchResult.h

  position

The geographical position of the POI.

@property (nonatomic, readonly) CLLocationCoordinate2D position

Discussion

The geographical position of the POI.

Declared In

TTSearchResult.h

  viewport

The viewport.

@property (nonatomic, readonly, copy) TTBoundingBox *viewport

Discussion

The viewport.

Declared In

TTSearchResult.h

  distance

The distance from the route provided in the request.

@property (nonatomic, readonly, assign) double distance

Discussion

The distance from the route provided in the request.

Declared In

TTSearchResult.h

  info

Additional info.

@property (nonatomic, readonly, copy) NSString *info

Discussion

Additional info.

Declared In

TTSearchResult.h

  entityType

(Only for results of type “Geography”) Type of the entity (one of “County”, “CountrySubdivision”, “CountrySecondarySubdivision”, “CountryTeritarySubdivision”, “Municipality”, “MunicipalitySubdivision”, “Neighbourhood”, “PostalCodeArea”).

@property (nonatomic, readonly, copy) NSString *entityType

Discussion

(Only for results of type “Geography”) Type of the entity (one of “County”, “CountrySubdivision”, “CountrySecondarySubdivision”, “CountryTeritarySubdivision”, “Municipality”, “MunicipalitySubdivision”, “Neighbourhood”, “PostalCodeArea”).

Declared In

TTSearchResult.h

  poi

Information about the POI.

@property (nonatomic, readonly, copy) TTPoi *poi

Discussion

Information about the POI.

Declared In

TTSearchResult.h

  boundingbox

An rectangle into which a shape of an administrative area is inscribed in. Available only for results where result type is equal to “Geography” and municipality information is not present.

@property (nonatomic, readonly, copy) TTBoundingBox *boundingbox

Discussion

An rectangle into which a shape of an administrative area is inscribed in. Available only for results where result type is equal to “Geography” and municipality information is not present.

Declared In

TTSearchResult.h

  entryPoints

A list of entrances to the POI.

@property (nonatomic, readonly, copy) NSArray<TTEntryPoint*> *entryPoints

Discussion

A list of entrances to the POI.

Declared In

TTSearchResult.h

  addressRanges

Address ranges on a street segment. Available only for results where result type is equal to “Address Range”.

@property (nonatomic, readonly, copy) TTAddressRanges *addressRanges

Discussion

Address ranges on a street segment. Available only for results where result type is equal to “Address Range”.

Declared In

TTSearchResult.h