Skip to content
This repository has been archived by the owner on Jul 11, 2019. It is now read-only.

Fixed longitude out of bounds message #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/latlong/LatLng.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down