Have you checked for js errors after the first load? What is your url?
Ajax navigation doesn’t work together with the loading of the store locator.
The script waits until it receives a notification that the page has finished loading, but with Ajax the page isn’t reloaded so it never receives the notification. Which it does do when you reload the page yourself.
You would either have to disable the Ajax navigation, or modify the /js/wpsl-gmap.js.
At the top of the wpsl-gmap.js replace the first line with this.
(function($) {
And the last line with this.
})(jQuery);
Let me know if this fixes it.
still have to refresh with adjustment you sent
Can you also try to change this, you can find it near the bottom of the file.
Replace this:
google.maps.event.addDomListener( window, "load", initializeGmap );
With this:
initializeGmap();
Doesn’t change anything still have to refresh to show map
Is there a way you can disable the Ajax loading just for that page?
Can you otherwise email me your theme so that I can play around with the code and see if I can get it to work without having to refresh the page. My email is info at tijmensmit.com
Found a way to disable Ajax loading and it works, thank you