Java

Java source code for the mapcode system

The following libraries (freely distributed under our general terms of use) convert between mapcodes and coordinates anywhere on Earth.

Get it on Github

The source code for Mapcode is found at:
https://github.com/mapcode-foundation/mapcode-java
You can also enter issues or change requests for the library here.

You might also want to have a look at the Java example code at:
https://github.com/mapcode-foundation/mapcode-java-example

And the online documentation for the Java library can be found here:
http://mapcode-foundation.github.io/mapcode-java/

Share your Mapcode project with us!

Please keep me informed

Terms of use

Our mapcode source code is released Apache License Version 2.0. The mapcode algorithms and data tables may not be altered in any way that would result in the production of different (and thus incompatible) mapcodes. The mapcode algorithms and data tables may not be used in any way to generate a different system that produces codes to represent locations. In order to prevent misuse, unauthorised alterations, copying or commercial exploitation, please note that the ideas and algorithms behind the mapcode system have been patented and that the term “mapcode” is a registered trademark of the Mapcode Foundation.