Breadcrumbs

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

Top Menu

Content

Default country for places API (google maps)

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:

01-results1

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”

02-setting

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

03-results2

Voilà! :)

 


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

Footer Menu