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.
custom_description parameter allows you to choose the description format for all or some of the suggestion types you selected in the
See the custom_description parameter documentation in the autocomplete section.