refactored
This commit is contained in:
parent
471dbad6aa
commit
f039d394a5
12 changed files with 29 additions and 23 deletions
11
example/map3terms_example.dart
Normal file
11
example/map3terms_example.dart
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import 'package:map3terms/map3terms.dart';
|
||||
|
||||
void main() {
|
||||
List<double> coordinate = [51.50844113, -0.116708278];
|
||||
|
||||
String words = await coordToWords(coordinate);
|
||||
print("Words: $words");
|
||||
|
||||
List<double> backToCoord = await wordsToCoord(words);
|
||||
print("Coordinates: ${backToCoord[0]}, ${backToCoord[1]}");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue