here-android-sdk-examples icon indicating copy to clipboard operation
here-android-sdk-examples copied to clipboard

MapLabeledMarker do not disappear with animation

Open JustTrust opened this issue 4 years ago • 0 comments

We use Premium SDK 3.18.4 and MapLabeledMarker to achieve fade in / fade out effect. Everything works well when markers appears on the map but when markers dissapearing no any animation happens. They just disappear immediately. Code example:

        map?.let { map ->
            map.executeSynchronized {
                map.removeMapObjects(oldMarkers)
                map.addMapObjects(newMarkers)
            }
}

When newMarkers list is empty old markers dissapear without animation. Documentation is very poor about this topic.

JustTrust avatar Sep 08 '21 12:09 JustTrust