Localities Widget Sample Usage

Easy embeddable Localities Widget to search for city and postal codes .

Below you can see a sample usage of a Woosmap Localities Widget displaying cities and postal codes matching user’s input.

Here is a simple sample to help you integrating the Localities Widget in your site or app.

Customize the description

Each type of suggestion returned by the getAutocompleteSuggestions method has a default description format.

Using the custom_description parameter allows you to choose the description format for all or some of the suggestion types you selected in the types parameter.

See the custom_description parameter documentation in the autocomplete section.

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