Wednesday, 23 September 2015 13:35
Modified: Tuesday, 04 October 2016 10:10

default country for places API

In google maps module you can insert the country name that you want to search in.

For example, you might want to let your users search the city Paris, but you don’t want to have in results anything else than Paris from France (for example if you’re providing adverts only for France).  

By default you’ll get results depending where you are. See:


When typed “Paris” next to city in France it shows also other results that are not in France.  

When in DJ-Classifieds Map module you’ll type “fr” in "Default country for places API”


Now when searching for “Paris” you’ll get only results from France


Voilà! :)




Ultimate classified ads solution for Joomla.

Learn more