Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Marker Disappear Animation #156

Open
dmiluski opened this issue Sep 9, 2022 · 1 comment
Open

Marker Disappear Animation #156

dmiluski opened this issue Sep 9, 2022 · 1 comment
Assignees
Labels
stale triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@dmiluski
Copy link

dmiluski commented Sep 9, 2022

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.

@dmiluski dmiluski added triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels Sep 9, 2022
@stale
Copy link

stale bot commented Jun 18, 2023

This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!

@stale stale bot added the stale label Jun 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

2 participants