This will work in case of unirgy store locator, if you have already
configured store locator and the map is successfully displaying store
location.
You have to make small change in map.phtml
Here are the steps:
1.Go to frontend/default/default/template/unirgy/storelocator
2.In function searchLocationsNear() you will see map.setCenter(bounds.getCenter(), map.getBoundsZoomLevel(bounds));
3.just change map.setCenter(bounds.getCenter(), map.getBoundsZoomLevel(bounds));
To
map.setCenter(bounds.getCenter(), map.getBoundsZoomLevel(bounds)-5); //I used 5 here , you can user any no. u want acording to the zoom level.
You have to make small change in map.phtml
Here are the steps:
1.Go to frontend/default/default/template/unirgy/storelocator
2.In function searchLocationsNear() you will see map.setCenter(bounds.getCenter(), map.getBoundsZoomLevel(bounds));
3.just change map.setCenter(bounds.getCenter(), map.getBoundsZoomLevel(bounds));
To
map.setCenter(bounds.getCenter(), map.getBoundsZoomLevel(bounds)-5); //I used 5 here , you can user any no. u want acording to the zoom level.
No comments:
Post a Comment