Welcome, Guest
Username: Password: Remember me

TOPIC: Ad view default zoom level

Ad view default zoom level 7 months 2 weeks ago #6413

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 2756
  • Thank you received: 291
  • Karma: 40
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.
The following user(s) said Thank You: Iain McCarthy

Ad view default zoom level 7 months 2 weeks ago #6414

  • Iain McCarthy
  • Iain McCarthy's Avatar
  • Offline
  • Senior Boarder
  • Posts: 66
  • Thank you received: 4
  • Karma: 0
Thank you for prompt response
Will this change upon component update?
The administrator has disabled public write access.

Ad view default zoom level 7 months 2 weeks ago #6415

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 2756
  • Thank you received: 291
  • Karma: 40
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 7 months 2 weeks ago #6437

  • Iain McCarthy
  • Iain McCarthy's Avatar
  • Offline
  • Senior Boarder
  • Posts: 66
  • Thank you received: 4
  • Karma: 0
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 7 months 2 weeks ago #6439

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 2756
  • Thank you received: 291
  • Karma: 40
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 7 months 2 weeks ago #6444

  • Iain McCarthy
  • Iain McCarthy's Avatar
  • Offline
  • Senior Boarder
  • Posts: 66
  • Thank you received: 4
  • Karma: 0
Thank you
That worked
The administrator has disabled public write access.
Time to create page: 0.194 seconds