11# Mapcode Library for JavaScript
22
3- Copyright (C) 2014 Stichting Mapcode Foundation (http://www.mapcode.com )
3+ Copyright (C) 2014-2015 Stichting Mapcode Foundation (http://www.mapcode.com )
44
55----
66
77** Online documentation can be found at: http://mapcode-foundation.github.io/mapcode-js/ **
88
99If you plan to use mapcodes in HTML/Javascript extensively, you may be interested in
10- looking at running an instance of a Mapcode REST API server in your applications
11- landscape.
10+ looking at running an instance of a Mapcode REST API server in your applications
11+ landscape.
1212
13- This reduces the payload the HTML/Javascript tremendously, as the mapcode tables will
13+ This reduces the payload the HTML/Javascript tremendously, as the mapcode tables will
1414not need to be transported to the client.
1515
1616You can find the Mapcode REST API sources, ready to be deployed on any JVM server,
1717like Tomcat or Jetty, on: ** https://github.com/mapcode-foundation/mapcode-rest-service **
1818
19-
20- ## License
19+ # License
2120
2221Licensed under the Apache License, Version 2.0 (the "License");
2322you may not use this file except in compliance with the License.
@@ -34,40 +33,38 @@ limitations under the License.
3433Original C library created by Pieter Geelen. Work on Java version
3534of the Mapcode library by Rijn Buve and Matthew Lowden.
3635
37- ## Javascript Files for Mapcode Support
36+ # Javascript Files for Mapcode Support
3837
3938 mapcode.js - Key routines for mapcode support
4039 ndata.js - Data table for mapcode support
4140
4241 sample.html - Sample code to interpret / generate mapcodes
4342 ctrynams.js - Optional js array with the names of territories (in English)
4443
45- ## Version History
44+ # Version History
4645
47- * July 2015
46+ * 2.0.1 - August 2015
4847
49- * 2.0.0
48+ Minor fixes.
5049
51- Fixes to the data rectangles (primarily intended for ISO proposal), see Word document for details.
50+ * 2.0.0 - July 2015
5251
53- * June 2015
52+ Fixes to the data rectangles (primarily intended for ISO proposal), see Word document for details.
5453
55- * 1.54
54+ * 1.54 - June 2015
5655
5756 Removed unneeded mminfo flags (no effect on functionality).
5857
59- * May 2015
58+ * 1.50.3 - May 2015
6059
61- * 1.50.3
62-
6360 Redesign of the API to conform to Javascript standards and match the Java implementation of the mapcode system
6461
65- * 1.50.1
66-
62+ * 1.50.1 - May 2015
63+
6764 Bugfix for mapcodes in IN-DD (in India).
6865
69- * 1.50
70-
66+ * 1.50 - May 2015
67+
7168 Major release. This version is not backwards compatible with mapcode 1.4x: is has dropped support for
7269 Antartica AT0-8 codes and has a changed (improved) way of dealing with the Greek alphabet.
7370
@@ -77,51 +74,43 @@ of the Mapcode library by Rijn Buve and Matthew Lowden.
7774
7875 Retired legacy Antarctica claims AT0 through AT8.
7976
80- * January 2015
77+ * 1.41 - January 2015
8178
82- * 1.41
83-
8479 Added the India state Telangana (IN-TG), until 2014 a region in Adhra Pradesh.
8580
86- * August 2014
81+ * 1.33 - August 2014
8782
88- * 1.33
89-
9083 Normalise results when longitude below -180 degrees.
9184
92- * 1.32
93-
85+ * 1.32 - August 2014
86+
9487 Prevent FIJI failing to decode at exactly 180 degrees; prevent invalid filtering near the territory bounding rectangle.
9588
96- * April 2014
89+ * 1.31 - April 2014
9790
98- * 1.31
99-
10091 Make iso2ccode() even more forgiving by allowing a state alias to be recognized in context.
10192
102- * 1.3
103-
93+ * 1.3 - April 2014
94+
10495 Disable 7-char state codes for large states in India, and instead generate country mapcodes for states.
10596
106- * 1.28
107-
97+ * 1.28 - April 2014
98+
10899 Fix for starpipe "zoning" error, causing the last 2 mapcode characters to be ignored in certain areas.
109100
110- * 1.27
111-
101+ * 1.27 - April 2014
102+
112103 Support undefined ranges in data array (useful for partial JavaScript builds).
113104
114- * May 2013
105+ * 1.26 - May 2013
115106
116- * 1.26
117-
118107 Added alias OD for India, and 2.3 code for Daman and Diu.
119108
120- * 1.25
121-
109+ * 1.25 - May 2013
110+
122111 Ccode2iso(c,2) support added.
123112
124- * 1.24
125-
113+ * 1.24 - May 2013
114+
126115 Public domain release.
127116
0 commit comments