Closed corepuncher closed 2 months ago
I have confirmed that this is not a problem with my particular Windows device, as I built it and sent to a friend, and it is also showing his location as 54 miles northeast of Durham, North Carolina.
flutter: Position: Latitude: 36.6674, Longitude: -78.39
Dear @corepuncher,
Can you elaborate a bit on the subject... On what windows device are you testing this. Does it have a GPS chip? What are you expecting on both locations? and what were the actual results?
Kind regards,
It appears that the issue is resolved. I am not sure what changed, but it's working again.
Please check the following before submitting a new issue.
Please select affected platform(s)
Steps to reproduce
Build a flutter app using geolocator, dart 3.4.0, and flutter 3.22 (latest updates).
It keeps putting my lat lon over in Virginia in my app. I have not changed geoloctor code in my flutter app recently.
Expected results
Should detect correct location
Actual results
Thinks I'm in Virginia.
Code sample
Code sample
```dart final position = await Geolocator.getCurrentPosition( desiredAccuracy: LocationAccuracy.medium, ); lat = double.parse(position.latitude.toStringAsFixed(3)); lon = double.parse(position.longitude.toStringAsFixed(3)); print('lat is: $lat'); print('lon is: $lon'); ```Screenshots or video
Screenshots or video demonstration
[Upload media here]Version
11.0.0, then tried 11.1.0 with same result
Flutter Doctor output
Doctor output
```console [√] Flutter (Channel stable, 3.22.0, on Microsoft Windows [Version 10.0.22621.3447], locale en-US) [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [√] Chrome - develop for the web [√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.9.6) [√] Android Studio (version 2023.2) [√] VS Code (version 1.89.1) [√] Connected device (5 available) [√] Network resources • No issues found! ```