Changing map settings to zoom closer

Changing map settings to zoom closer was created by Jerry Neale

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.
6 years 11 months ago#1385

Please Log in or Create an account to join the conversation.

Replied by Super User on topic Changing map settings to zoom closer

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
6 years 11 months ago#1387

Please Log in or Create an account to join the conversation.

Replied by Jerry Neale on topic Changing map settings to zoom closer

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!
6 years 11 months ago#1390

Please Log in or Create an account to join the conversation.

Replied by Super User on topic Changing map settings to zoom closer

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: 6 years 11 months ago by Super User.
6 years 11 months ago#1392

Please Log in or Create an account to join the conversation.

Time to create page: 0.163 seconds

Contact us

  No.2/A, Venkateshwara Nagar,
1st Main Road, 100 Feet Road, SBM Towers, Velachery,Chennai - 600 042,India.
 admin@jomclassifieds.com
 skype.jomclassifieds
Copyright © 2013-2020 Jomclassifieds.com. All rights reserved. The Joomla! name, and logo are used under a limited license granted in the United States and other countries.