kataho_code 0.2.0
kataho_code: ^0.2.0 copied to clipboard
Convert between coordinates, Nepal Plus Codes, and human-readable Kataho Codes.
0.2.0 #
Conversion is now bidirectional: coordinates, Plus Codes, and Kataho Codes all convert to each other.
- Added
plusCodeToArea, decoding a full Plus Code back to its bounding box and centre point — the inverse ofplusCodeFromLatLng. - Added
GeocodeRepository.resolve, which detects whether the input is a Plus Code, a Kataho Code, or a"lat,lng"pair. - Added
katahoCodeForDisplayandkatahoCodeForLatLng, plus thenumberForName/wordForName/suffixForNamereverse dataset lookups. Matching accepts Devanagari or Western digits, unpadded house numbers, and dataset hints. KatahoCodenow carrieslatitude,longitude, andformattedPlusCode.KatahoCodeBuilderacceptskatahoCodeand a free-forminputalongsideplusCodeand coordinates.
Breaking changes:
KatahoCodeCubit.resolvenow routes throughGeocodeRepository.resolverather thankatahoCodeFor, so a customGeocodeRepositorymust overrideresolveto intercept lookups.KatahoCodeUnavailable.plusCodeis renamed toinput, since it may now hold any of the three input forms.
0.1.1 #
- Added package metadata, API documentation, and a Flutter example.
0.1.0 #
- Initial public release.