Can I make a gradient Polyline in React.js Google Maps API?

76 views Asked by At

Do you know how I can create Polylines in a Google maps view in my React app?

I looked into the google maps documentation but found nothing helpful to do this. This is how it's done in Android: https://developers.google.com/maps/documentation/android-sdk/shapes#polyline-customization. But I could not find the React version.

I can make a lot of lines with solid colors on each to kind of simulate a gradient, but that's not my ideal solution and it's not really performance optimized.

0

There are 0 answers