h3_core 1.0.2
h3_core: ^1.0.2 copied to clipboard
Dart/Flutter bindings for the H3 geospatial indexing library. Uses dart:ffi on native platforms, h3-js on web.
1.0.2 #
- Fix Windows build: add
BUILD_SHARED_LIBSandBUILDING_H3defines for DLL symbol export - Fix Windows build: skip
libmlinking (math is part of the C runtime on Windows) - Remove deprecated
avoid_returning_null_for_futurelint rule - Add CI/CD: automated testing on Linux, macOS, Windows, and Chrome
- Add automated publishing to pub.dev via GitHub Actions OIDC
1.0.1 #
- Web support via h3-js and
dart:js_interop H3Indexchanged from int-backed to String-backed to avoid JS number precision loss- Same public API on all platforms (conditional export: FFI on native, h3-js on web)
getIndexDigit/constructCelluse BigInt on web for 64-bit precision
1.0.0 #
- Initial release wrapping H3 v4.4.1
- Full H3 API: indexing, inspection, traversal, hierarchy, edges, vertices, measurements, regions, coordinates
- Native compilation via Build Hooks for Android, iOS, macOS, Linux, Windows
- Auto-generated FFI bindings via ffigen 20.x
- Async wrappers for heavy operations (polygonToCells, gridDisk, compact/uncompact)