v8.1.1flutter_map_marker_popup
flutter_map 的標記彈出視窗。
flutter_map 標記的彈出視窗
{"sdk":"flutter"}^0.0.4^8.2.0>=0.9.0 <0.11.0^6.0.5{"sdk":"flutter"}^4.0.0以下為英文專案原文快照,最新內容請造訪 GitHub。
flutter_map_marker_popupMakes adding marker popups to flutter_map easy.
If you have any suggestions/problems please don't hesitate to open an issue.
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:
Example
Why is the popup not showing when I tap the marker?
Make sure you don't have a GestureDetector in your Marker's builder which is preventing this plugin from detecting the Marker tap.
If you want both marker popups and marker clustering, this plugin's popup functionality has been integrated in to the wonderful flutter_map_marker_cluster plugin.
A huge thanks to the contributors of flutter_map and the flutter_map_marker_popup. I use them together in a large personal project and they work wonderfully.