Welcome, Guest
Username: Password: Remember me

TOPIC: Ad view default zoom level

Ad view default zoom level 2 years 10 months ago #6413

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 2981
  • Thank you received: 346
  • Karma: 46
Dear Customer,

Open the below file,
Root -> media -> com_jomclassifieds -> assets -> site -> js -> jomClassifiedsMaps.js

Find the below code and change the value :
customZoom = 2;
[ Zoom In increase the value Zoom Out decrease the value ]

Thanks.
The administrator has disabled public write access.

Ad view default zoom level 2 years 10 months ago #6414

  • Iain McCarthy
  • Iain McCarthy's Avatar
Thank you for prompt response
Will this change upon component update?
The administrator has disabled public write access.

Ad view default zoom level 2 years 10 months ago #6415

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 2981
  • Thank you received: 346
  • Karma: 46
Yes, it will changed when component updated.

Thanks.
The administrator has disabled public write access.
The following user(s) said Thank You: Iain McCarthy

Ad view default zoom level 2 years 10 months ago #6437

  • Iain McCarthy
  • Iain McCarthy's Avatar
Hi
thank you for info
I made changes and map module changes to correct zoom level but map in advert still shows as original
//loading the map with basic values
function jomclDirInit() {
for ( var i = 0; i < jomclModules.length; i++ ) {
var lat = jomclModules.latitude;
var lng = jomclModules.langtitude;
var customZoom = parseInt(jomclModules.zoom);
if(lat == 0 && lat == 0 ){
customZoom = 11;
}
Regards
Iain
The administrator has disabled public write access.

Ad view default zoom level 2 years 10 months ago #6439

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 2981
  • Thank you received: 346
  • Karma: 46
Hi,

Root -> components -> com_jomclassifieds -> js -> map.js

find the below code :
zoom: 5

Increase the value in the above code.

Thanks.
The administrator has disabled public write access.
The following user(s) said Thank You: Iain McCarthy

Ad view default zoom level 2 years 10 months ago #6444

  • Iain McCarthy
  • Iain McCarthy's Avatar
Thank you
That worked
The administrator has disabled public write access.
Time to create page: 0.121 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-2019 Jomclassifieds.com. All rights reserved. The Joomla! name, and logo are used under a limited license granted in the United States and other countries.

We accept cookies to provide you the best viewing experience. By using our services, you agree to our use of cookies