Maplab
  • About
  • API reference
    • Geocoder
      • Search
      • AutoComplete
      • Reverse
    • Optimization
      • Vehicle Routing Optimization
    • Router
      • Directions
      • Isochrones
      • Matrix
  • Specification
Powered by GitBook
On this page

Was this helpful?

  1. API reference
  2. Geocoder

AutoComplete

PreviousSearchNextReverse

Last updated 8 months ago

Was this helpful?

Autocomplete is a feature commonly found in search engines and web browsers designed to make it faster and easier to complete searches or form entries that you are beginning to type. As you start typing, autocomplete predicts the rest of the word or phrase based on the activity of other users, your search history, and trending searches.

For example, if you type “san f” in a search box, autocomplete might suggest “San Francisco” or "San Fernando Mission"2. This feature is especially useful on mobile devices, where typing can be more cumbersome, as it reduces the amount of typing required by about 25% on average.

Autocomplete predictions are designed to help you complete the search you were intending to do, rather than suggesting new types of searches. This makes the search process more efficient and user-friendly.

Get autocomplete suggestions for a search string.

get
Query parameters
textstringOptional

The search string to use.

focusLongnumber · doubleOptional

The longitude to focus the search around.

focusLatnumber · doubleOptional

The latitude to focus the search around.

Responses
200
Success
get
GET /v1/Geocoder/AutoComplete HTTP/1.1
Host: 
Accept: */*
200

Success

No content