Merge pull request #47 from dougborg/fix/map-bounds-null-safety

Fix null-safety issue with mapBounds in getNearbyNodes
This commit is contained in:
stopflock
2026-02-09 14:52:26 -06:00
committed by GitHub

View File

@@ -160,7 +160,7 @@ class MapViewState extends State<MapView> {
getNearbyNodes: () {
if (mounted) {
try {
LatLngBounds? mapBounds;
final LatLngBounds mapBounds;
try {
mapBounds = _controller.mapController.camera.visibleBounds;
} catch (_) {