heremaps / here-android-sdk-examples

Java-based projects using the HERE SDK for Android.
Apache License 2.0
145 stars 191 forks source link

MapLabeledMarker do not disappear with animation #462

Open JustTrust opened 3 years ago

JustTrust commented 3 years ago

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.