File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed
geocoding_platform_interface Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change
1
+ ## 3.1.0
2
+
3
+ - Adds ` placemarkFromAddress ` method to the platform interface.
4
+
1
5
## 3.0.0
2
6
3
7
- ** Breaking Change** Changes to the platform interface calls, the locale is now set in a separate call.
Original file line number Diff line number Diff line change @@ -72,4 +72,17 @@ abstract class GeocodingPlatform extends PlatformInterface {
72
72
throw UnimplementedError (
73
73
'placemarkFromCoordinates() has not been implementated.' );
74
74
}
75
+
76
+ /// Returns a list of [Placemark] instances found for the supplied address.
77
+ ///
78
+ /// In most situations the returned list should only contain one entry.
79
+ /// However in some situations where the supplied address could not be
80
+ /// resolved into a single [Placemark] , multiple [Placemark] instances may be
81
+ /// returned.
82
+ Future <List <Placemark >> placemarkFromAddress (
83
+ String address,
84
+ ) {
85
+ throw UnimplementedError (
86
+ 'placemarkFromAddress() has not been implementated.' );
87
+ }
75
88
}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ description: A common platform interface for the geocoding plugin.
3
3
homepage : https://github.com/baseflow/flutter-geocoding/tree/main/geocoding_platform_interface
4
4
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
5
5
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
6
- version : 3.0 .0
6
+ version : 3.1 .0
7
7
8
8
dependencies :
9
9
flutter :
You can’t perform that action at this time.
0 commit comments