Skip to content
New issue

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

canvas renderer and option "tolerance" #178

Closed
ascheidl opened this issue Mar 20, 2023 · 1 comment
Closed

canvas renderer and option "tolerance" #178

ascheidl opened this issue Mar 20, 2023 · 1 comment

Comments

@ascheidl
Copy link

Hello,

I want to increase the area around my features in which they become clickable.

As far as I understood, in leaflet this is possible using the canvas renderer and it's option "tolerance".

However, I could not find out how to activate the canvas renderer and how to set this option in dash_leaflet.

Can you help ?

@emilhe
Copy link
Owner

emilhe commented Aug 25, 2023

Yes, should be possible from the 1.0.1 release on onwards. As noted the component reference, you can pass a renderer argument to the Map, specifying which renderer to use - and specify any options to pass on to it.

@emilhe emilhe closed this as completed Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants