dart-latlong icon indicating copy to clipboard operation
dart-latlong copied to clipboard

Results 6 dart-latlong issues
Sort by recently updated
recently updated
newest added

Every time I try to instantiate an instance of LatLng using the constructor, I get "Invalid argument(s): Longitude must be between -90 and 90 degrees but was -180.00001532690865" Regardless of...

Hi Creators, Thanks for the great plugin. This is the easiest and very straight forward plugin I ever used to calculate LatLng distance. But I'v a small doubt. In Circle...

Hi @MikeMitterer, The library version 6.0.1 doesn't work with dart 2, error mesage ``` The current Dart SDK version is 2.1.0-dev.0.0.flutter-be6309690f. Because project depends on latlong >=0.1.1 =1.8.0

https://github.com/MikeMitterer/dart-latlong/blob/0325c7d911b620c4f7efe9c9136a20ea7730c837/lib/latlong/LatLng.dart#L64 Isn't this supposed to be: ```diff - String lonDirection = longitude >= 0 ? "O" : "W"; + String lonDirection = longitude >= 0 ? "E" : "W"; ```

https://github.com/MikeMitterer/dart-latlong/blob/0325c7d911b620c4f7efe9c9136a20ea7730c837/lib/latlong.dart#L92-L111 When `dec` is `53.0335` then splitting a double into two parts, that then get parsed as integers is wrong! The fractionalPart `0335` becomes an integer - 335, and then...