Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6287

How to change Google Mapview Polyline Stroke Style Dashed Style Line Using React Native?

$
0
0

In My Scenario, I have Implemented in my application Google MapView using "react-native-maps" npm package. In this package as per my requirement I have to draw a dashed circle polyline, like below mentioned image Green line should be dashed stroke style. How to change it like dashed or dotted stroke style line.

enter image description here

<Polyline            coordinates={[              { latitude: 37.88045, longitude: -122.4324 },              { latitude: 37.78825, longitude: -122.3903 },            ]}            strokeWidth={3}            lineDashPattern={[170, 170]}          /> 

Viewing all articles
Browse latest Browse all 6287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>