-
-
Save sbis04/76dbe3ef7e25a4cecb5cdcf96d8f3209 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Getting the placemarks | |
List<Placemark> startPlacemark = | |
await _geolocator.placemarkFromAddress(_startAddress); | |
List<Placemark> destinationPlacemark = | |
await _geolocator.placemarkFromAddress(_destinationAddress); | |
// Retrieving coordinates | |
Position startCoordinates = startPlacemark[0].position; | |
Position destinationCoordinates = destinationPlacemark[0].position; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment