Files
TarkovMaps/maps.json
T
Claude e656c7c96a Lift the focused map above overlapping neighbours; tilt to 35 degrees
Placements are approximate, so map rectangles overlap where the real
locations do not -- Reserve clips Customs, Lighthouse clipped Shoreline.
Sampling the rendered tiles showed the stacking was technically fine
(finer map always on top) but that did not help: an overlapping neighbour
still covered the map you had navigated to.

Stacking is now explicit. Baseline order is by maxNativeZoom then footprint
so the finer map wins, and whichever map the view is centred on is lifted
above everything else. Verified for Shoreline, Lighthouse, Customs, Reserve
and Woods: each becomes topmost when centred.

Tilt raised 31 -> 35 degrees. The original 31 came from fitting the Customs
zone outline's aspect ratio, but that polygon encloses more than the
playable strip so the estimate ran low; attempts to register the two
polygons directly failed because the dashed outline will not flood-fill.
35 aligns better by eye.

`place` lives in the rotated frame, so retilt.py converts every placement
through the old and new angles -- changing the tilt no longer scatters the
maps. Lighthouse's box also tightened; its PSD is nearly square while the
zone is a coastal strip, so it overhung into the sea.

Verified zoom 0-9: 620 tiles, zero broken.

Co-Authored-By: Claude Opus 5 <[email protected]>
2026-08-08 11:37:15 -07:00

153 lines
3.6 KiB
JSON

{
"$comment": "Single source of truth for the whole build. See docs/adding-a-map.md.",
"tileSize": 256,
"maxZoom": 9,
"attribution": "Maps by <a href=\"https://re3mr.com\" target=\"_blank\" rel=\"noopener\">re3mr.com</a> &middot; CC BY-NC-SA 4.0",
"$comment_world": "The overall map is the base everything else sits on. It is rotated by `rotate` degrees (counter-clockwise) to put north at the top; 31 deg was measured from the Customs zone outline, whose detail map is north-up and 2.6:1 east-west. `overallScale` is world pixels per overall-map pixel, set so Customs lands at its native 7832 px.",
"world": {
"image": "sources/overall/overall.jpeg",
"rotate": 35.0,
"overallScale": 64
},
"$comment_place": "`place` is in ROTATED overall-map pixels (the north-up image, which is what tools/place_preview.py draws a grid over): cx/cy = centre, w = width. Positions are deliberately approximate -- the game's maps do not tile exactly onto the satellite view.",
"maps": [
{
"id": "customs",
"name": "Customs",
"psd": "sources/customs/customs.psd",
"baseLayers": [
"LOCATION"
],
"excludeLayers": [
"Map Borders"
],
"crop": [
0,
860,
7832,
3875
],
"pxPerMeter": 7.39,
"place": {
"cx": 970,
"cy": 969,
"w": 265
}
},
{
"id": "customs-dorms",
"name": "Customs — Dorms",
"psd": "sources/customs/customs-dorms.psd",
"baseLayers": [
"LOCATION"
],
"crop": null,
"place": {
"cx": 1020,
"cy": 996,
"w": 70
}
},
{
"id": "woods",
"name": "Woods",
"psd": "sources/woods/woods.psd",
"baseLayers": [
"re3mr.com/Map&Art/Map&OverlayArt/RawMapLayer",
"re3mr.com/Map&Art/Map&OverlayArt/WaterDetail"
],
"crop": null,
"place": {
"cx": 814,
"cy": 672,
"w": 380
}
},
{
"id": "interchange",
"name": "Interchange",
"psd": "sources/interchange/interchange.psd",
"baseLayers": [
"3DRENDER"
],
"crop": null,
"place": {
"cx": 1143,
"cy": 872,
"w": 95
}
},
{
"id": "reserve",
"name": "Reserve",
"psd": "sources/reserve/reserve.psd",
"baseLayers": [
"Day copy"
],
"crop": null,
"place": {
"cx": 792,
"cy": 1044,
"w": 140
}
},
{
"id": "shoreline",
"name": "Shoreline",
"psd": "sources/shoreline/shoreline.psd",
"baseLayers": [
"Baselayer"
],
"crop": null,
"place": {
"cx": 771,
"cy": 1246,
"w": 380
}
},
{
"id": "shoreline-resort",
"name": "Shoreline — Resort",
"psd": "sources/shoreline-resort/shoreline-resort.psd",
"baseLayers": [
"BGCOLOR PATTERN",
"BASEMAP+2DLAYERS"
],
"crop": null,
"place": {
"cx": 693,
"cy": 1204,
"w": 130
}
},
{
"id": "lighthouse",
"name": "Lighthouse",
"psd": "sources/lighthouse/lighthouse.psd",
"baseLayers": [
"Day"
],
"crop": null,
"place": {
"cx": 565,
"cy": 1085,
"w": 275
}
},
{
"id": "streets",
"name": "Streets of Tarkov",
"psd": "sources/streets/streets.psd",
"baseLayers": [
"Map - 3D map portion at the bottom [Update this when new basemap available]"
],
"crop": null,
"place": {
"cx": 1111,
"cy": 443,
"w": 110
}
}
]
}