Jump to content

PrestaShop Store Locator - change map zoom


Recommended Posts

My shops are in China, Germany, UK and Kenya. I set the starting coordinates somewhere in the centre of them, somewhere in Iran. With the preset zoom level no shops are visible.I want to change the initial zoom level of Google Maps.

 

As I am at it: Where is the icon indicating the shop location? I want to change that from the PrestaShop icon to my own.

 

Happy Easter, Michael

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 year later...

Hi, 

 

Just for a bit help more to anyone reading this post : You need to go around line 190 and change the zoom number.

 

$(document).ready(function()
{
map = new google.maps.Map(document.getElementById('map'), {
center: new google.maps.LatLng(defaultLat, defaultLong),
zoom: 15,
mapTypeId: 'roadmap',
mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DROPDOWN_MENU}
});
 
Hope it helps. That's on 1.5.4
Edited by kepass (see edit history)
  • Like 2
Link to comment
Share on other sites

×
×
  • Create New...