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
Adding hover on pins #110
Adding hover on pins #110
Conversation
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
Up (to remove stale) |
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
Removing stale |
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
pls fix conflicts |
Conflicts has been resolved. |
Hello,
I'm working on a web project that uses flutter_map_marker_cluster and adding the hovers on markers using clusters is an important feature of my project.
If buildPopupOnHover is set to true, a MouseRegion will encapsulates the marker.builder (within the GestureDetector) and the popup will be built when the marker is hovered. When tapping a Marker, only the onMarkerTap method will be called.
I also added two methods : onMarkerHoverEnter and onMarkerHoverExit which follow the spirit of onMarkerTap : they're called respectively on hover enter and on hover exit.
Finally, I added a timer before the popup is shown, this timer is set to 300 ms by default.
I hope we can do something for the hovering feature to be added as it can be very useful for web projetcs.
Thanks for reading!