Jump to content

[SOLUCIONADO]Configurar zoom en mapa de sucursales


llanitozz

Recommended Posts

In prestashop there is "Stores" section.

 

To change zoom of the default map which loads up after navigating there, go to:

 

 

themes/.../js/ folder

open stores.js

Go to line 196.

 

You will see code like this:

 

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}

});

 

Change Zoom to whatever you like.

Edited by mestallo (see edit history)
Link to comment
Share on other sites

In prestashop there is "Stores" section.

 

To change zoom of the default map which loads up after navigating there, go to:

 

 

themes/.../js/ folder

open stores.js

Go to line 196.

 

You will see code like this:

 

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}

});

 

Change Zoom to whatever you like.

 

 

 

Muchas gracias! ya pude mostrar las sucursales desde un zoom mas alejado jeje

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...