Skip to content

Commit

Permalink
fix: Revert "Adjusted default MapOptions.cameraConstraint to preven…
Browse files Browse the repository at this point in the history
…t out-of-bounds viewing" (#1700)

Refs: b98cdd2
  • Loading branch information
JaffaKetchup authored Oct 24, 2023
1 parent ea79e2a commit 26fae58
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/src/map/options/options.dart
Original file line number Diff line number Diff line change
Expand Up @@ -308,10 +308,7 @@ class MapOptions {
_cameraConstraint ??
(maxBounds != null
? CameraConstraint.contain(bounds: maxBounds!)
: CameraConstraint.contain(
bounds:
LatLngBounds(const LatLng(-90, -180), const LatLng(90, 180)),
));
: const CameraConstraint.unconstrained());

@override
bool operator ==(Object other) =>
Expand Down

0 comments on commit 26fae58

Please sign in to comment.