Hey there, is there a solution to stop the bouncing animation of the tooltips in the Google map so that all the markers are show immediately?
Best regards,
Martijn Koster
Hey Martijn,
Sorry for the very late reply, please try editing this file:
\wp-content\themes\enfold\framework\js\conditional_load\avia_google_maps_api.js
on line 288 you will find: animation: google.maps.Animation.BOUNCE,
please try adding two forward slashes like this: //animation: google.maps.Animation.BOUNCE,
this will deactivate it, then clear your browser cache and any cache plugin, and check.
If you don’t feel comfortable doing this, please include FTP and admin access in the Private Content area and we could assist.
Best regards,
Mike
Hey Mike, not a problem at all. Thanks for the tip, that did the trick.
Now I want to know if it’s possible that all markers are shown immediately in stead of one at a time?
Best regards,
Martijn Koster
Hi,
Try to modify the same file and look for this setTimeout function around line 307.
setTimeout(function(){ marker.setAnimation(null); _self._infoWindow(_self.map, marker, _self.$data.marker[key]); },500);
Decrease the timeout duration from 500ms to 10ms to decrease the delay between marker animation.
setTimeout(function(){ marker.setAnimation(null); _self._infoWindow(_self.map, marker, _self.$data.marker[key]); },10);
Below that, there is another timeout duration.
},200 * (parseInt(key,10) + 1));;
Again, replace it with a smaller value to decrease the delay between the animations.
Best regards,
Ismael
Hey Ismael, thanks for the help. Problem solved!
Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon