Restrict Geolocation Search to Specific Regions

I’m using the HivePress geolocation feature for my website, and I want to restrict the search bar to show results from specific regions only, like Mumbai, Bangalore, and Delhi.

Is it possible to:

  1. Hide other locations in India so users can’t search for them?

  2. Limit the geolocation search bar to accept input only for these predefined regions?

Any guidance or plugin recommendations would be appreciated.

Hi,

This version does not have such a feature, it will require a custom implementation using JavaScript. As a workaround, you can enable the manual listing confirmation feature and thus not add addresses that are not needed for search.

​I hope this is helpful to you.

Ok i will try custom code. if works fine, i will post here. :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.