如何检测颤振传单地图的缩放变化?

How to detect zoom change in flutter leaflet map?

如何检测 flutter leaflet 地图中的 'zoom in' 和 'zoom out'?

假设您正在使用 flutter_map 包,在 MapOptions 中有一个 onPositionChanged 回调函数。它应该 return 你的缩放细节。