We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
react-leaflet
I have posted the this in stackoverflow earlier, but no use.. Still I didn't receive any solution.
Having difficulty in selecting the lines on react-leaflet map, so I have followed the below solutions,
`const canvasRenderer = L.canvas({ tolerance: 5, });
<Polyline pathOptions={{ renderer: canvasRenderer, color: "Black", smoothFactor: 1, opacity: 1, weight: 3, }} positions={[51.505, -0.09],[51.51, -0.1],[51.51, -0.12],} eventHandlers={{ contextmenu(e) { //some function goes here. }, }} ></Polyline>`
The renderer was not working and there was no effect on the polylines. That I have posted here, I think the canvasRenderer wont work for react-leaflet
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have posted the this in stackoverflow earlier, but no use.. Still I didn't receive any solution.
Having difficulty in selecting the lines on react-leaflet map, so I have followed the below solutions,
`const canvasRenderer = L.canvas({
tolerance: 5,
});
The renderer was not working and there was no effect on the polylines. That I have posted here, I think the canvasRenderer wont work for
react-leaflet
How to use the Leaflet Almost Over plugin with
react-leaflet
.The text was updated successfully, but these errors were encountered: