Skip to content

Releases: mapcode-foundation/mapcode-js

2.4.2

01 May 15:01
Compare
Choose a tag to compare
  • Fixed bug in getTerritoryAlphaCode when getting the shortest unambiguous code for US-CA,
    which is CA, not US-CA.

  • Replaced n with short, removed obsolete parent.

2.4.1

01 May 12:05
Compare
Choose a tag to compare
  • Fixed bug in getTerritoryAlphaCode when getting the shortest unambiguous code for US-CA,
    which is CA, not US-CA.

2.4.0

25 Oct 13:42
Compare
Choose a tag to compare

Added scripts for Korean (Choson'gul / Hangul), Burmese, Khmer, Sinhalese, Thaana (Maldivan),
Chinese (Zhuyin, Bopomofo), Tifinagh (Berber), Tamil, Amharic, Telugu, Odia, Kannada, Gujarati.

Renamed language strings to more correct terms (Malay to Malayalam; Hindi to Devanagari).

Added var alphabetsForTerritory[t], returning the most commonly used alphabets for territory t.

Improved some characters for Arabic and Devanagari.

Fixed Bengali to also support Assamese.

For some alphabets, removed recognition of letters I and/or O unless looking like digits 1 and/or 0.

Replaced internal encoded entity_iso[] array by non-encoded iso3166alpha[].

2.3.0

02 Oct 15:58
Compare
Choose a tag to compare

Added Arabic support.

2.2.2

12 Oct 08:43
Compare
Choose a tag to compare
  • Cleaned up unit tests.

2.2.1

29 Sep 12:04
Compare
Choose a tag to compare
v2.2.1

2.2.1 updated documentation

2.2.0

07 Sep 18:46
Compare
Choose a tag to compare

Solved 1-microdegree gap in a few spots on Earth, noticable now that extreme precision is possible

2.1.5

03 Sep 14:27
Compare
Choose a tag to compare
  • Added DistanceInMeters and maxErrorInMeters to API;
  • Enforce encode(decode(m))=m except near territory borders;
  • Stricter unit tests.

2.1.1

27 Aug 09:20
Compare
Choose a tag to compare

Added useful routine DistanceInMeters to API

2.1.0

24 Aug 20:58
Compare
Choose a tag to compare
  • Rewrote fraction floating points to integer arithmetic
  • Added unittest\unittest.html to test the library