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+
15## 3.0.0
26
37- ** 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 {
7272 throw UnimplementedError (
7373 'placemarkFromCoordinates() has not been implementated.' );
7474 }
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+ }
7588}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ description: A common platform interface for the geocoding plugin.
33homepage : https://github.com/baseflow/flutter-geocoding/tree/main/geocoding_platform_interface
44# NOTE: We strongly prefer non-breaking changes, even at the expense of a
55# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
6- version : 3.0 .0
6+ version : 3.1 .0
77
88dependencies :
99 flutter :
You can’t perform that action at this time.
0 commit comments