August 13, 2017 at 9:27 pm #29436
I think we’re set with the slider.
One more thing… Below the slider is a tabbed section with a map within each tab. The map on the first page shows fine, however on the other tabs we’re experiencing the same issue as we had in the slider. Also, when a marker is clicked within the tab, the map completely refreshes. Is there a way to correct these issues?
PeterAugust 14, 2017 at 10:06 am #29452
I’ve applied a fix for tabs on this page
Could you please confirm which page it was with the tabs below the slider and if the fix has been applied there too?
– PerryAugust 14, 2017 at 1:38 pm #29466
I can see the maps now across all tabs! Thank you. However, when I click on a marker the entire map unexpectedly reloads. How do we keep the map from reloading when a marker is clicked?
– PeterAugust 14, 2017 at 1:57 pm #29467
I see that’s triggered by some tab compatibility code. Can you please open /wp-content/plugins/wp-google-maps-pro/js/core.js and comment out line 1129 by putting a // at the start. That will stop the map from reloading when a marker is clicked
– PerryAugust 14, 2017 at 2:25 pm #29470
I notationed out line 1129 and the maps disappered and the tabs stopped working.
Can you confirm what’s on line 1129?
Thanks, PeterAugust 14, 2017 at 2:32 pm #29471
I’m looking directly at the core.js file on your site so there shouldn’t be any mismatch there, please find a screenshot attached of how the code should look after making those changes.
This won’t cause any syntax errors and there are no other parts of code that depend on that closure, so this will work, however if something goes wrong can you please leave it in that state and fire me a quick message so I can see what’s wrong?
– PerryAugust 14, 2017 at 4:44 pm #29484
I’m not seeing an attached screenshot you’re referring to. Can you resend?
Thanks, PeterAugust 15, 2017 at 8:19 am #29516
You must be logged in to reply to this topic.