Hey all,

I have what seems to be a unique problem.  I've built a real estate
search application for a client of mine using the v2 API and
MarkerManager.  The general usage goes something like this.

1) User pans map to specific area of town.
2) On dragend, I poll a remote database for a list of properties
within the given bounding box.
3) Markers are drawn on the map and stored in an array as usual (up to
100 maximum, they are offered a number of search criteria to narrow it
down).
4) On click, an ExtInfoWindow box is shown with some information about
the property.

Now, this is where it gets a little different.  The client wants the
marker to turn a different color to indicate to the user that they
have already seen that property.  It seems intuitive, and it is, and I
am able to accomplish this very nicely with setImage() on the marker
right before I call the ExtInfoWindow method.

However, when the map refreshes (if they move it at all), and I add
any new markers that are found (note that I am NOT re-adding the
markers that are already there -- I only add what's new), upon
invoking the MarkerManager.refresh() method, all of the markers that
were previously changed via setImage end up *REVERTING* back to their
original state.

I've poked around into the objects quite a bit but forcing values in
either the array or the object itself don't seem to keep the markers
that aren't being updated as static.  Is there any way to get around
this, and/or implement this functionality?

I got this functionality working pretty well using MarkerLight, and
after hacking ExtInfoWindow to work with MarkerLight, I was going to
go down that road, but then all of my marker management code seemed to
be failing, leaving orphan markers everywhere and I really don't want
to go back in and revamp core functionality for such a silly feature.

Any ideas?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to