GTA 6 came out on 19 November 2026, and within hours players were finding bunker codes, hidden Easter eggs and secret cars all over Leonida. I wanted one place where every find gets a pin on the real map and a full answer page. So I built Leonida Players, a GTA 6 wiki, map and guide site. This post covers how the interactive GTA 6 map works, since that was the most fun part to build.

The stack

  • Next.js 16 (App Router, server rendering) with React 19 and TypeScript
  • Postgres 17 with Drizzle ORM (PGlite for local dev and tests, so no Docker on my PC)
  • Leaflet for the map
  • sharp for image processing and map tiles
  • Cloudflare in front, caching public HTML for signed-out visitors

Turning a poster into a slippy map

Rockstar released an official printable map of Leonida. It's one big image, not a world with GPS coordinates. Leaflet normally expects latitude and longitude, but it also has CRS.Simple, which treats the map as a flat picture with plain x/y pixels.

So the pipeline is:

  1. Take the poster image (5775 × 7900 pixels).
  2. Cut it into 256×256 WebP tiles at zoom levels 0 to 5 with sharp, where zoom 5 is full resolution.
  3. Serve the tiles as static files from /map-tiles/{z}/{y}/{x}.webp with long cache headers.
  4. Point a Leaflet TileLayer at them under CRS.Simple.
const m = L.map(el, { crs: L.CRS.Simple, minZoom: 0, maxZoom: 6, zoomSnap: 0.25 }); L.tileLayer('/map-tiles/{z}/{y}/{x}.webp', { tileSize: 256, noWrap: true, bounds, maxNativeZoom: 5, }).addTo(m); m.fitBounds(bounds); 

A coordinate system that survives re-tiling

I didn't want pins stored in pixels, because pixels change if the tiles are ever rebuilt at a different size. Every pin is stored as 0 to 1000 on each axis of the poster instead. A small helper turns that into Leaflet's space:

// zoom 5 = full resolution, so scale the 0-1000 grid down by 2^5 const kx = 5775 / 1000 / 2 ** 5; const ky = 7900 / 1000 / 2 ** 5; const toLatLng = (x: number, y: number) => [-y * ky, x * kx]; // y runs down, lat runs up 

Editors and members can place a pin without knowing anything about tiles, and the same numbers work on the full map and on the small mini-maps shown on each wiki page.

Being honest about precision

Players often know a secret is "somewhere in the Keys" before anyone has the exact spot. Each pin therefore has a precision level:

  • exact: the spot itself
  • approximate: within a short drive
  • region: placed in the right region, with the route on the linked page
  • illustrative: shows the area, not a spot

Anything that isn't exact gets a dashed outline on the map, so nobody mistakes a regional pin for an exact spot. Each pin also has a short provenance note saying how it was found.

Every pin is a full page

A pin on its own isn't an answer. Each one links to a wiki entry (a vehicle, collectible, secret, business or region) with the steps, rewards, tips and the player clip that proves it. Wiki entries show a mini-map of their own pin, and the first mention of any other wiki name in the text links to that entry automatically. That builds a dense internal-link web, which helps readers and search engines move around the site.

Open data

I published the current pins as open data on GitHub: gta6-map-data. That's 109 pins as JSON and CSV, with category, region, x/y on the 0–1000 grid, precision and a link to the full page. Use it for your own GTA 6 tools or mods; just credit the site.

What's next

Member-submitted pins with review, more mission pages and a patch-notes tracker. If you're building something for GTA 6 too, I'd love to see it.

Leonida Players is an unofficial fan project, not affiliated with Rockstar Games.