geos 2.0.1
geos: ^2.0.1 copied to clipboard
A set of classes useful in geographical context.
2.0.1 #
Release date: 2022-06-03.
Changed #
- [
Countryenum] In accordance with the UN decision, the name of Turkey was changed to Türkiye.
2.0.0 #
Release date: 2022-05-12.
Added #
- Breaking change. [
Placeclass] Thefactory Place.fromJson(final String json)constructor has been added. - Breaking change. [
Placeclass] Two properties have been added (double latitudeanddouble longitude) for defining the geographic location of the place. - Breaking change. [
Placeclass] ThetoJson()method was added.
Changed #
- Breaking change. Minimum Dart SDK was updated to
2.17.0. - This package no longer depends on Flutter.
- Breaking change. [
Countryenum] Thenameproperty is now the one introduced by Dart 2.17. In its place is now theenglishNameproperty. - Breaking change. [
Placeclass] Thetagsproperty is no longer aList<String>, but anSplayTreeSet<String>.
Removed #
- Breaking change. [
Countryenum] ThetoCountry()extension method on theStringclass has been removed. To create an instance of theCountryenum, use theCountry.parse(final String formattedString)constructor. - Breaking change. [
Countryenum] Thestring()extension method has been removed. - Breaking change. [
Placeclass] TheLatLng positionproperty has been removed (theLatLngclass is defined in thegoogle_maps_flutterpackage). The reason is that I preferred this package to have as few dependencies as possible.
1.3.1 #
Release date: 2021-06-19.
Added #
- [
Countryenum] Addedstring()method. - [
Countryenum] Added an extension method onStringclass in order to try to convert it to aCountryvalue.
1.3.0 #
1.2.0 #
1.1.1 #
Release date: 2021-05-06.
Changed #
- [
Placeclass] In thePlace.fromMap(Map<String, dynamic> map)constructor, theList<dynamic> map['tags']list is now castedas List<String>.
1.1.0 #
Release date: 2021-02-23.
Changed #
- Breaking change. [
Placeclass] Removedlatitudeandlongitudefields ofPlaceclass. Now the position is stored in theLatLng positionfield (LatLngis a class from google_maps_flutter package).