Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7816597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T05:55:15+00:00 2026-06-02T05:55:15+00:00

I use a google maps v3 with marker clusterer v3 to display 1000’s of

  • 0

I use a google maps v3 with marker clusterer v3 to display 1000’s of markers. I also have a side-panel that lists the titles of each marker. When a user hovers over a title in the panel I animate the corresponding marker, and I stop animating on mouseout.

This works fine when the marker isn’t in a cluster. I have a problem when the marker is in a cluster.

If the marker is in a cluster I first change the marker’s map object from null (previously set by markerClusterer so to hide the marker once it puts it in a cluster) to my map object, and then I animate the marker. Again, this works. It’s on mouseout that I experience my problem.

On mouseout I set the marker animation to null and then set the marker’s map object to null. This does what you would expect (hides the marker), but I can’t get the marker to show again on any subsequent hover event. The marker still exists inside the appropriate cluster object, and I can call setMap() to set the marker’s map property, but the marker still won’t show up on the map. Here is the relevant code:

        if (event.type === 'mouseover' || event.type === 'mouseenter' ) {       
            if (!marker.getMap()) { //marker is in a cluster
                inCluster = true;
                marker.setMap(map)
            } else {
                inCluster = false
            };
            marker.setAnimation(google.maps.Animation.BOUNCE);
        } else {
            marker.setAnimation(null);
            if (inCluster == true) { //hide the clusterized marker
                marker.setMap(null)
            }
        };

If I comment-out the two setAnimation() calls, then the code will work and the marker can be displayed and then hidden as expected (just not animated). Also, when I play around with the console, I can display the marker out of the cluster, then I can animate it, then i can de-animate it, then I can hide it again, over-and-over. But, if I call setMap(null) before de-animating the marker, then I hit my bug.

So, the problem only exists when animation hasn’t stopped prior to calling setMap(null). I’ve tried setting a timer to give the animation a few hundred milliseconds to stop before calling setMap, and this sometimes works, but other times it triggers other, even worse behavior.

Any help solving this would be greatly appreciated (and eagerly accepted)!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T05:55:17+00:00Added an answer on June 2, 2026 at 5:55 am

    I’ve been experiencing thr same issue. It’s a new bug in the API. I plan on using my enterprise account to create a case once I have a simple reproducable example.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use google maps API to display markers on a map. Each marker points
Ok so I developed the following code to use Google Maps with Marker Clusterer.
I use the google maps family API. I want to display a car on
GOOGLE MAPS API V3 is what i'm trying to use. I have all the
I'm trying to load a Google Maps v3 that shows 5000 markers clickable. My
I'm trying to add markers to a Google maps using V3. I have my
Hey. I have a maps application that uses google maps. I get the bounds
I'm using Google Maps API to display a map and some markers on it.
Last time I have noticed problem with google maps cluster. I use gmaps4rails plugin
I have problem with add new row to the table. I use Google Maps,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.