geos 2.1.2 geos: ^2.1.2 copied to clipboard
A set of classes useful in geographical context.
2.1.2 #
2.1.1 #
2.1.0 #
2.0.1 #
Release date: 2022-06-03.
Changed #
- [
Country
enum] 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. [
Place
class] Thefactory Place.fromJson(final String json)
constructor has been added. - Breaking change. [
Place
class] Two properties have been added (double latitude
anddouble longitude
) for defining the geographic location of the place. - Breaking change. [
Place
class] 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. [
Country
enum] Thename
property is now the one introduced by Dart 2.17. In its place is now theenglishName
property. - Breaking change. [
Place
class] Thetags
property is no longer aList<String>
, but anSplayTreeSet<String>
.
Removed #
- Breaking change. [
Country
enum] ThetoCountry()
extension method on theString
class has been removed. To create an instance of theCountry
enum, use theCountry.parse(final String formattedString)
constructor. - Breaking change. [
Country
enum] Thestring()
extension method has been removed. - Breaking change. [
Place
class] TheLatLng position
property has been removed (theLatLng
class is defined in thegoogle_maps_flutter
package). The reason is that I preferred this package to have as few dependencies as possible.
1.3.1 #
Release date: 2021-06-19.
Added #
- [
Country
enum] Addedstring()
method. - [
Country
enum] Added an extension method onString
class in order to try to convert it to aCountry
value.
1.3.0 #
1.2.0 #
1.1.1 #
Release date: 2021-05-06.
Changed #
- [
Place
class] 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. [
Place
class] Removedlatitude
andlongitude
fields ofPlace
class. Now the position is stored in theLatLng position
field (LatLng
is a class from google_maps_flutter package).