Open the map

Builders and packages

Developers

Every 3 m cell on Earth has four words. Put them in an address field, a dataset or a map of your own. The core runs offline and the spec is open.

per cell
3 m
words
4,096
licence
MIT
Cell explorer9.05786, 7.49509

default.jargon.ninja.patient

Short code
1WTYV9REM1T
Cell
333854:274662

Drag, tap or use the arrow keys. Each square is 3 m.

default.jargon.ninja.patient 1WTYV9REM1T

Packages

Install

One frozen spec, three packages. The grid, the address format and the word list ship together, so every language returns the same words for the same cell.

  • npm
    npm install address-block

    Node 22 and newer.

  • pub.dev
    dart pub add address_block

    Dart 3.4 and newer.

  • Go
    go get github.com/mcchukwu/address-block/spec

    Go 1.22 and newer.

quick-start.js
import { cellIdFor, encodeCellAddress } from "address-block";

const cell = cellIdFor({ lat: 9.05785, lng: 7.49508 });
const { words, base32 } = encodeCellAddress(cell);

console.log(words.join(" "), base32);

Output

default jargon ninja patient 1WTYV9REM1T

Four words and an eleven character short code. Both decode back to the same cell.

Picker

Self-host the picker

The picker is part of this open app. Deploy your own copy, use your own Maps key and point the script at your domain. The loader is under 2 KB, needs no build step and loads nothing from this site.

embed.html
<script
  src="https://your-domain.example/embed.js"
  data-target="#address"
  data-container="#picker"
></script>
listen
const picker = document.querySelector("#picker");

picker.addEventListener("address-block:change", (event) => {
  document.querySelector("#selected").textContent =
    event.detail.address;
});
  1. 01

    Deploy this app

    Run the repository on your domain. The picker, the map and the spec are all in it.

  2. 02

    Use your Maps key

    Set VITE_MAPS_API_KEY and the light and dark map IDs. Map loads use your Google Cloud quota.

  3. 03

    Point the snippet at your domain

    Replace the example origin with your domain. The host page gets the iframe and the selected four words.

The contract

Frozen, versioned and open.

The grid and the address format are written down with shared test vectors. If your implementation returns the same words for the same cell, it speaks the spec. Read it, port it, or build on the TypeScript, Go and Dart packages.

Grid
grid-2
Address
cell-address-2
Licence
MIT

Talk to us

Tell us what you need to build.

An address field, a dataset, another language or an integration. The link opens your mail app with the subject filled in. There is no form and no signup, so nothing leaves your device until you send the mail.

Tell us what you need

Or write to [email protected].