How to use polylinedacorator with react leaflet
问题 I have created polyline using react-leaflet, I want to show direaction on polyline using polylinedacorator.But I don't know how to do that with react-leaflet. I found multiple examples with leaflet, but not with react-leaflet const polyline = [[51.505, -0.09], [51.51, -0.1], [51.51, -0.12]] export default class VectorLayersExample extends Component<{}> { render() { return ( <Map center={center} zoom={13}> <TileLayer attribution='© <a href="http://osm.org/copyright">OpenStreetMap</a>