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 8024143
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T22:46:34+00:00 2026-06-04T22:46:34+00:00

When using MarkerClustererPlus – I would like to hang some code on an event

  • 0

When using MarkerClustererPlus – I would like to hang some code on an event that is triggered when a marker that is in a cluster is shown / hidden by the markerClusterer.

MC+ Doco doesn’t seem to indicate such an event.

Looking at the MC+ code it appears that the clusterer uses marker.setMap() and markers don’t have a “map_changed” event.

I could add code to the clusterer to trigger an event whenever a marker.setMap is invoked but I’d rather not alter code that works so well – don’t want to create a configuration management problem whenever markerClustererPlus is updated.

Any suggestions?

  • 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-04T22:46:36+00:00Added an answer on June 4, 2026 at 10:46 pm

    Shortly after posting the question, I discovered that I could hang an event on marker, ‘map_changed’.

    google.maps.event.addListener(myMarker, 'map_changed',
    function() { do stuff });
    

    I think this is an MVC state change event rather than an explicit marker event (i.e. it isn’t defined as a marker event in the documentation).
    (see Google event doco here) and Google marker event doco here

    The only remaining question is – it would be nice to verify that this is an MVC state change event rather than an undocumented / unsupported marker event that could break or disappear – How can I do that?

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

Sidebar

Related Questions

Using Jenkins or Hudson I would like to create a pipeline of builds with
Using EF Code First I have an model object that has multiple properties that
Using Rails 3.2.0 with haml and sass: I Would like to link an external
Using preview 4 of ASP.NET MVC Code like: <%= Html.CheckBox( myCheckBox, Click Here, True,
Using Rails 3.1. I have some pages that render same layout, except the contents
(Using WPF) In a small application that I wrote, I am using some count-down
Using Yii, I want to delete all the rows that are not from today.
Using the opencart image manager how would I set the upload to automatically remove:
Using this code, the following execution yields strange results: C 100 R W The
using xmltextreader, how would I load a hashtable. XML: <base><user name=john>2342343</user><user name=mark>239099393</user></base> This was

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.