bramus / bramus/react-native-maps-directions
How do I get a linear gradient in strokeColor props
- Dominant language
- JavaScript
- Stars
- 1.3k
- Forks
- 210
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to create a linear gradient on the stroke of maps. Currently this is my attempt by far, which failed too.
```
}
timePrecision={"now"}
onReady={data => {
console.log('ONREADY DATA: ', data);
setDuration(data.duration);
setDistance(data.distance * 0.621371);
setCarAngle(calculateAngle(data.coordinates));
getTripStatus(tripInfo.ID, username, password)
}}
/>
```
This is the result I am looking for is

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.