Hello,
On 3/10/07, Yves Dufour <yves_dufour at mac.com>
wrote:>
> Clicking on the icon of a clusterer opens an infowindow with a list
> of markers , ech one has an icon and a description...
>
> Is it possible to click on the marker icon (how to change its
> image ?) to zoom directly to that marker ? or should I write a link
> in the description
Currently, the clusterer is hard coded to display only the list of markers
in the cluster when clicking on it, with no additional behavior attached.
But I guess you could change that, by changing the popUp method. If you do,
would you mind sending me the code, so I could include it? To change the
image, you have an :icon option in the ym4r Cluster constructor. You need to
pass it a GIcon variable.
Also have a look at the GMarkerManager : You have to be more explicit in
implementing the clustering behavior but it has more flexibility. There is a
small GMarkerManager class in the ym4r overlay.rb file and something in the
doc too, I think.
yhanks for your help>
>
> Note :additional question : what is the origin of the error message :
> '' too many recursion'' ..... ?
In what context?
guilhem
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://rubyforge.org/pipermail/ym4r-user/attachments/20070310/6576e77d/attachment.html