Sorry, you need to enable JavaScript to visit this website.

Geometry search

Allow your users to perform a free text search inside geometries specified by circlers and/or polygons.

Sample use case: You are planing to visit the area of Amsterdam.  You need find a parking, an ATM and a grocery store in the city centre in Amsterdam and/or in the west part of the city.

Use the code snippet below to code this in your app:

TTGeometrySearch *search = [[TTGeometrySearch alloc] init];
TTGeometrySearchQuery *query = [[[TTGeometrySearchQueryBuilder createWithTerm:term searchShapes:self.shapes] withLimit:30] build];
[search searchWithQuery:query completionHandler:^(TTGeometrySearchResponse *response, TTResponseError *error) {
    if(!error) {
        [self displayResponse:response];
    }
}];

 

Below we present an exemplary application that shows Geometry Search.



image

Geometry search with term: Parking

image

Geometry search with term: ATM

You are here