Woosmap MultiSearch Library

Combine best of breed address autocomplete services

  1. Overview
  2. How autocomplete services are combined?
  3. Library Quickstart

Overview

Woosmap MultiSearch is a library designed to return location suggestions through calling several autocomplete services. This library makes location searches more efficient and cost-effective by allowing you to easily combine Woosmap Localities API, Woosmap Search API (stores) and Google Places APIs.

No Interface Provided
This library does not provide any user interface but focuses on querying autocomplete services. However, it is pretty easy to display results on your own.

How autocomplete services are combined?

Autocomplete services are requested in your desired ordered. Most often, only the first service will be queried. In some cases, for instance when searching for street addresses, Woosmap Localities can be insufficient.

By comparing the user input to the returned results and computing a string matching score between these two values, the library can automatically switch to the next autocomplete service and thereby provide suggestions that better suits the needs.

Please keep in mind that Woosmap localities API now covers address autocompletion worldwide, so adding a fallback to Woosmap Address API might produce useless queries at additional cost.

Library Quickstart

To get started quickly, follow the setup instructions depending on your development platform:

Was this article helpful?
Have more questions? Submit a request