File tree Expand file tree Collapse file tree 3 files changed +11
-14
lines changed Expand file tree Collapse file tree 3 files changed +11
-14
lines changed Original file line number Diff line number Diff line change
1
+ ## 2.2.2
2
+
3
+ - Updates documentation for isPresent().
4
+ - Removes unused ` LocaleIdentifier ` parameter for isPresent().
5
+
1
6
## 2.2.1+1
2
7
3
8
- Reverts changes from version ` 2.2.1 ` , ` 2.2.1 ` should not be used. Use either version ` 2.2.1+1 ` or ` 3.0.0 ` .
Original file line number Diff line number Diff line change @@ -45,18 +45,10 @@ Future<List<Placemark>> placemarkFromCoordinates(
45
45
longitude,
46
46
);
47
47
48
- /// Returns a list of [Location] instances found for the supplied address.
48
+ /// Returns true if there is a geocoder implementation present that may return results.
49
+ /// If true, there is still no guarantee that any individual geocoding attempt will succeed.
49
50
///
50
- /// In most situations the returned list should only contain one entry.
51
- /// However in some situations where the supplied address could not be
52
- /// resolved into a single [Location] , multiple [Location] instances may be
53
- /// returned.
54
51
///
55
- /// Optionally you can specify a locale in which the results are returned.
56
- /// When not supplied the currently active locale of the device will be used.
57
- /// The `localeIdentifier` should be formatted using the syntax:
58
- /// [languageCode] _[countryCode] (eg. en_US or nl_NL).
59
- Future <bool > isPresent ({
60
- String ? localeIdentifier,
61
- }) =>
62
- GeocodingPlatform .instance! .isPresent ();
52
+ /// This method is only implemented on Android, calling this on iOS always
53
+ /// returns [true] .
54
+ Future <bool > isPresent () => GeocodingPlatform .instance! .isPresent ();
Original file line number Diff line number Diff line change 1
1
name : geocoding
2
2
description : A Flutter Geocoding plugin which provides easy geocoding and reverse-geocoding features.
3
- version : 2.2.1+1
3
+ version : 2.2.2
4
4
repository : https://github.com/baseflow/flutter-geocoding/tree/main/geocoding
5
5
issue_tracker : https://github.com/Baseflow/flutter-geocoding/issues
6
6
You can’t perform that action at this time.
0 commit comments