Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Animated SymbolLayer icon movement example (pin drop) #934

Merged
merged 4 commits into from
Apr 1, 2019

Conversation

langsmith
Copy link
Contributor

@langsmith langsmith commented Dec 17, 2018

This pr adds an example of combining SymbolLayer icons with the Android system's ValueAnimator and interpolator animation for a fun pin drop effect. The interpolator movement can also be used with other types of map layers, such as a LineLayer or CircleLayer.

ezgif com-resize 1

resolves #880 by showing how iconTranslate can be used to adjust icon location.

@langsmith
Copy link
Contributor Author

Ok, feedback has been addressed @tobrun

@langsmith langsmith merged commit 5f7bcce into master Apr 1, 2019
@langsmith langsmith deleted the ls-pin-drop-example branch April 1, 2019 16:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bobbing map pin icon SymbolLayer example
2 participants