diff --git a/lib/src/misc/position.dart b/lib/src/misc/position.dart index 16c08317a..982c5c716 100644 --- a/lib/src/misc/position.dart +++ b/lib/src/misc/position.dart @@ -17,7 +17,7 @@ class MapPosition { }); @override - int get hashCode => center.hashCode + bounds.hashCode + zoom.hashCode; + int get hashCode => Object.hash(center, bounds, zoom); @override bool operator ==(Object other) =>