Releases · mapcode-foundation/mapcode-cpp
2.5.6
Improved documentation and readability.
No feature changes.
2.5.5
-
Added explanation of how to use with Swift.
-
Fixed test scripts.
2.5.4
Added encodeLatLonToSelectedMapcode as a convenience for languages that use the C library, but have difficulties dealing with multi-dimensional arrays (like Swift).
2.5.2
- Added unit test for floating point error with code "40822.schol".
- Added locale support.
- Added many languages.
- Hardened unit tests.
2.5.1
- Updated unit test to compile with plain C and added some test cases.
2.5.0
- Added support for getting territory names in English and local alphabets.
- Added much improved unit test scripts to run
gprof,valgrind, the CLang address sanitize
and compare the output of the new library with and older version.
2.4.0
- Added scripts for Korean (Choson'gul / Hangul), Burmese, Khmer, Sinhalese, Thaana (Maldivan),
Chinese (Zhuyin, Bopomofo), Tifinagh (Berber), Tamil, Amharic, Telugu, Odia, Kannada, Gujarati. - Renamed constants to more correct terms (Malay to Malayalam, Hindi to Devanagari).
- Added
getAlphabetsForTerritory(t), returning the most commonly used alphabets for territoryt. - Improved some characters for Arabic and Devanagari.
- Fixed Bengali to also support Assamese.
- Improved readability of implementation.
- Added conditional define option for
unittest:NO_POSIX_THREADS. Add-DNO_POSIX_THREADS
to your compiler command-line to not usepthreads.h, for example, on MSVC platforms. - Added conditional define option library:
NO_FAST_ENCODE. Add-DNO_FAST_ENCODEto your
compiler command-line to not use the fast encoding (default is to use fast encoding). Using
fast encoding speeds up de encoding by a factor of 2. For normal use, there is no reason not
to use fast encoding. - Added
parseMapcodeStringto get individual mapcode elements, like the territory code,
the 'proper' mapcode (without the territory and precision extension) and the precision
extension parsed from a (user) input string. - Fixed bug in
parseMapcodeStringandcompareWithMapcodeFormat.
2.3.0
2.2.2
Removed minor warnings from CLion inspections and cleaned up README files.
2.2.1
- Fixed mapcode utility.