Welcome, Guest
Username: Password: Remember me

TOPIC: Changing map settings to zoom closer

Changing map settings to zoom closer 2 years 11 months ago #1385

The current map on the detail page shows the correct location marked, but it needs to have a closer zoom. Where/in what file can we change that setting? Is it in one of the default.php files?

Thank you.
The administrator has disabled public write access.

Changing map settings to zoom closer 2 years 11 months ago #1387

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 2756
  • Thank you received: 291
  • Karma: 40
Hi,

Kindly send your FTP details to This email address is being protected from spambots. You need JavaScript enabled to view it. . So that we can do it for you.

Thanks
The administrator has disabled public write access.

Changing map settings to zoom closer 2 years 11 months ago #1390

Thank you, but I would rather change it myself. I've made other changes to the files that I don't want changed. I'm familiar with PHP, so if you can direct me to the actual file location/name where the code for the google map settings are, I'll be happy to do it myself.

Thank you!
The administrator has disabled public write access.

Changing map settings to zoom closer 2 years 11 months ago #1392

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 2756
  • Thank you received: 291
  • Karma: 40
It should be done with JavaScript.

- Open following files,
{root}/administrator/components/com_jomclassifieds/js/adverts.js
{root}/components/com_jomclassifieds/js/maps.js
- Search for the param "zoom".

- Then increase it as you need.

Example :-
zoom : 10
Last Edit: 2 years 11 months ago by Super User.
The administrator has disabled public write access.
Time to create page: 0.223 seconds