Add this to line 57 - at the beginning of marker click event:
if (bouncingMarker) {
bouncingMarker.setAnimation(null);
}
bouncingMarker = marker;
You need to define bouncingMarker variable to be null or something
like that.
On Nov 25, 4:23 pm, IR HM <[email protected]> wrote:
> I wonder whether someone could help me please.
>
> I'm using the following page
> here<http://www.mapmyfinds.co.uk/development/mylocationstest.html>,
> to allow the user to select and deselect marker categories shown on a map
> via check boxes. They can then click the marker on the map or in the
> sidebar listing created on the left hand side to view further details.
>
> I'm now tyring to give the markers the bouncing functionality and I've been
> able to do this to some degree, i.e. the user can select the marker via the
> sidebar, or the marker itself on the map, and the marker starts bouncing.
> However, what I've been trying to do, is to get the marker to stop bouncing
> once another marker is selected. I've been working on this for sometime now
> and I just can't work this out., I just wondered whether someone could
> perhaps provide some guidance on what I may need to do to get this to work.
>
> Many thanks and kind regards
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.