In mapbox-gl-js we can apply the gradient to the line layer as shown in the screenshot below.
But in react-native-mapbox-gl, a similar functionality cannot be found. I can't find any properties and functions that enable me to apply gradient color to the line layer.
I am able to only apply a single color to line layer as shown in the below screenshot.
If anyone has any idea about this or any workarounds please suggest, it would be really helpful.
In mapbox-gl-js we can apply the gradient to the line layer as shown in the screenshot below.
But in react-native-mapbox-gl, a similar functionality cannot be found. I can't find any properties and functions that enable me to apply gradient color to the line layer.
I am able to only apply a single color to line layer as shown in the below screenshot.
If anyone has any idea about this or any workarounds please suggest, it would be really helpful.