Skip to content

Commit 26fae58

Browse files
authored
fix: Revert "Adjusted default MapOptions.cameraConstraint to prevent out-of-bounds viewing" (#1700)
Refs: b98cdd2
1 parent ea79e2a commit 26fae58

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/src/map/options/options.dart

+1-4
Original file line numberDiff line numberDiff line change
@@ -308,10 +308,7 @@ class MapOptions {
308308
_cameraConstraint ??
309309
(maxBounds != null
310310
? CameraConstraint.contain(bounds: maxBounds!)
311-
: CameraConstraint.contain(
312-
bounds:
313-
LatLngBounds(const LatLng(-90, -180), const LatLng(90, 180)),
314-
));
311+
: const CameraConstraint.unconstrained());
315312

316313
@override
317314
bool operator ==(Object other) =>

0 commit comments

Comments
 (0)