Closed Kooo9058 closed 3 years ago
It can be done like this:
PlacemarkMapObject placemark = mapObjects.addPlacemark(point, provider, iconStyle);
placemark.useAnimation().play();
The animation example in demo project seems broken because used png is not animated (not apng). Fixed in this PR: https://github.com/yandex/mapkit-android-demo/pull/250 . In addition, a new example with placemark animation has been added.
Thank you for your help. Everything works, the label is animated.
At this point, the AnimatedImageProvider is used to animate the marker, but even in the demo project, the animation does not play. How to make an animated marker on the map?