Default country for places API (google maps)
Login

New to DJ-Extensions?

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 on where you are. See:

When typed “Paris” next to France's city, it also shows 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.

© 2023 DJ-Extensions.com. All rights reserved.