From b99ff123871dc46cb1551311abc9eba0cb1162f8 Mon Sep 17 00:00:00 2001 From: Chris Fraser Date: Mon, 26 Nov 2018 08:43:29 +0200 Subject: [PATCH] Fixed longitude out of bounds message --- lib/latlong/LatLng.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/latlong/LatLng.dart b/lib/latlong/LatLng.dart index 2c4986a..1262a9e 100644 --- a/lib/latlong/LatLng.dart +++ b/lib/latlong/LatLng.dart @@ -41,7 +41,7 @@ class LatLng { double get latitude => _latitude; void set longitude(final double value) { - Validate.inclusiveBetween(-180.0,180.0,_longitude,"Longitude must be between -90 and 90 degrees but was $_longitude"); + Validate.inclusiveBetween(-180.0,180.0,_longitude,"Longitude must be between -180 and 180 degrees but was $_longitude"); _longitude = value; } double get longitude => _longitude;