h3_web 0.6.1 h3_web: ^0.6.1 copied to clipboard
The package provides Dart version of the H3 Core library, a hexagon-based geographic grid system
0.6.1 #
- Fix web setup readme.
- Fix web example
- Fix web test
- Add holes support to
polyfill
function - Update dependencies (incl.
h3_common
v6.0.1 and others)
0.6.0 #
- Split
h3_dart
library into 5 libraries -h3_dart
,h3_ffi
,h3_web
,h3_common
,geojson2h3
- Use
BigInt
instead ofint
for h3 indexes due toweb
specific. - Web support added to
h3_dart
andh3_flutter
0.5.2 #
- Update README.md and tests
0.5.1 #
- Update README.md
0.5.0 #
- Split
h3_flutter
library into 2 libraries -h3_flutter
andh3_dart
for pure-dart projects. - [BREAKING] remove
h3
andgeojson2H3
singletones.
To access h3 you should useH3Factory().load()
if you useh3_flutter
andH3Factory().byPath(...)
orH3Factory().byDynamicLibary(...)
if you useh3_dart
- Add
GeoCoordRadians
to allow to specify coordinates in radians.
GeoCoordRadians
must be converted toGeoCoord
using.toDegrees(converter)
method before you can use it in h3 or geojson2h3 methods. - Add option to convert
GeoCoord
toGeoCoordRadians
via.toRadians(converter)
method - Add AngleConverter and GeoCoordConverter classes to convert between radians and degrees.
AngleConverter is abstract, but has two implementations - H3AngleConverter and NativeAngleConverter - Add tests on windows, linux, flutter stable and dev.
- Add integration tests for
h3_flutter
built for macos - CI/CD improvements - more checks, automatic publishing
0.4.2 #
- Fix
CoordIJ.toString()
output - Change
CoordIJ.hashCode
to generate more unique hashcode - Fix
GeoCoord.toString()
output - Change
GeoCoord.hashCode
to generate more unique hashcode - Add world-wrapping feature to
GeoCoord()
constructor geojson2h3.h3ToFeature
andgeojson2h3.h3SetToFeatureCollection
now adds'properties': {}
to output when properties not set. To make the behaviour closer to JS version of the library- Change type for
properties
parameter ingeojson2h3.h3SetToFeatureCollection
function. Now it accepts Function() instead of Map - Rename
h3_flutter_test.dart
toh3_test.dart
- Add tests for following methods:
geojson2h3.h3ToFeature
geojson2h3.h3SetToFeatureCollection
CoordIJ.==
CoordIJ.hashCode
CoordIJ.toString
GeoCoord.==
GeoCoord.hashCode
GeoCoord.toString
GeoCoord() (World-Wrapping)
H3Exception.toString
0.4.1 #
- Fix
h3.getH3UnidirectionalEdgesFromHexagon
method - now it returns 5 elements for pentagon. - Fix
h3.h3Line
method - now it throwsH3Exception
instead of some internal when input is not valid. - Update README.md.
- Update documentation for methods
h3.h3ToParent
,h3.h3ToCenterChild
,h3.getH3UnidirectionalEdge
,h3.getOriginH3IndexFromUnidirectionalEdge
,h3.getDestinationH3IndexFromUnidirectionalEdge
,h3.h3Distance
. - Add tests for following methods:
h3.h3IndexesAreNeighbors
h3.getH3UnidirectionalEdge
h3.getOriginH3IndexFromUnidirectionalEdge
h3.getDestinationH3IndexFromUnidirectionalEdge
h3.h3UnidirectionalEdgeIsValid
h3.getH3UnidirectionalEdgesFromHexagon
h3.getH3UnidirectionalEdgeBoundary
h3.h3Distance
h3.h3Line
h3.experimentalH3ToLocalIj
h3.experimentalLocalIjToH3
h3.hexArea
h3.edgeLength
h3.cellArea
h3.pointDist
h3.numHexagons
h3.getRes0Indexes
h3.getPentagonIndexes
0.4.0 #
- [BREAKING] Change return types for
h3.h3IsPentagon
and h3IsResClassIII methods from [int] to [bool] - Fix broken
h3.h3GetFaces
method - Add
h3.h3ToParent
andh3.h3ToChildren
methods - Add tests for following methods:
h3.h3IsPentagon
h3.h3IsResClassIII
h3.h3GetFaces
h3.h3GetBaseCell
h3.h3ToParent
h3.h3ToChildren
h3.h3ToCenterChild
0.3.0 #
- [BREAKING] resolution assert was added to
h3.polyfill
function. CoordIJ
class was addedH3Exception
class was addedH3Units
,H3AreaUnits
,H3EdgeLengthUnits
enums were added- Freeing allocated memory added
h3.h3IsValid
was addedh3.h3IsPentagon
was addedh3.h3IsResClassIII
was addedh3.h3GetBaseCell
was addedh3.h3GetFaces
was addedh3.h3GetResolution
was addedh3.geoToH3
was addedh3.h3ToGeo
was addedh3.kRing
was addedh3.hexRing
was addedh3.compact
was addedh3.uncompact
was addedh3.h3IndexesAreNeighbors
was addedh3.getH3UnidirectionalEdge
was addedh3.getOriginH3IndexFromUnidirectionalEdge
was addedh3.getDestinationH3IndexFromUnidirectionalEdge
was addedh3.h3UnidirectionalEdgeIsValid
was addedh3.getH3IndexesFromUnidirectionalEdge
was addedh3.getH3UnidirectionalEdgesFromHexagon
was addedh3.getH3UnidirectionalEdgeBoundary
was addedh3.h3Distance
was addedh3.h3Line
was addedh3.experimentalH3ToLocalIj
was addedh3.experimentalLocalIjToH3
was addedh3.pointDist
was addedh3.cellArea
was addedh3.exactEdgeLength
was addedh3.hexArea
was addedh3.edgeLength
was addedh3.numHexagons
was addedh3.getRes0Indexes
was addedh3.getPentagonIndexes
was added
0.2.1 #
- Fix build errors
0.2.0 #
- macOS system support was added
- Tests were added
- Documentation was added
h3.maxPolyfillSize
was removed
0.1.0 #
h3.maxPolyfillSize
was addedh3.polyfill
was addedh3.h3ToGeoBoundary
was addedh3.radsToDegs
was addedh3.degsToRads
was addedgeojson2h3.h3ToFeature
was addedgeojson2h3.h3SetToFeatureCollection
was added
0.1.0 #
- First version