Marker Disappear Animation #156
Labels
stale
triage me
I really want to be triaged.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Thanks for stopping by to let us know something could be better!
PLEASE READ
If you have a support contract with Google, please create an issue in the support console. This will ensure a timely response.
Discover additional support services for the Google Maps Platform, including developer communities, technical guidance, and expert support at the Google Maps Platform support resources page.
If your bug or feature request is not related to this particular library, please visit the Google Maps Platform issue trackers.
Check for answers on StackOverflow with the google-maps tag.
Is your feature request related to a problem? Please describe.
Lack of ability to animate out a marker
Describe the solution you'd like
Offer a .disappearAnimation allowing for the animated removal of a marker
Describe alternatives you've considered
Manually animating layer via CATransaction, CAKeyframeAnimation both of which don't appear to have an effect?
Additional context
Is there a way to animate the removal of a GMSMarker?
I've been reading through add/remove documentation and came across the
appearAnimation
property which provides what I"m looking for for the addition of a marker.Use Case:
In our use case, we tend to add new annotations as well remove annotations from screen to maintain performance and provide focus on new content. The problem we're running into is when we remove annotations, its not animated. Placed alongside the animated introduction of new markers, the end user experience is weird.
Is there a way to offer: .disappearAnimation?
Or suggest a way to perform our own animations? So far I had attempting interacting with the layer/opacity direction with a UIView.animate(duration:animation:completion), as well as a CATransaction + CAKeyframeAnimation "transform.scale", both being unsuccessful at animating out the markers.
I would be very grateful for any guidance for how to approach.
The text was updated successfully, but these errors were encountered: