Forum Discussion

LeonardSaucier's avatar
LeonardSaucier
Community Member
25 days ago

marker pulsing

I am digging the markers pulsing. But can we stop them from pulsing after clicking? When I looked at states, the option for maker animate is greyed out on anything but normal. 

  • No is the simple answer.

    By doing a bit of work you can hide one marker with pulse and show one without 

  • It is not ideal, but you can get something close using the Emphasis animation

     

  • Nedim's avatar
    Nedim
    Community Member

    You can achieve this effect using JavaScript. Essentially, you need to remove the animation element associated with each marker when it's clicked. This can be done by adding an event listener to each marker that targets its nested animation element and removes it.