-
AuthorPosts
-
February 11, 2021 at 3:06 pm #1279770
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 KosterFebruary 15, 2021 at 2:19 pm #1280538Hey 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,
MikeFebruary 15, 2021 at 2:27 pm #1280543Hey 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 KosterFebruary 17, 2021 at 1:18 pm #1281704Hi,
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,
IsmaelFebruary 17, 2021 at 5:58 pm #1281836Hey Ismael, thanks for the help. Problem solved!
February 18, 2021 at 2:05 am #1281911Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Bouncing (animated) tooltips Google maps’ is closed to new replies.
