In order to complete an incomplete input and to allow type-ahead on web pages, it is possible to request for locations for which postal code and locality start with the given input. Postal code or locality must contain at least two characters. Both city and subdistrict names starting with the given locality input will be returned.
As with the Relations accents and umlauts may be omitted.
The results will be sorted alphabetically, first by country code, then by postal code and last by locality. Locations representing cities will be returned before those representing subdistricts. The number of results can be limited according to your needs.
Try it in the Road Distances code sample.