👋
I was working for a while on a use case for creating a gradient polyline on Google Maps in Android natively since it is not a built-in API in Google Maps Android SDK.
So, I created a Github Repository that discussing the use case, the approach that I took, and how I implement it to show a gradient polyline on Google Maps in Android.
If you are interested in such a topic, please take a look and feel free to reach out or to contribute 🙂
https://github.com/ahmedadeltito/GradientPolyline
k
karandeep singh
05/03/2020, 6:07 PM
good stuff. I myself implemented gradient polyline to to draw flag on India .
👍 1
a
Amokrane
05/03/2020, 10:03 PM
Nice. Have you thought about packaging it as a standalone library?
a
Ahmed Adel
05/04/2020, 3:24 AM
@Amokrane was thinking about that but I said to myself to make a repo and discuss how we can make it, would be much better to make a library for i. Since the idea I used to make this gradient polyline is so simple and it's just about only one class with less than 300 lines of codes that handles all of theses stuff.