I have attached a vimeo to the issue, the main issue is that google maps seems to be sluggish and not well tracking and slow.
Has anyone got any sugestions? Thanks
I have attached a vimeo to the issue, the main issue is that google maps seems to be sluggish and not well tracking and slow.
Has anyone got any sugestions? Thanks
Useful summary and practical fixes based on the thread
Good catch by — the visible “jumps” were caused by a stylesheet that applied a transition rule globally to every element. That kind of rule makes Google Maps’ many internal DOM updates interpolate over time instead of applying immediately, which produces the sluggish, stuttering motion some testers saw (as noted, the effect can vary by device and browser).
Why this breaks maps - short version: the Maps UI constantly updates tiles, markers and transform/position styles. A global transition forces animation for those changes, so the browser spends extra time interpolating and repainting lots of elements. That increases main-thread work, triggers reflows/repairs and makes panning/marker movement look “jumpier” rather than smooth.
Quick, practical steps to reproduce and fix
#map, #map * {
transition: none !important;
} Performance tips and caution
will-change sparingly — too many layers can hurt performance. After removing or scoping the global transition, test across several devices and browsers (as suggested) to confirm the behavior is consistently smooth.
Jump to Post— rproffitt 3,249The Vimeo link says "Sorry, we couldn’t find that page". Here Google Maps seem fine. Have others test this for you.
Jump to Post— Dani 5,664Can you upload the file as a post attachment here on DaniWeb?
The Vimeo link says "Sorry, we couldn’t find that page". Here Google Maps seem fine. Have others test this for you.
Can you upload the file as a post attachment here on DaniWeb?
Sorry but the video does not look glitchy to me. Keep in mind I was on teams with GPS tracker development and it does jump a bit at times but I saw no glitch.
rproffitt,
That's the word, jumps. What could be causing this. For some reason it's not smooth :/
Sorry but the video looked normal to me. I wonder if you tried it on a few dozen machines and phones? We did. Result? Some were smoother.
So, I found the issue, there was an all class css rule added.
*{transition: all 300ms;}
this was the cause.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.