Welcome, Guest
Username: Password: Remember me

TOPIC: Map default zoom

Map default zoom 1 year 9 months ago #4911

  • Amir
  • Amir's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
Hi, I want to set default zoom level when an advert is showing it shows the map by default zoom.
How can I change it?
thank you.
The administrator has disabled public write access.

Map default zoom 1 year 9 months ago #4912

  • Super User
  • Super User's Avatar
  • Online
  • Administrator
  • Posts: 2759
  • Thank you received: 292
  • Karma: 40
Hi,

Kindly open the maps.js file from the below path,

Root-->components-->com_jomclassifieds-->js-->maps.js

In this file, search the below code,
mapOptions={zoom:5,center:myLatlng,mapTypeId:google.maps.MapTypeId.ROADMAP}

And Change zoom:5 to zoom:7 and check.

Thanks.
The administrator has disabled public write access.
Time to create page: 0.320 seconds