A
A
Alexander Pankov2015-01-19 18:36:38
css
Alexander Pankov, 2015-01-19 18:36:38

How to animate a Yandex Maps marker?

Hello!
Do not tell me the technique of animating markers on Yandex maps (Yandex is needed, I know that google "out of the box" can do this) the
banal Fade In Ap when adding a label (s) and some jerking when hovering!
I thought through CSS3, through keyframes, just look for a marker in the DOM and apply a class with animation to it, but it didn’t happen, I didn’t find the marker in the DOM (maybe I was looking badly?), Only copyright and all sorts of scales and types of maps are.
Any ideas?
Thanks in advance for your help!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Pankov, 2015-01-19
@PankovAlxndr

The option helped when creating the overlayFactory marker: 'default#interactiveGraphics'
And then along the long path I got through the DOM tree to the marker, and now I can animate it using css3
here is my path to the marker

#map > ymaps > ymaps.ymaps-2-1-17-inner-panes > ymaps.ymaps-2-1-17-places-pane > ymaps > ymaps {
  animation-name tada
  animation-iteration-count infinite
  animation-duration 2s
  animation-fill-mode both
  animation-timing-function ease-in-out	
}

U
ultrabi4, 2015-01-19
@ultrbi4

ymapsapi.ya.ru/replies.xml?item_no=1946

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question