We rolled out a new and better SDK for you.

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 to find a parking spot, an ATM, and a grocery store in the Amsterdam city center and/or in the west part of the city.

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

1let query = TTGeometrySearchQueryBuilder.create(withTerm: "Parking", searchShapes: geometryShape)
2 .withLimit(30)
3 .build() query)
TTGeometrySearchQuery *query = [[[TTGeometrySearchQueryBuilder createWithTerm:@"Parking" searchShapes:self.geometryShape] withLimit:30] build]
[self.geometrySearch searchWithQuery:query];

The following code example presents an exemplary application that shows Geometry Search.


Geometry search with the term: Parking


Geometry search with the term: ATM