longpress_popup 1.5.3 longpress_popup: ^1.5.3 copied to clipboard
A plugin for flutter_map to show a customisable popup Widget when a marker is tapped. Also provides methods to show/hide popups.
longpress_popup
#
Makes adding marker popups to flutter_map
easy.
If you have any suggestions/problems please don't hesitate to open an issue.
Getting Started #
For a minimal code example have a look at SimpleMapWithPopups.
For a complete example which demonstrates all of the various options available try running the demo app in the example/
directory which results in the following:
FAQ #
-
Why is the popup not showing when I long press the marker?
Make sure you don't have a GestureDetector in your Marker's builder which is preventing this plugin from detecting the Marker long press.
"# longpress_popup"