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

need to add marker when mouse click but zoom in out #115

Open
yuanjifeng opened this issue Oct 17, 2023 · 1 comment
Open

need to add marker when mouse click but zoom in out #115

yuanjifeng opened this issue Oct 17, 2023 · 1 comment

Comments

@yuanjifeng
Copy link

I have a need to add markers to the map when I click the left mouse button, but when I click on the upper left corner to zoom in or out, it also add markers, how can I avoid it ?

@LorenzoMattia
Copy link

LorenzoMattia commented Dec 21, 2023

Hi @yuanjifeng, can't you use a different event to trigger the addition of new markers? For instance using right click or a combination like

"<Shift-Button-1>"

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