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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve map events 馃實 #26

Closed
robinmetral opened this issue Feb 11, 2019 · 1 comment
Closed

Improve map events 馃實 #26

robinmetral opened this issue Feb 11, 2019 · 1 comment

Comments

@robinmetral
Copy link
Owner

robinmetral commented Feb 11, 2019

Currently, a popup opens when clicking a marker (layer.click).

I want a tooltip to appear when hovering a marker with the caf茅's name, and a click event (react-leaflet events docs) to trigger a state change in App that renders:

  1. If logged in, an edit form for the clicked caf茅
  2. If not logged in, the details of the clicked caf茅
@robinmetral
Copy link
Owner Author

onClick Leflet DOM event: docs

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

1 participant