Home / Support Center / FAQ / Tutorials / DJ-Classifieds FAQ / Default country for places API (google maps)

Top Menu


Default country for places API (google maps)

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à! :)


Found this article interesting? Subscribe for more.
Or share this article with your friends.
Wednesday, 23 September 2015 13:35
User Rating:  (0)

Footer Menu