kkoci Posted November 20, 2013 Share Posted November 20, 2013 (edited) I need to change the default map or location that is showed on the stores.js module. When you click in 'our stores' in homepage. I've seen the .js file, but i don't know where i can load my map ID or change the actual one. Anyone knows a way to accomplish this? Edited November 21, 2013 by vekia (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted November 20, 2013 Share Posted November 20, 2013 to change map position you have to change back office settings, not file. take a look on page: preferences > store contacts you can edit laltitude and longitude there and also list of available stores Link to comment Share on other sites More sharing options...
kkoci Posted November 20, 2013 Author Share Posted November 20, 2013 Hi vekia, awesome! As always Btw, i changed the coordinates, but i need to zoom the map, there's no option for that, any ideas? Link to comment Share on other sites More sharing options...
kkoci Posted November 20, 2013 Author Share Posted November 20, 2013 I mean, of course i can zoom, but my point is, the default map appears really far from the point, well just curious if i can tweak that, if not it's just ok. Link to comment Share on other sites More sharing options...
vekia Posted November 20, 2013 Share Posted November 20, 2013 I mean, of course i can zoom, but my point is, the default map appears really far from the point, well just curious if i can tweak that, if not it's just ok. you an change zoom in /themes/YOUR_THEME/js/stores.js file there is a code like: $(document).ready(function() { map = new google.maps.Map(document.getElementById('map'), { center: new google.maps.LatLng(defaultLat, defaultLong), zoom: 10, mapTypeId: 'roadmap', mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DROPDOWN_MENU} }); just change zoom: 10, param Link to comment Share on other sites More sharing options...
kkoci Posted November 21, 2013 Author Share Posted November 21, 2013 Lol, thank you very very much! You rock! Link to comment Share on other sites More sharing options...
vekia Posted November 21, 2013 Share Posted November 21, 2013 you're welcome so glad that i could help you in this case:) i marked this thread as[solved] with regards, MIlos Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now