Restrict the autocomplete search to map viewport

The plugin provides the possibility to restrict the autocomplete to the area within the current viewport of the map. For example, when a user starts typing an address in the search field while the current viewport of the map is the area of london, then, the autocomplete will suggest only the addresses within this specific area. To test this feature, try using the address “Marrakech, Morocco“, as a result this address shouldn’t be available!

Expand the search area up to