Add per-map editable markers and backups

This commit is contained in:
lucio committed 2026-08-08 22:03:49 -07:00
1 parent e71447da5d
commit bbb4cadddd
23 files changed
+11090 -129

No files matched your search

+803 -42
View File
@@ -95,14 +95,14 @@ function readHash() {
}
async function main() {
const [world, markerData] = await Promise.all([
const [world, markerConfig] = await Promise.all([
fetch('data/world.json', { cache: 'no-cache' }).then((r) => {
if (!r.ok) throw new Error(`world.json: ${r.status}`);
return r.json();
}),
fetch('data/markers.json', { cache: 'no-cache' })
.then((r) => (r.ok ? r.json() : { markers: [] }))
.catch(() => ({ markers: [] })),
fetch('data/marker-config.json', { cache: 'no-cache' })
.then((r) => (r.ok ? r.json() : { defaults: {}, groups: [], categories: {} }))
.catch(() => ({ defaults: {}, groups: [], categories: {} })),
]);
if (!world.maps.length) throw new Error('world.json contains no maps');
@@ -328,55 +328,469 @@ async function main() {
// --- semantic PSD markers --------------------------------------------
const markerPane = map.createPane('semantic-markers');
markerPane.style.zIndex = '900';
markerPane.style.pointerEvents = 'none';
const markerLayer = L.layerGroup();
const markerLayersByMap = new Map();
const markerSymbols = {
'extract-pmc': '↗', 'extract-scav': '↗', 'extract-neutral': '↗',
'extract-hidden': '↗', transit: 'T', spawn: 'P', scav: 'S', boss: 'B',
cultist: 'C', sniper: '△', cache: '◇', key: 'K', loot: 'L', hazard: '!',
quest: '?', location: '•', poi: '•',
};
const escapeHTML = (value) => String(value ?? '').replace(
/[&<>"']/g, (char) => ({ '&': '&amp;', '<': '&lt;', '>': '&gt;', '"': '&quot;', "'": '&#39;' }[char]),
);
const markerMaps = new Map(world.maps.map((m) => [m.id, m]));
for (const marker of markerData.markers ?? []) {
const markerDefaults = {
color: '#5d6876', size: 18, symbol: '•', displayText: false,
defaultVisible: true, labelMinZoom: 6, extractLabelMinZoom: 2,
gridSize: 2048, viewportPadding: 0.15,
...(markerConfig.defaults ?? {}),
};
const extractCategories = new Set([
'extract-pmc', 'extract-scav', 'extract-neutral', 'extract-hidden', 'transit',
]);
const markerVisibilityVersion = Number(markerConfig.visibilityVersion) || 1;
const categoryStorageKey = (category) => (
`tarkov-marker-v${markerVisibilityVersion}-category-${category}`
);
const categoryConfig = (category) => ({
...markerDefaults,
...(markerConfig.categories?.[category] ?? {}),
});
const safeColor = (value) => (
typeof value === 'string' && CSS.supports('color', value) ? value : markerDefaults.color
);
const safeSize = (value) => Math.max(8, Math.min(40, Number(value) || markerDefaults.size));
const gridSize = Math.max(256, Number(markerDefaults.gridSize) || 2048);
const markerIndex = new Map();
const markerCounts = new Map();
const markerRecords = new Map();
const categoryCountNodes = new Map();
const markerEditing = {
active: false,
selectedMapId: null,
selectedMarkerId: null,
dropping: false,
draft: null,
draftMarker: null,
};
let selectEditableMarker = () => {};
let saveDraggedMarker = () => {};
// World-space grid index: panning queries only intersecting cells rather
// than scanning or instantiating all PSD records.
const indexMarker = (marker) => {
const m = markerMaps.get(marker.mapId);
if (!m || !Number.isFinite(marker.x) || !Number.isFinite(marker.y)) continue;
if (!m || !Number.isFinite(marker.x) || !Number.isFinite(marker.y)) return null;
const category = String(marker.category || 'poi').replace(/[^a-z0-9-]/gi, '');
const label = marker.label || category.replaceAll('-', ' ');
const icon = L.divIcon({
className: `poi-icon marker-${category}`,
iconSize: [18, 18],
iconAnchor: [9, 9],
html: '<span class="poi-content" aria-hidden="true">'
+ `<span class="poi-dot">${escapeHTML(markerSymbols[category] ?? '•')}</span>`
+ `<span class="poi-label">${escapeHTML(label)}</span></span>`,
});
if (!markerLayersByMap.has(m.id)) markerLayersByMap.set(m.id, L.layerGroup());
L.marker([
m.origin[1] + marker.y * m.size[1],
m.origin[0] + marker.x * m.size[0],
], { icon, pane: 'semantic-markers', interactive: false, keyboard: false })
.addTo(markerLayersByMap.get(m.id));
const record = {
...marker,
category,
worldX: m.origin[0] + marker.x * m.size[0],
worldY: m.origin[1] + marker.y * m.size[1],
mapName: m.name,
};
markerRecords.set(record.id, record);
if (!markerIndex.has(m.id)) markerIndex.set(m.id, new Map());
const cell = `${Math.floor(record.worldX / gridSize)},${Math.floor(record.worldY / gridSize)}`;
const cells = markerIndex.get(m.id);
if (!cells.has(cell)) cells.set(cell, []);
cells.get(cell).push(record);
markerCounts.set(category, (markerCounts.get(category) ?? 0) + 1);
return record;
};
const removeIndexedMarker = (id) => {
const record = markerRecords.get(id);
if (!record) return;
const cell = `${Math.floor(record.worldX / gridSize)},${Math.floor(record.worldY / gridSize)}`;
const cells = markerIndex.get(record.mapId);
const records = cells?.get(cell);
if (records) {
const index = records.findIndex((item) => item.id === id);
if (index >= 0) records.splice(index, 1);
if (!records.length) cells.delete(cell);
}
markerRecords.delete(id);
markerCounts.set(record.category, Math.max(0, (markerCounts.get(record.category) ?? 1) - 1));
const rendered = renderedMarkers?.get(id);
if (rendered) {
markerLayer.removeLayer(rendered);
renderedMarkers.delete(id);
}
};
const loadedMarkerMaps = new Map();
const markerMapRequests = new Map();
let activeMarkerMapIds = new Set();
const fetchMarkerMap = (mapId) => {
if (markerMapRequests.has(mapId)) return markerMapRequests.get(mapId);
const request = Promise.all([
fetch(`data/markers/${encodeURIComponent(mapId)}.json`, { cache: 'no-cache' })
.then((response) => {
if (response.status === 404) return { markers: [] };
if (!response.ok) throw new Error(`${mapId} markers: ${response.status}`);
return response.json();
}),
fetch(`data/marker-edits/${encodeURIComponent(mapId)}.json`, { cache: 'no-cache' })
.then((response) => {
if (response.status === 404) return { overrides: {}, added: [] };
if (!response.ok) throw new Error(`${mapId} marker edits: ${response.status}`);
return response.json();
}),
]).then(([raw, edits]) => {
const overrides = edits.overrides ?? {};
const deleted = new Set(edits.deleted ?? []);
const markers = (raw.markers ?? [])
.filter((marker) => !deleted.has(marker.id))
.map((marker) => ({
...marker,
...(overrides[marker.id] ?? {}),
}));
const ids = new Set(markers.map((marker) => marker.id));
markers.push(...(edits.added ?? []).filter((marker) => !ids.has(marker.id)));
return markers;
}).finally(() => markerMapRequests.delete(mapId));
markerMapRequests.set(mapId, request);
return request;
};
const categoryVisible = new Map();
const allCategories = new Set([
...Object.keys(markerConfig.categories ?? {}),
...markerCounts.keys(),
]);
for (const category of allCategories) {
const stored = localStorage.getItem(categoryStorageKey(category));
categoryVisible.set(category, stored === null
? categoryConfig(category).defaultVisible !== false : stored !== 'false');
}
markerLayersByMap.forEach((layer) => markerLayer.addLayer(layer));
updateMarkerFocus = (mapIds) => {
const visible = new Set(mapIds);
markerLayersByMap.forEach((layer, mapId) => {
if (!visible.size || visible.has(mapId)) markerLayer.addLayer(layer);
else markerLayer.removeLayer(layer);
const createMarkerIcon = (record) => {
const settings = categoryConfig(record.category);
const size = safeSize(settings.size);
const color = safeColor(settings.color);
const label = record.label || settings.label || record.category.replaceAll('-', ' ');
const text = settings.displayText
? `<span class="poi-label">${escapeHTML(label)}</span>` : '';
return L.divIcon({
className: `poi-icon marker-${record.category}${extractCategories.has(record.category) ? ' marker-extract' : ''}`,
iconSize: [size, size],
iconAnchor: [size / 2, size / 2],
html: `<span class="poi-content" aria-hidden="true" style="--marker-color:${escapeHTML(color)};--marker-size:${size}px">`
+ `<span class="poi-leader"></span>`
+ `<span class="poi-dot">${escapeHTML(settings.symbol ?? '•')}</span>${text}</span>`,
});
};
const createMarker = (record) => {
const settings = categoryConfig(record.category);
const size = safeSize(settings.size);
const label = record.label || settings.label || record.category.replaceAll('-', ' ');
const leafletMarker = L.marker([record.worldY, record.worldX], {
icon: createMarkerIcon(record), pane: 'semantic-markers', interactive: true,
keyboard: false, draggable: true,
zIndexOffset: extractCategories.has(record.category) ? 5000 : 0,
});
leafletMarker.bindTooltip(
`<strong>${escapeHTML(label)}</strong>`
+ `<span>${escapeHTML(settings.label ?? record.category)} · ${escapeHTML(record.mapName)}</span>`,
{ direction: 'top', offset: [0, -size / 2], className: 'poi-tooltip' },
);
leafletMarker.on('click', (event) => {
if (!markerEditing.active) return;
L.DomEvent.stopPropagation(event.originalEvent);
selectEditableMarker(record.id);
});
leafletMarker.on('dragstart', () => {
if (!markerEditing.active) return;
leafletMarker.closeTooltip();
selectEditableMarker(record.id);
});
leafletMarker.on('dragend', () => {
if (markerEditing.active) saveDraggedMarker(record.id, leafletMarker);
});
return leafletMarker;
};
let focusedMarkerIds = [];
let markerRefreshFrame = null;
const renderedMarkers = new Map();
let markerLabelLayoutFrame = null;
const labelCollisionCellSize = 128;
const rectCells = (rect) => {
const keys = [];
const x0 = Math.floor(rect.left / labelCollisionCellSize);
const x1 = Math.floor(rect.right / labelCollisionCellSize);
const y0 = Math.floor(rect.top / labelCollisionCellSize);
const y1 = Math.floor(rect.bottom / labelCollisionCellSize);
for (let y = y0; y <= y1; y += 1) {
for (let x = x0; x <= x1; x += 1) keys.push(`${x},${y}`);
}
return keys;
};
const paddedRect = (left, top, width, height, padding = 3) => ({
left: left - padding,
top: top - padding,
right: left + width + padding,
bottom: top + height + padding,
});
const rectsOverlap = (a, b) => (
a.left < b.right && a.right > b.left && a.top < b.bottom && a.bottom > b.top
);
const layoutMarkerLabels = () => {
const container = map.getContainer();
const viewportWidth = container.clientWidth;
const viewportHeight = container.clientHeight;
if (!viewportWidth || !viewportHeight) return;
const occupied = new Map();
const addOccupied = (rect) => {
for (const key of rectCells(rect)) {
if (!occupied.has(key)) occupied.set(key, []);
occupied.get(key).push(rect);
}
};
const overlapsOccupied = (rect) => {
const checked = new Set();
for (const key of rectCells(rect)) {
for (const existing of occupied.get(key) ?? []) {
if (checked.has(existing)) continue;
checked.add(existing);
if (rectsOverlap(rect, existing)) return true;
}
}
return false;
};
const containerBounds = container.getBoundingClientRect();
const panel = document.getElementById('panel');
if (panel) {
const bounds = panel.getBoundingClientRect();
addOccupied(paddedRect(
bounds.left - containerBounds.left,
bounds.top - containerBounds.top,
bounds.width,
bounds.height,
6,
));
}
const items = [];
for (const [id, leafletMarker] of renderedMarkers) {
const element = leafletMarker.getElement();
const label = element?.querySelector('.poi-label');
const leader = element?.querySelector('.poi-leader');
if (!label || !leader) continue;
label.classList.remove('poi-label-hidden');
for (const property of ['left', 'top', 'transform']) label.style.removeProperty(property);
for (const property of ['display', 'left', 'top', 'width', 'transform']) {
leader.style.removeProperty(property);
}
if (getComputedStyle(label).display === 'none') continue;
const record = markerRecords.get(id);
if (!record) continue;
const settings = categoryConfig(record.category);
const size = safeSize(settings.size);
const point = map.latLngToContainerPoint(leafletMarker.getLatLng());
items.push({
id, leafletMarker, label, leader, record, size, point,
width: Math.ceil(label.getBoundingClientRect().width),
height: Math.ceil(label.getBoundingClientRect().height),
});
}
// Prefer not to obscure marker icons, but do not let a dense icon field
// push a label across the viewport. Label/panel collisions remain hard
// constraints; icon collisions are only a placement preference.
const iconRects = [];
for (const leafletMarker of renderedMarkers.values()) {
const element = leafletMarker.getElement();
if (!element) continue;
const point = map.latLngToContainerPoint(leafletMarker.getLatLng());
const width = element.offsetWidth || 18;
const height = element.offsetHeight || 18;
iconRects.push(paddedRect(point.x - width / 2, point.y - height / 2, width, height, 2));
}
items.sort((a, b) => (
Number(!extractCategories.has(a.record.category))
- Number(!extractCategories.has(b.record.category))
|| a.point.y - b.point.y
|| a.point.x - b.point.x
|| a.id.localeCompare(b.id)
));
const padding = 8;
const angles = [
0, Math.PI, -Math.PI / 2, Math.PI / 2,
-Math.PI / 4, Math.PI / 4, -3 * Math.PI / 4, 3 * Math.PI / 4,
-Math.PI / 8, Math.PI / 8, -3 * Math.PI / 8, 3 * Math.PI / 8,
-5 * Math.PI / 8, 5 * Math.PI / 8, -7 * Math.PI / 8, 7 * Math.PI / 8,
];
for (const item of items) {
const { point, width, height, size, label, leader } = item;
const radius = size / 2;
const candidates = [];
for (let ring = 0; ring < 8; ring += 1) {
const clearance = radius + 8 + ring * 14;
for (const angle of angles) {
const dx = Math.cos(angle);
const dy = Math.sin(angle);
const distance = clearance + Math.abs(dx) * width / 2 + Math.abs(dy) * height / 2;
candidates.push({
left: point.x + dx * distance - width / 2,
top: point.y + dy * distance - height / 2,
displaced: ring > 0,
});
}
}
let chosen = null;
let iconOverlapFallback = null;
for (const candidate of candidates) {
if (candidate.left < padding || candidate.top < padding
|| candidate.left + width > viewportWidth - padding
|| candidate.top + height > viewportHeight - padding) continue;
const rect = paddedRect(candidate.left, candidate.top, width, height);
if (overlapsOccupied(rect)) continue;
if (!iconOverlapFallback) iconOverlapFallback = { ...candidate, rect };
if (iconRects.some((iconRect) => rectsOverlap(rect, iconRect))) continue;
chosen = { ...candidate, rect };
break;
}
chosen ??= iconOverlapFallback;
if (!chosen) {
label.classList.add('poi-label-hidden');
continue;
}
addOccupied(chosen.rect);
const markerLeft = point.x - size / 2;
const markerTop = point.y - size / 2;
label.style.left = `${chosen.left - markerLeft}px`;
label.style.top = `${chosen.top - markerTop}px`;
label.style.transform = 'none';
const targetX = Math.max(chosen.left, Math.min(point.x, chosen.left + width));
const targetY = Math.max(chosen.top, Math.min(point.y, chosen.top + height));
const dx = targetX - point.x;
const dy = targetY - point.y;
const distance = Math.hypot(dx, dy);
const startDistance = radius + 3;
const lineLength = Math.max(0, distance - startDistance);
if (chosen.displaced && lineLength > 4) {
const ux = dx / distance;
const uy = dy / distance;
leader.style.display = 'block';
leader.style.left = `${size / 2 + ux * startDistance}px`;
leader.style.top = `${size / 2 + uy * startDistance}px`;
leader.style.width = `${lineLength}px`;
leader.style.transform = `rotate(${Math.atan2(dy, dx)}rad)`;
}
}
};
const scheduleMarkerLabelLayout = () => {
if (markerLabelLayoutFrame !== null) return;
markerLabelLayoutFrame = requestAnimationFrame(() => {
markerLabelLayoutFrame = null;
layoutMarkerLabels();
});
};
const refreshMarkerCounts = () => {
for (const [category, node] of categoryCountNodes) {
const settings = categoryConfig(category);
node.textContent = `${settings.label ?? category} (${markerCounts.get(category) ?? 0})`;
}
const button = document.getElementById('toggle-markers');
if (button) button.textContent = `Markers (${markerRecords.size})`;
};
const replaceMarkerRecord = (record) => {
removeIndexedMarker(record.id);
const indexed = indexMarker(record);
if (!loadedMarkerMaps.has(record.mapId)) loadedMarkerMaps.set(record.mapId, new Set());
loadedMarkerMaps.get(record.mapId).add(record.id);
refreshMarkerCounts();
scheduleMarkerRefresh();
return indexed;
};
let markersVisible = localStorage.getItem('tarkov-markers-visible') !== 'false';
const refreshMarkers = () => {
markerRefreshFrame = null;
try {
if (!markersVisible) return;
const bounds = map.getBounds().pad(Number(markerDefaults.viewportPadding) || 0.15);
const x0 = Math.floor(bounds.getWest() / gridSize);
const x1 = Math.floor(bounds.getEast() / gridSize);
const y0 = Math.floor(bounds.getSouth() / gridSize);
const y1 = Math.floor(bounds.getNorth() / gridSize);
const mapIds = focusedMarkerIds.length ? focusedMarkerIds : [...markerIndex.keys()];
const desired = new Map();
for (const mapId of mapIds) {
const cells = markerIndex.get(mapId);
if (!cells) continue;
for (let gy = y0; gy <= y1; gy += 1) {
for (let gx = x0; gx <= x1; gx += 1) {
for (const record of cells.get(`${gx},${gy}`) ?? []) {
if (categoryVisible.get(record.category) === false) continue;
if (bounds.contains([record.worldY, record.worldX])) desired.set(record.id, record);
}
}
}
}
for (const [id, leafletMarker] of renderedMarkers) {
if (desired.has(id)) continue;
markerLayer.removeLayer(leafletMarker);
renderedMarkers.delete(id);
}
for (const [id, record] of desired) {
if (renderedMarkers.has(id)) continue;
const leafletMarker = createMarker(record);
renderedMarkers.set(id, leafletMarker);
markerLayer.addLayer(leafletMarker);
if (!markerEditing.active) leafletMarker.dragging?.disable();
}
scheduleMarkerLabelLayout();
} catch (error) {
document.getElementById('toggle-markers').title = `Marker rendering failed: ${error.message}`;
throw error;
}
};
const scheduleMarkerRefresh = () => {
if (markerRefreshFrame !== null) return;
markerRefreshFrame = requestAnimationFrame(refreshMarkers);
};
updateMarkerFocus = (mapIds) => {
focusedMarkerIds = mapIds;
activeMarkerMapIds = new Set(mapIds);
for (const [mapId, markerIds] of loadedMarkerMaps) {
if (activeMarkerMapIds.has(mapId)) continue;
for (const markerId of markerIds) removeIndexedMarker(markerId);
loadedMarkerMaps.delete(mapId);
}
refreshMarkerCounts();
scheduleMarkerRefresh();
Promise.all(mapIds.map(async (mapId) => ({ mapId, markers: await fetchMarkerMap(mapId) })))
.then((results) => {
for (const { mapId, markers } of results) {
if (!activeMarkerMapIds.has(mapId) || loadedMarkerMaps.has(mapId)) continue;
const markerIds = new Set();
for (const marker of markers) {
const indexed = indexMarker(marker);
if (indexed) markerIds.add(indexed.id);
}
loadedMarkerMaps.set(mapId, markerIds);
}
refreshMarkerCounts();
scheduleMarkerRefresh();
})
.catch((error) => {
markerButton.title = `Marker loading failed: ${error.message}`;
console.error(error);
});
};
const markerButton = document.getElementById('toggle-markers');
let markersVisible = localStorage.getItem('tarkov-markers-visible') !== 'false';
const renderMarkerVisibility = () => {
if (markersVisible && !map.hasLayer(markerLayer)) markerLayer.addTo(map);
if (!markersVisible && map.hasLayer(markerLayer)) map.removeLayer(markerLayer);
if (!markersVisible && map.hasLayer(markerLayer)) {
map.removeLayer(markerLayer);
renderedMarkers.clear();
markerLayer.clearLayers();
}
markerButton.setAttribute('aria-pressed', String(markersVisible));
markerButton.textContent = `Markers (${markerData.markers?.length ?? 0})`;
markerButton.textContent = `Markers (${markerRecords.size})`;
if (markersVisible) scheduleMarkerRefresh();
};
markerButton.addEventListener('click', () => {
markersVisible = !markersVisible;
@@ -385,11 +799,61 @@ async function main() {
});
renderMarkerVisibility();
const categoryContainer = document.getElementById('marker-categories');
const groups = markerConfig.groups?.length
? markerConfig.groups : [{ id: 'markers', label: 'Markers' }];
for (const group of groups) {
const categories = [...allCategories].filter((category) => (
(categoryConfig(category).group ?? 'markers') === group.id
));
if (!categories.length) continue;
const fieldset = document.createElement('fieldset');
const legend = document.createElement('legend');
legend.textContent = group.label;
fieldset.appendChild(legend);
for (const category of categories) {
const settings = categoryConfig(category);
const label = document.createElement('label');
const checkbox = document.createElement('input');
checkbox.type = 'checkbox';
checkbox.dataset.category = category;
checkbox.checked = categoryVisible.get(category) !== false;
checkbox.addEventListener('change', () => {
categoryVisible.set(category, checkbox.checked);
localStorage.setItem(categoryStorageKey(category), String(checkbox.checked));
scheduleMarkerRefresh();
});
const swatch = document.createElement('span');
swatch.className = 'marker-category-swatch';
swatch.style.background = safeColor(settings.color);
swatch.textContent = settings.symbol ?? '•';
const text = document.createElement('span');
text.textContent = `${settings.label ?? category} (${markerCounts.get(category) ?? 0})`;
categoryCountNodes.set(category, text);
label.append(checkbox, swatch, text);
fieldset.appendChild(label);
}
categoryContainer.appendChild(fieldset);
}
const updateMarkerDensity = () => {
map.getContainer().classList.toggle('marker-labels-visible', map.getZoom() >= 6);
map.getContainer().classList.toggle(
'marker-labels-visible', map.getZoom() >= (Number(markerDefaults.labelMinZoom) || 6),
);
map.getContainer().classList.toggle(
'marker-extract-labels-visible',
map.getZoom() >= (Number(markerDefaults.extractLabelMinZoom) || 2),
);
map.getContainer().classList.toggle('marker-overview', map.getZoom() < 2.5);
};
map.on('zoom zoomend', updateMarkerDensity);
map.on('zoom', updateMarkerDensity);
map.on('moveend zoomend resize', scheduleMarkerRefresh);
document.getElementById('panel')?.addEventListener('toggle', scheduleMarkerLabelLayout);
document.getElementById('marker-settings')?.addEventListener('toggle', scheduleMarkerLabelLayout);
if ('ResizeObserver' in window) {
const markerPanelObserver = new ResizeObserver(scheduleMarkerLabelLayout);
markerPanelObserver.observe(document.getElementById('panel'));
}
updateMarkerDensity();
// --- picker -----------------------------------------------------------
@@ -415,6 +879,18 @@ async function main() {
const trimClear = document.getElementById('trim-clear');
const trimSave = document.getElementById('trim-save');
const trimStatus = document.getElementById('trim-status');
const markerEditButton = document.getElementById('edit-markers');
const markerEditorPanel = document.getElementById('marker-editor');
const markerEditorName = document.getElementById('marker-editor-name');
const markerDropButton = document.getElementById('marker-drop');
const markerFields = document.getElementById('marker-fields');
const markerLabelInput = document.getElementById('marker-label');
const markerCategoryInput = document.getElementById('marker-category');
const markerMapName = document.getElementById('marker-map-name');
const markerDeleteButton = document.getElementById('marker-delete');
const markerCancelButton = document.getElementById('marker-cancel');
const markerSaveButton = document.getElementById('marker-save');
const markerEditStatus = document.getElementById('marker-edit-status');
const byId = new Map(world.maps.map((m) => [m.id, m]));
const editor = {
selectedId: null,
@@ -431,6 +907,231 @@ async function main() {
outline: null,
};
const editorCategories = [...allCategories].sort((a, b) => {
const groupOrder = new Map(groups.map((group, index) => [group.id, index]));
const aSettings = categoryConfig(a);
const bSettings = categoryConfig(b);
return (groupOrder.get(aSettings.group) ?? 999) - (groupOrder.get(bSettings.group) ?? 999)
|| String(aSettings.label ?? a).localeCompare(String(bSettings.label ?? b));
});
for (const category of editorCategories) {
const option = document.createElement('option');
option.value = category;
option.textContent = categoryConfig(category).label ?? category;
markerCategoryInput.appendChild(option);
}
const showMarkerStatus = (message, isError = false) => {
markerEditStatus.textContent = message;
markerEditStatus.dataset.error = String(isError);
};
const setMarkerDropping = (dropping) => {
markerEditing.dropping = dropping;
markerDropButton.setAttribute('aria-pressed', String(dropping));
markerDropButton.textContent = dropping ? 'Cancel drop' : 'Drop new marker';
map.getContainer().classList.toggle('marker-dropping', dropping);
};
const clearMarkerDraft = () => {
if (markerEditing.draftMarker) map.removeLayer(markerEditing.draftMarker);
markerEditing.draft = null;
markerEditing.draftMarker = null;
};
const clearMarkerSelection = () => {
clearMarkerDraft();
markerEditing.selectedMarkerId = null;
markerFields.hidden = true;
markerDeleteButton.hidden = true;
markerLabelInput.value = '';
setMarkerDropping(false);
};
const showMarkerFields = (record, isNew = false) => {
markerFields.hidden = false;
markerLabelInput.value = record.label ?? '';
markerCategoryInput.value = editorCategories.includes(record.category)
? record.category : (editorCategories[0] ?? 'poi');
markerMapName.textContent = `${isNew ? 'New marker on' : 'Map:'} ${record.mapName}`;
markerDeleteButton.hidden = isNew;
markerSaveButton.textContent = isNew ? 'Add marker' : 'Save marker';
};
const persistMarker = async (record) => {
const response = await fetch('api/marker', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
id: record.id?.startsWith('draft-') ? null : record.id,
mapId: record.mapId,
x: record.x,
y: record.y,
label: record.label,
category: record.category,
}),
});
const responseText = await response.text();
let result;
try { result = JSON.parse(responseText); } catch { result = {}; }
if (!response.ok) throw new Error(
result.error || 'This server is read-only; start it with server/run.ps1 -Editable',
);
return result.marker;
};
selectEditableMarker = (id) => {
if (!markerEditing.active) return;
const record = markerRecords.get(id);
if (!record) return;
clearMarkerDraft();
setMarkerDropping(false);
markerEditing.selectedMarkerId = id;
showMarkerFields(record);
showMarkerStatus('Rename it, choose a category, or drag it to move it.');
};
saveDraggedMarker = async (id, leafletMarker) => {
const record = markerRecords.get(id);
const m = record && byId.get(record.mapId);
const point = m && normalizedPoint(m, leafletMarker.getLatLng());
if (!record || !m || !point) {
if (record) leafletMarker.setLatLng([record.worldY, record.worldX]);
showMarkerStatus('Keep the marker inside its source map.', true);
return;
}
leafletMarker.dragging.disable();
showMarkerStatus('Saving the new marker position…');
try {
const saved = await persistMarker({ ...record, x: point[0], y: point[1] });
replaceMarkerRecord(saved);
selectEditableMarker(saved.id);
showMarkerStatus('Marker position saved.');
} catch (error) {
leafletMarker.setLatLng([record.worldY, record.worldX]);
leafletMarker.dragging.enable();
showMarkerStatus(`Save failed: ${error.message}`, true);
}
};
function closeMarkerEditor() {
clearMarkerSelection();
markerEditing.active = false;
markerEditorPanel.hidden = true;
markerEditButton.setAttribute('aria-pressed', 'false');
map.getContainer().classList.remove('marker-editing', 'marker-dropping');
for (const leafletMarker of renderedMarkers.values()) leafletMarker.dragging?.disable();
showMarkerStatus('');
}
function openMarkerEditor(m) {
if (!m || m.base) return;
if (editor.active) closeEditor();
if (trimEditor.active) closeTrimEditor();
markerEditing.selectedMapId = m.id;
markerEditing.active = true;
markerEditorPanel.hidden = false;
markerEditButton.disabled = false;
markerEditButton.setAttribute('aria-pressed', 'true');
markerEditorName.textContent = `${m.name} markers`;
if (!markersVisible) {
markersVisible = true;
localStorage.setItem('tarkov-markers-visible', 'true');
renderMarkerVisibility();
}
map.getContainer().classList.add('marker-editing');
scheduleMarkerRefresh();
requestAnimationFrame(() => {
for (const leafletMarker of renderedMarkers.values()) leafletMarker.dragging?.enable();
});
showMarkerStatus('Click a marker to edit it, or drop a new one.');
focus(m.id);
}
markerDropButton.addEventListener('click', () => {
if (markerEditing.dropping) {
setMarkerDropping(false);
showMarkerStatus('Drop cancelled.');
return;
}
clearMarkerSelection();
setMarkerDropping(true);
showMarkerStatus('Click inside the selected map to place a new marker.');
});
markerCancelButton.addEventListener('click', () => {
clearMarkerSelection();
showMarkerStatus('Selection cleared.');
});
markerDeleteButton.addEventListener('click', async () => {
const record = markerRecords.get(markerEditing.selectedMarkerId);
if (!record || !window.confirm(`Delete “${record.label}”? The default backup is unchanged.`)) {
return;
}
markerDeleteButton.disabled = true;
markerSaveButton.disabled = true;
showMarkerStatus('Deleting marker…');
try {
const response = await fetch('api/marker', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ action: 'delete', id: record.id, mapId: record.mapId }),
});
const responseText = await response.text();
let result;
try { result = JSON.parse(responseText); } catch { result = {}; }
if (!response.ok) throw new Error(
result.error || 'This server is read-only; start it with server/run.ps1 -Editable',
);
removeIndexedMarker(record.id);
loadedMarkerMaps.get(record.mapId)?.delete(record.id);
refreshMarkerCounts();
scheduleMarkerRefresh();
clearMarkerSelection();
showMarkerStatus('Marker deleted. The read-only default remains available for restoration.');
} catch (error) {
showMarkerStatus(`Delete failed: ${error.message}`, true);
} finally {
markerDeleteButton.disabled = false;
markerSaveButton.disabled = false;
}
});
markerCategoryInput.addEventListener('change', () => {
if (!markerEditing.draft || !markerEditing.draftMarker) return;
markerEditing.draft.category = markerCategoryInput.value;
markerEditing.draftMarker.setIcon(createMarkerIcon(markerEditing.draft));
});
markerSaveButton.addEventListener('click', async () => {
const current = markerEditing.draft
?? markerRecords.get(markerEditing.selectedMarkerId);
const label = markerLabelInput.value.trim();
if (!current || !label) {
showMarkerStatus('Enter a marker name before saving.', true);
markerLabelInput.focus();
return;
}
markerSaveButton.disabled = true;
showMarkerStatus('Saving marker…');
try {
const saved = await persistMarker({
...current,
label,
category: markerCategoryInput.value,
});
clearMarkerDraft();
replaceMarkerRecord(saved);
selectEditableMarker(saved.id);
showMarkerStatus('Marker saved.');
} catch (error) {
showMarkerStatus(`Save failed: ${error.message}`, true);
} finally {
markerSaveButton.disabled = false;
}
});
const showStatus = (message, isError = false) => {
status.textContent = message;
status.dataset.error = String(isError);
@@ -480,6 +1181,7 @@ async function main() {
const openEditor = (m) => {
if (!m || m.base) return;
if (trimEditor.active) closeTrimEditor();
if (markerEditing.active) closeMarkerEditor();
const previous = byId.get(editor.selectedId);
if (previous && previous.id !== m.id) {
resetPreview(previous);
@@ -521,16 +1223,21 @@ async function main() {
};
const selectTarget = (m) => {
const mode = editor.active ? 'placement' : (trimEditor.active ? 'trim' : null);
const mode = editor.active ? 'placement'
: (trimEditor.active ? 'trim' : (markerEditing.active ? 'markers' : null));
if (editor.active) closeEditor();
if (trimEditor.active) closeTrimEditor();
if (markerEditing.active) closeMarkerEditor();
editor.selectedId = m.base ? null : m.id;
trimEditor.selectedId = m.base ? null : m.id;
markerEditing.selectedMapId = m.base ? null : m.id;
editButton.disabled = !!m.base;
trimButton.disabled = !!m.base;
markerEditButton.disabled = !!m.base;
buttons.forEach((b) => { b.dataset.selected = String(b.dataset.id === m.id); });
if (!m.base && mode === 'placement') openEditor(m);
if (!m.base && mode === 'trim') openTrimEditor(m);
if (!m.base && mode === 'markers') openMarkerEditor(m);
};
const roots = detail.filter((m) => !m.parent);
@@ -559,6 +1266,7 @@ async function main() {
editButton.setAttribute('aria-pressed', 'false');
trimButton.setAttribute('aria-pressed', 'false');
markerEditButton.setAttribute('aria-pressed', 'false');
editButton.addEventListener('click', () => {
if (editor.active) closeEditor();
else openEditor(byId.get(editor.selectedId));
@@ -567,6 +1275,10 @@ async function main() {
if (trimEditor.active) closeTrimEditor();
else openTrimEditor(byId.get(trimEditor.selectedId));
});
markerEditButton.addEventListener('click', () => {
if (markerEditing.active) closeMarkerEditor();
else openMarkerEditor(byId.get(markerEditing.selectedMapId));
});
const applyInputs = () => {
const m = byId.get(editor.selectedId);
@@ -721,6 +1433,7 @@ async function main() {
function openTrimEditor(m) {
if (!m || m.base) return;
if (editor.active) closeEditor();
if (markerEditing.active) closeMarkerEditor();
clearTrimEditorLayers();
const saved = savedTrim(m);
trimEditor.selectedId = m.id;
@@ -798,6 +1511,52 @@ async function main() {
});
map.on('click', (event) => {
if (markerEditing.active && markerEditing.dropping) {
const m = byId.get(markerEditing.selectedMapId);
const point = m && normalizedPoint(m, event.latlng);
if (!m || !point) {
showMarkerStatus('Click inside the selected map to place the marker.', true);
return;
}
clearMarkerDraft();
setMarkerDropping(false);
const category = editorCategories.includes('poi') ? 'poi' : editorCategories[0];
markerEditing.draft = {
id: `draft-${Date.now()}`,
mapId: m.id,
mapName: m.name,
x: point[0],
y: point[1],
category,
label: 'New marker',
source: 'User marker',
};
markerEditing.draftMarker = L.marker(event.latlng, {
icon: createMarkerIcon(markerEditing.draft),
pane: 'semantic-markers',
draggable: true,
keyboard: false,
zIndexOffset: 12000,
}).addTo(map);
markerEditing.draftMarker.on('dragend', (dragEvent) => {
const next = normalizedPoint(m, dragEvent.target.getLatLng());
if (!next) {
dragEvent.target.setLatLng([
m.origin[1] + markerEditing.draft.y * m.size[1],
m.origin[0] + markerEditing.draft.x * m.size[0],
]);
showMarkerStatus('Keep the marker inside the selected map.', true);
return;
}
markerEditing.draft.x = next[0];
markerEditing.draft.y = next[1];
showMarkerStatus('Position ready. Name and save the marker.');
});
showMarkerFields(markerEditing.draft, true);
markerLabelInput.select();
showMarkerStatus('Name the marker, choose a category, then save it.');
return;
}
if (!trimEditor.active) return;
const m = byId.get(trimEditor.selectedId);
const point = m && normalizedPoint(m, event.latlng);
@@ -824,7 +1583,9 @@ async function main() {
.sort((a, b) => a.size[0] * a.size[1] - b.size[0] * b.size[1])[0];
buttons.forEach((b) => b.setAttribute(
'aria-current', String(hit ? hit.id === b.dataset.id : b.dataset.id === base.id)));
focus(editor.active ? editor.selectedId : (trimEditor.active ? trimEditor.selectedId : hit?.id));
focus(editor.active ? editor.selectedId
: (trimEditor.active ? trimEditor.selectedId
: (markerEditing.active ? markerEditing.selectedMapId : hit?.id)));
const z = Math.round(map.getZoom() * 4) / 4;
history.replaceState(null, '', `#${z}/${Math.round(c.lat)}/${Math.round(c.lng)}`);
+40
View File
@@ -0,0 +1,40 @@
{
"version": 2,
"visibilityVersion": 2,
"defaults": {
"color": "#5d6876",
"size": 18,
"symbol": "•",
"displayText": false,
"defaultVisible": true,
"labelMinZoom": 6,
"extractLabelMinZoom": 2,
"gridSize": 2048,
"viewportPadding": 0.15
},
"groups": [
{ "id": "extracts", "label": "Extracts & transit" },
{ "id": "activity", "label": "Spawns & activity" },
{ "id": "items", "label": "Items & objectives" },
{ "id": "places", "label": "Places" }
],
"categories": {
"extract-pmc": { "group": "extracts", "label": "PMC extracts", "color": "#20a66a", "size": 24, "symbol": "P", "displayText": true },
"extract-scav": { "group": "extracts", "label": "Scav extracts", "color": "#e18a20", "size": 24, "symbol": "S", "displayText": true },
"extract-neutral": { "group": "extracts", "label": "Shared / co-op extracts", "color": "#21a7b2", "size": 25, "symbol": "🤝", "displayText": true },
"extract-hidden": { "group": "extracts", "label": "Hidden extracts", "color": "#8257b7", "size": 23, "symbol": "?", "displayText": true },
"transit": { "group": "extracts", "label": "Transit", "color": "#3477d4", "size": 23, "symbol": "⇄", "displayText": true },
"spawn": { "group": "activity", "label": "PMC spawns", "color": "#4f8ac7", "size": 16, "symbol": "P", "displayText": false, "defaultVisible": false },
"scav": { "group": "activity", "label": "Scav areas", "color": "#c28135", "size": 17, "symbol": "S", "displayText": false, "defaultVisible": false },
"boss": { "group": "activity", "label": "Boss areas", "color": "#bd3f45", "size": 20, "symbol": "👑", "displayText": true },
"cultist": { "group": "activity", "label": "Cultist areas", "color": "#7552a0", "size": 18, "symbol": "☾", "displayText": true },
"sniper": { "group": "activity", "label": "Snipers", "color": "#b43c3c", "size": 18, "symbol": "△", "displayText": false },
"hazard": { "group": "activity", "label": "Hazards", "color": "#b43c3c", "size": 19, "symbol": "⚠️", "displayText": true },
"cache": { "group": "items", "label": "Caches", "color": "#8a7140", "size": 15, "symbol": "◇", "displayText": false, "defaultVisible": false },
"key": { "group": "items", "label": "Keys", "color": "#9a7830", "size": 17, "symbol": "🔑", "displayText": false, "defaultVisible": false },
"loot": { "group": "items", "label": "Loot", "color": "#8a7140", "size": 16, "symbol": "📦", "displayText": false, "defaultVisible": false },
"quest": { "group": "items", "label": "Quest objectives", "color": "#9a7830", "size": 18, "symbol": "?", "displayText": true },
"location": { "group": "places", "label": "Location names", "color": "#5d6876", "size": 14, "symbol": "•", "displayText": true, "defaultVisible": false },
"poi": { "group": "places", "label": "Points of interest", "color": "#5d6876", "size": 14, "symbol": "•", "displayText": false, "defaultVisible": false }
}
}
@@ -0,0 +1,87 @@
{
"version": 2,
"mapId": "customs-dorms",
"markers": [
{
"x": 0.49686119507091375,
"y": 0.3038336052202284,
"category": "hazard",
"label": "Hazard",
"source": "OVERLAY/DeadScav copy",
"id": "customs-dorms-9c628ce7d822",
"mapId": "customs-dorms"
},
{
"x": 0.655196465938154,
"y": 0.7807911908646004,
"category": "hazard",
"label": "Hazard",
"source": "OVERLAY/DeadScav copy 2",
"id": "customs-dorms-c1078856cd67",
"mapId": "customs-dorms"
},
{
"x": 0.6384561729830271,
"y": 0.7807911908646004,
"category": "key",
"label": "Key",
"source": "OVERLAY/Keys/Layer 24",
"id": "customs-dorms-1a53c38ea694",
"mapId": "customs-dorms"
},
{
"x": 0.49686119507091375,
"y": 0.1871941272430669,
"category": "key",
"label": "Key",
"source": "OVERLAY/Keys/Layer 19",
"id": "customs-dorms-41c3af44bd63",
"mapId": "customs-dorms"
},
{
"x": 0.19111834457103,
"y": 0.21737357259380097,
"category": "key",
"label": "Key",
"source": "OVERLAY/Keys/Layer 25",
"id": "customs-dorms-5c75afd21764",
"mapId": "customs-dorms"
},
{
"x": 0.7425017437805161,
"y": 0.6988172920065252,
"category": "key",
"label": "Key",
"source": "OVERLAY/Keys/Layer 22",
"id": "customs-dorms-6ce6bd2e3821",
"mapId": "customs-dorms"
},
{
"x": 0.5087189025807952,
"y": 0.4530995106035889,
"category": "key",
"label": "Key",
"source": "OVERLAY/Keys/Layer 20",
"id": "customs-dorms-710518821270",
"mapId": "customs-dorms"
},
{
"x": 0.40827714485003486,
"y": 0.3974306688417618,
"category": "key",
"label": "Key",
"source": "OVERLAY/Keys/Layer 18",
"id": "customs-dorms-8074a795e78d",
"mapId": "customs-dorms"
},
{
"x": 0.6212508718902581,
"y": 0.48022022838499184,
"category": "key",
"label": "Key",
"source": "OVERLAY/Keys/Layer 21",
"id": "customs-dorms-c9942bd86cba",
"mapId": "customs-dorms"
}
]
}
+825
View File
@@ -0,0 +1,825 @@
{
"version": 2,
"mapId": "customs",
"markers": [
{
"x": 0.5776302349336058,
"y": 0.37296849087893863,
"category": "boss",
"label": "Boss area",
"source": "OVERLAYS/Overlay/Overlay_Boss/boss copy 5",
"id": "customs-3e71836a04f6",
"mapId": "customs"
},
{
"x": 0.2861338100102145,
"y": 0.6472636815920398,
"category": "boss",
"label": "Boss area",
"source": "OVERLAYS/Overlay/Overlay_Boss/boss copy",
"id": "customs-5245477221dd",
"mapId": "customs"
},
{
"x": 0.4753575076608784,
"y": 0.3560530679933665,
"category": "boss",
"label": "Boss area",
"source": "OVERLAYS/Overlay/Overlay_Boss/boss copy 3",
"id": "customs-608f6170a182",
"mapId": "customs"
},
{
"x": 0.19164964249233912,
"y": 0.7434494195688226,
"category": "boss",
"label": "Boss area",
"source": "OVERLAYS/Overlay/Overlay_Boss/boss copy 2",
"id": "customs-78de3a0ef61d",
"mapId": "customs"
},
{
"x": 0.47305924412665984,
"y": 0.8396351575456054,
"category": "boss",
"label": "Boss area",
"source": "OVERLAYS/Overlay/Overlay_Boss/boss copy 4",
"id": "customs-8ca0db62acd9",
"mapId": "customs"
},
{
"x": 0.2237614913176711,
"y": 0.30016583747927034,
"category": "extract-hidden",
"label": "SMUGGLERS BUNKER",
"source": "OVERLAYS/Overlay/Overlay_Captions/Hidden/SMUGGLERS BUNKER",
"id": "customs-a79111915293",
"mapId": "customs"
},
{
"x": 0.6893513789581205,
"y": 0.842620232172471,
"category": "extract-hidden",
"label": "SMUGGLERS BOAT",
"source": "OVERLAYS/Overlay/Overlay_Captions/Hidden/SMUGGLERS BOAT",
"id": "customs-cb6d3a8c0e20",
"mapId": "customs"
},
{
"x": 0.5628192032686414,
"y": 0.266334991708126,
"category": "extract-neutral",
"label": "BOILER ROOM BASEMENT (CO-OP)",
"source": "OVERLAYS/Overlay/Overlay_Captions/PMC&Scav/BOILER ROOM BASEMENT (CO-OP)",
"id": "customs-24bcffb797af",
"mapId": "customs"
},
{
"x": 0.6689223697650664,
"y": 0.3066334991708126,
"category": "extract-neutral",
"label": "RUAF ROADBLOCK",
"source": "OVERLAYS/Overlay/Overlay_Captions/PMC&Scav/RUAF ROADBLOCK",
"id": "customs-5e818d53cf72",
"mapId": "customs"
},
{
"x": 0.9712078651685393,
"y": 0.45787728026533997,
"category": "extract-neutral",
"label": "CROSSROADS",
"source": "OVERLAYS/Overlay/Overlay_Captions/PMC&Scav/CROSSROADS",
"id": "customs-e58572932cd1",
"mapId": "customs"
},
{
"x": 0.48525280898876405,
"y": 0.07893864013266998,
"category": "extract-pmc",
"label": "RAILROAD PASSAGE",
"source": "OVERLAYS/Overlay/Overlay_Captions/PMC/RAILROAD PASSAGE",
"id": "customs-45645fbc9a13",
"mapId": "customs"
},
{
"x": 0.5159601634320735,
"y": 0.9746268656716418,
"category": "extract-pmc",
"label": "DORMS V-EX",
"source": "OVERLAYS/Overlay/Overlay_Captions/PMC/DORMS V-EX",
"id": "customs-974c30721c45",
"mapId": "customs"
},
{
"x": 0.5126404494382022,
"y": 0.18739635157545606,
"category": "extract-pmc",
"label": "ZB-1013",
"source": "OVERLAYS/Overlay/Overlay_Captions/PMC/ZB-1013",
"id": "customs-f1d7ba416c1b",
"mapId": "customs"
},
{
"x": 0.03887895812053115,
"y": 0.5296849087893865,
"category": "extract-scav",
"label": "SCAV CHECKPOINT",
"source": "OVERLAYS/Overlay/Overlay_Captions/Scav/SCAV CHECKPOINT",
"id": "customs-170876e48cfd",
"mapId": "customs"
},
{
"x": 0.7920071501532175,
"y": 0.6754560530679934,
"category": "extract-scav",
"label": "RAILROAD TO PORT",
"source": "OVERLAYS/Overlay/Overlay_Captions/Scav/RAILROAD TO PORT",
"id": "customs-1759720e23e5",
"mapId": "customs"
},
{
"x": 0.3187563840653728,
"y": 0.3227197346600332,
"category": "extract-scav",
"label": "WAREHOUSE 4",
"source": "OVERLAYS/Overlay/Overlay_Captions/Scav/WAREHOUSE 4",
"id": "customs-1e7f22e59724",
"mapId": "customs"
},
{
"x": 0.4768258426966292,
"y": 0.9693200663349917,
"category": "extract-scav",
"label": "OLD ROAD GATE",
"source": "OVERLAYS/Overlay/Overlay_Captions/Scav/OLD ROAD GATE",
"id": "customs-1fc844d6bf70",
"mapId": "customs"
},
{
"x": 0.630426455566905,
"y": 0.3351575456053068,
"category": "extract-scav",
"label": "WAREHOUSE 17",
"source": "OVERLAYS/Overlay/Overlay_Captions/Scav/WAREHOUSE 17",
"id": "customs-30abdbf9fcc0",
"mapId": "customs"
},
{
"x": 0.6244254341164454,
"y": 0.8477611940298507,
"category": "extract-scav",
"label": "SNIPER ROADBLOCK",
"source": "OVERLAYS/Overlay/Overlay_Captions/Scav/SNIPER ROADBLOCK",
"id": "customs-39b950d47e30",
"mapId": "customs"
},
{
"x": 0.02643003064351379,
"y": 0.4761194029850746,
"category": "extract-scav",
"label": "ADMIN GATE",
"source": "OVERLAYS/Overlay/Overlay_Captions/Scav/ADMIN GATE",
"id": "customs-6b4027570254",
"mapId": "customs"
},
{
"x": 0.16707099080694587,
"y": 0.9339966832504146,
"category": "extract-scav",
"label": "PASSAGE BETWEEN ROCKS",
"source": "OVERLAYS/Overlay/Overlay_Captions/Scav/PASSAGE BETWEEN ROCKS",
"id": "customs-72601281e471",
"mapId": "customs"
},
{
"x": 0.19350102145045966,
"y": 0.9718076285240465,
"category": "extract-scav",
"label": "RAILROAD TO MILITARY BASE",
"source": "OVERLAYS/Overlay/Overlay_Captions/Scav/RAILROAD TO MILITARY BASE",
"id": "customs-89a4ec29801d",
"mapId": "customs"
},
{
"x": 0.5308350357507661,
"y": 0.27296849087893865,
"category": "extract-scav",
"label": "FACTORY SHACKS",
"source": "OVERLAYS/Overlay/Overlay_Captions/Scav/FACTORY SHACKS",
"id": "customs-c1bb6a3d059d",
"mapId": "customs"
},
{
"x": 0.8912793667007151,
"y": 0.15041459369817578,
"category": "extract-scav",
"label": "TRAILER PARK WORKERS\u2019 SHACK",
"source": "OVERLAYS/Overlay/Overlay_Captions/Scav/TRAILER PARK WORKERS\u2019 SHACK",
"id": "customs-c53ab9f6870b",
"mapId": "customs"
},
{
"x": 0.7996680286006129,
"y": 0.17761194029850746,
"category": "extract-scav",
"label": "RAILROAD TO TARKOV",
"source": "OVERLAYS/Overlay/Overlay_Captions/Scav/RAILROAD TO TARKOV",
"id": "customs-ca0ece4b64a2",
"mapId": "customs"
},
{
"x": 0.03804902962206333,
"y": 0.3023217247097844,
"category": "extract-scav",
"label": "FACTORY FAR CORNER",
"source": "OVERLAYS/Overlay/Overlay_Captions/Scav/FACTORY FAR CORNER",
"id": "customs-daf50bee7b38",
"mapId": "customs"
},
{
"x": 0.0613508682328907,
"y": 0.8207296849087894,
"category": "extract-scav",
"label": "MILITARY BASE CP",
"source": "OVERLAYS/Overlay/Overlay_Captions/Scav/MILITARY BASE CP",
"id": "customs-f11ad4b62061",
"mapId": "customs"
},
{
"x": 0.34378192032686417,
"y": 0.44212271973466005,
"category": "location",
"label": "WH. 4",
"source": "OVERLAYS/Overlay/Overlay_HouseNames/WH. 4",
"id": "customs-35e41a72913c",
"mapId": "customs"
},
{
"x": 0.6117849846782432,
"y": 0.46102819237147596,
"category": "location",
"label": "WH. 17",
"source": "OVERLAYS/Overlay/Overlay_HouseNames/WH. 17",
"id": "customs-589f892ca3bb",
"mapId": "customs"
},
{
"x": 0.4703140960163432,
"y": 0.8165837479270315,
"category": "location",
"label": "DORMS",
"source": "OVERLAYS/Overlay/Overlay_HouseNames/DORMS",
"id": "customs-5b2a27ba0c04",
"mapId": "customs"
},
{
"x": 0.8562946884576098,
"y": 0.32371475953565504,
"category": "location",
"label": "RED (PARADIGM)",
"source": "OVERLAYS/Overlay/Overlay_HouseNames/RED (PARADIGM)",
"id": "customs-8164772cfa46",
"mapId": "customs"
},
{
"x": 0.5556052093973443,
"y": 0.4615257048092869,
"category": "location",
"label": "BOILER BUILDING",
"source": "OVERLAYS/Overlay/Overlay_HouseNames/BOILER BUILDING",
"id": "customs-819a982e6348",
"mapId": "customs"
},
{
"x": 0.4022599591419816,
"y": 0.48640132669983416,
"category": "location",
"label": "INDUSTRIAL PLANT",
"source": "OVERLAYS/Overlay/Overlay_HouseNames/INDUSTRIAL PLANT",
"id": "customs-97225b8ab49f",
"mapId": "customs"
},
{
"x": 0.2838355464759959,
"y": 0.4043117744610282,
"category": "location",
"label": "WH. 3",
"source": "OVERLAYS/Overlay/Overlay_HouseNames/WH. 3",
"id": "customs-b5d97deec7e8",
"mapId": "customs"
},
{
"x": 0.14006639427987744,
"y": 0.33665008291873966,
"category": "location",
"label": "WH. 7",
"source": "OVERLAYS/Overlay/Overlay_HouseNames/WH. 7",
"id": "customs-c75eb05c2981",
"mapId": "customs"
},
{
"x": 0.12736210418794688,
"y": 0.43449419568822556,
"category": "location",
"label": "WH. 6",
"source": "OVERLAYS/Overlay/Overlay_HouseNames/WH. 6",
"id": "customs-c9deeceddf20",
"mapId": "customs"
},
{
"x": 0.21348314606741572,
"y": 0.45804311774461026,
"category": "location",
"label": "WH. 5",
"source": "OVERLAYS/Overlay/Overlay_HouseNames/WH. 5",
"id": "customs-cbc72f382c2f",
"mapId": "customs"
},
{
"x": 0.5821629213483146,
"y": 0.3099502487562189,
"category": "location",
"label": "LAB",
"source": "OVERLAYS/Overlay/Overlay_HouseNames/LAB",
"id": "customs-d448f920c525",
"mapId": "customs"
},
{
"x": 0.2754085801838611,
"y": 0.6235489220563848,
"category": "location",
"label": "NEW GAS STATION",
"source": "OVERLAYS/Overlay/Overlay_HouseNames/NEW GAS STATION",
"id": "customs-f85c86279cf8",
"mapId": "customs"
},
{
"x": 0.46527068437180796,
"y": 0.3560530679933665,
"category": "scav",
"label": "Scav area",
"source": "OVERLAYS/Overlay/Overlay_Scav/scav copy 3",
"id": "customs-00c0bfa76d69",
"mapId": "customs"
},
{
"x": 0.4690372829417773,
"y": 0.32470978441127696,
"category": "scav",
"label": "SCAV BASE",
"source": "OVERLAYS/Overlay/Overlay_HouseNames/SCAV BASE",
"id": "customs-1119bcb3da33",
"mapId": "customs"
},
{
"x": 0.8711695607763024,
"y": 0.20381426202321726,
"category": "scav",
"label": "Scav area",
"source": "OVERLAYS/Overlay/Overlay_Scav/scav copy 14",
"id": "customs-192933a75491",
"mapId": "customs"
},
{
"x": 0.9052604698672114,
"y": 0.4462686567164179,
"category": "scav",
"label": "Scav area",
"source": "OVERLAYS/Overlay/Overlay_Scav/scav copy 7",
"id": "customs-216002034820",
"mapId": "customs"
},
{
"x": 0.6550051072522982,
"y": 0.45787728026533997,
"category": "scav",
"label": "Scav area",
"source": "OVERLAYS/Overlay/Overlay_Scav/scav copy 5",
"id": "customs-2d940285071f",
"mapId": "customs"
},
{
"x": 0.650408580183861,
"y": 0.6718076285240464,
"category": "scav",
"label": "Scav area",
"source": "OVERLAYS/Overlay/Overlay_Scav/scav copy 6",
"id": "customs-34decc1b3782",
"mapId": "customs"
},
{
"x": 0.10572012257405516,
"y": 0.43399668325041457,
"category": "scav",
"label": "Scav area",
"source": "OVERLAYS/Overlay/Overlay_Scav/scav copy 11",
"id": "customs-3572069945ef",
"mapId": "customs"
},
{
"x": 0.34588866189989786,
"y": 0.3099502487562189,
"category": "scav",
"label": "Scav area",
"source": "OVERLAYS/Overlay/Overlay_Scav/scav copy 13",
"id": "customs-360cdc704753",
"mapId": "customs"
},
{
"x": 0.5634576098059244,
"y": 0.5895522388059702,
"category": "scav",
"label": "Scav area",
"source": "OVERLAYS/Overlay/Overlay_Scav/scav copy 2",
"id": "customs-3f7f1ad3af1f",
"mapId": "customs"
},
{
"x": 0.12857507660878448,
"y": 0.5686567164179105,
"category": "scav",
"label": "Scav area",
"source": "OVERLAYS/Overlay/Overlay_Scav/scav copy 10",
"id": "customs-58857a08f8de",
"mapId": "customs"
},
{
"x": 0.5794177732379979,
"y": 0.291044776119403,
"category": "scav",
"label": "Scav area",
"source": "OVERLAYS/Overlay/Overlay_Scav/scav copy 4",
"id": "customs-76d2a05bbb8e",
"mapId": "customs"
},
{
"x": 0.4339887640449438,
"y": 0.6243781094527363,
"category": "scav",
"label": "Scav area",
"source": "OVERLAYS/Overlay/Overlay_Scav/scav copy",
"id": "customs-a05993347d07",
"mapId": "customs"
},
{
"x": 0.4656537282941777,
"y": 0.8396351575456054,
"category": "scav",
"label": "Scav area",
"source": "OVERLAYS/Overlay/Overlay_Scav/scav",
"id": "customs-abffd3311677",
"mapId": "customs"
},
{
"x": 0.291879468845761,
"y": 0.647927031509121,
"category": "scav",
"label": "Scav area",
"source": "OVERLAYS/Overlay/Overlay_Scav/scav copy 9",
"id": "customs-c5c0867e4b56",
"mapId": "customs"
},
{
"x": 0.25153217568947905,
"y": 0.5291873963515754,
"category": "scav",
"label": "Scav area",
"source": "OVERLAYS/Overlay/Overlay_Scav/scav copy 12",
"id": "customs-d0cf16afe14e",
"mapId": "customs"
},
{
"x": 0.8292900919305414,
"y": 0.4134328358208955,
"category": "scav",
"label": "Scav area",
"source": "OVERLAYS/Overlay/Overlay_Scav/scav copy 8",
"id": "customs-eade4c5aed95",
"mapId": "customs"
},
{
"x": 0.21552604698672115,
"y": 0.4349917081260365,
"category": "sniper",
"label": "sniper scav",
"source": "OVERLAYS/Overlay/Overlay_Sniper/sniper scav copy 3",
"id": "customs-0e13b089c414",
"mapId": "customs"
},
{
"x": 0.4187946884576098,
"y": 0.4412935323383085,
"category": "sniper",
"label": "sniper scav",
"source": "OVERLAYS/Overlay/Overlay_Sniper/sniper scav copy",
"id": "customs-434494dac572",
"mapId": "customs"
},
{
"x": 0.5542645556690501,
"y": 0.4880597014925373,
"category": "sniper",
"label": "sniper scav",
"source": "OVERLAYS/Overlay/Overlay_Sniper/sniper scav copy 2",
"id": "customs-62453ea61597",
"mapId": "customs"
},
{
"x": 0.11593462717058223,
"y": 0.5922056384742952,
"category": "sniper",
"label": "sniper scav",
"source": "OVERLAYS/Overlay/Overlay_Sniper/sniper scav copy 4",
"id": "customs-c6322689932e",
"mapId": "customs"
},
{
"x": 0.9605464759959143,
"y": 0.4266998341625207,
"category": "spawn",
"label": "PMC spawn",
"source": "OVERLAYS/Overlay/Overlay_Playerspawn/playerspawn copy 22",
"id": "customs-0227a0d92bd6",
"mapId": "customs"
},
{
"x": 0.055286006128702755,
"y": 0.623714759535655,
"category": "spawn",
"label": "PMC spawn",
"source": "OVERLAYS/Overlay/Overlay_Playerspawn/playerspawn copy 6",
"id": "customs-11a44228d5a5",
"mapId": "customs"
},
{
"x": 0.7811542390194075,
"y": 0.6482587064676617,
"category": "spawn",
"label": "PMC spawn",
"source": "OVERLAYS/Overlay/Overlay_Playerspawn/playerspawn copy 28",
"id": "customs-197490a0f1ff",
"mapId": "customs"
},
{
"x": 0.08082226762002043,
"y": 0.7669983416252073,
"category": "spawn",
"label": "PMC spawn",
"source": "OVERLAYS/Overlay/Overlay_Playerspawn/playerspawn copy 4",
"id": "customs-25196058bf27",
"mapId": "customs"
},
{
"x": 0.8541879468845761,
"y": 0.35140961857379766,
"category": "spawn",
"label": "PMC spawn",
"source": "OVERLAYS/Overlay/Overlay_Playerspawn/playerspawn copy 24",
"id": "customs-266ff463297d",
"mapId": "customs"
},
{
"x": 0.7911133810010215,
"y": 0.21077943615257047,
"category": "spawn",
"label": "PMC spawn",
"source": "OVERLAYS/Overlay/Overlay_Playerspawn/playerspawn copy 18",
"id": "customs-32ead0fe5f3f",
"mapId": "customs"
},
{
"x": 0.8541879468845761,
"y": 0.2021558872305141,
"category": "spawn",
"label": "PMC spawn",
"source": "OVERLAYS/Overlay/Overlay_Playerspawn/playerspawn copy 19",
"id": "customs-3c2c7c9a6312",
"mapId": "customs"
},
{
"x": 0.8008171603677222,
"y": 0.38159203980099504,
"category": "spawn",
"label": "PMC spawn",
"source": "OVERLAYS/Overlay/Overlay_Playerspawn/playerspawn copy 25",
"id": "customs-3cd5b575ccbd",
"mapId": "customs"
},
{
"x": 0.3319713993871297,
"y": 0.8396351575456054,
"category": "spawn",
"label": "PMC spawn",
"source": "OVERLAYS/Overlay/Overlay_Playerspawn/playerspawn copy 2",
"id": "customs-3e60d622507c",
"mapId": "customs"
},
{
"x": 0.29647599591419815,
"y": 0.37960199004975126,
"category": "spawn",
"label": "PMC spawn",
"source": "OVERLAYS/Overlay/Overlay_Playerspawn/playerspawn copy 12",
"id": "customs-48d81c63acec",
"mapId": "customs"
},
{
"x": 0.6338100102145046,
"y": 0.37529021558872305,
"category": "spawn",
"label": "PMC spawn",
"source": "OVERLAYS/Overlay/Overlay_Playerspawn/playerspawn copy 16",
"id": "customs-4d3f1d8b678d",
"mapId": "customs"
},
{
"x": 0.9586312563840653,
"y": 0.24361525704809286,
"category": "spawn",
"label": "PMC spawn",
"source": "OVERLAYS/Overlay/Overlay_Playerspawn/playerspawn copy 20",
"id": "customs-507ad340f871",
"mapId": "customs"
},
{
"x": 0.18513789581205312,
"y": 0.4625207296849088,
"category": "spawn",
"label": "PMC spawn",
"source": "OVERLAYS/Overlay/Overlay_Playerspawn/playerspawn copy 10",
"id": "customs-5e43607e5e31",
"mapId": "customs"
},
{
"x": 0.8803626149131767,
"y": 0.4369817578772803,
"category": "spawn",
"label": "PMC spawn",
"source": "OVERLAYS/Overlay/Overlay_Playerspawn/playerspawn copy 23",
"id": "customs-6574d6938a80",
"mapId": "customs"
},
{
"x": 0.9029622063329928,
"y": 0.3461028192371476,
"category": "spawn",
"label": "PMC spawn",
"source": "OVERLAYS/Overlay/Overlay_Playerspawn/playerspawn copy 21",
"id": "customs-72661212f14f",
"mapId": "customs"
},
{
"x": 0.13291624106230848,
"y": 0.35306799336650085,
"category": "spawn",
"label": "PMC spawn",
"source": "OVERLAYS/Overlay/Overlay_Playerspawn/playerspawn copy 9",
"id": "customs-7354b5ed9c33",
"mapId": "customs"
},
{
"x": 0.12512768130745658,
"y": 0.4582089552238806,
"category": "spawn",
"label": "PMC spawn",
"source": "OVERLAYS/Overlay/Overlay_Playerspawn/playerspawn copy 7",
"id": "customs-85556b9d8e30",
"mapId": "customs"
},
{
"x": 0.351123595505618,
"y": 0.4044776119402985,
"category": "spawn",
"label": "PMC spawn",
"source": "OVERLAYS/Overlay/Overlay_Playerspawn/playerspawn copy 13",
"id": "customs-886a7e584942",
"mapId": "customs"
},
{
"x": 0.6735188968335035,
"y": 0.77893864013267,
"category": "spawn",
"label": "PMC spawn",
"source": "OVERLAYS/Overlay/Overlay_Playerspawn/playerspawn copy 17",
"id": "customs-9e0559b93ba9",
"mapId": "customs"
},
{
"x": 0.14632277834525026,
"y": 0.6718076285240464,
"category": "spawn",
"label": "PMC spawn",
"source": "OVERLAYS/Overlay/Overlay_Playerspawn/playerspawn copy 5",
"id": "customs-a119a82e3859",
"mapId": "customs"
},
{
"x": 0.38508682328907046,
"y": 0.2396351575456053,
"category": "spawn",
"label": "PMC spawn",
"source": "OVERLAYS/Overlay/Overlay_Playerspawn/playerspawn copy 14",
"id": "customs-b226c6d28a0e",
"mapId": "customs"
},
{
"x": 0.22880490296220635,
"y": 0.39850746268656717,
"category": "spawn",
"label": "PMC spawn",
"source": "OVERLAYS/Overlay/Overlay_Playerspawn/playerspawn copy 11",
"id": "customs-c6c0f982ee76",
"mapId": "customs"
},
{
"x": 0.2708120531154239,
"y": 0.8867330016583748,
"category": "spawn",
"label": "PMC spawn",
"source": "OVERLAYS/Overlay/Overlay_Playerspawn/playerspawn copy",
"id": "customs-d124b0abd9d0",
"mapId": "customs"
},
{
"x": 0.5980592441266599,
"y": 0.3703150912106136,
"category": "spawn",
"label": "PMC spawn",
"source": "OVERLAYS/Overlay/Overlay_Playerspawn/playerspawn copy 15",
"id": "customs-d3b43a37024f",
"mapId": "customs"
},
{
"x": 0.8557201225740552,
"y": 0.587893864013267,
"category": "spawn",
"label": "PMC spawn",
"source": "OVERLAYS/Overlay/Overlay_Playerspawn/playerspawn copy 27",
"id": "customs-d40d79856598",
"mapId": "customs"
},
{
"x": 0.1610061287027579,
"y": 0.8714759535655058,
"category": "spawn",
"label": "PMC spawn",
"source": "OVERLAYS/Overlay/Overlay_Playerspawn/playerspawn copy 3",
"id": "customs-d95aeebf22ee",
"mapId": "customs"
},
{
"x": 0.8042645556690501,
"y": 0.5003316749585406,
"category": "spawn",
"label": "PMC spawn",
"source": "OVERLAYS/Overlay/Overlay_Playerspawn/playerspawn copy 26",
"id": "customs-f11e8989f1e8",
"mapId": "customs"
},
{
"x": 0.07941777323799795,
"y": 0.39917081260364845,
"category": "spawn",
"label": "PMC spawn",
"source": "OVERLAYS/Overlay/Overlay_Playerspawn/playerspawn copy 8",
"id": "customs-fba89d253aa6",
"mapId": "customs"
},
{
"x": 0.045965270684371805,
"y": 0.818407960199005,
"category": "transit",
"label": "RESERVE TRANSIT",
"source": "OVERLAYS/Overlay/Overlay_Captions/Transit/RESERVE TRANSIT",
"id": "customs-9f7c39f76080",
"mapId": "customs"
},
{
"x": 0.6399387129724209,
"y": 0.8479270315091211,
"category": "transit",
"label": "SHORELINE TRANSIT",
"source": "OVERLAYS/Overlay/Overlay_Captions/Transit/SHORELINE TRANSIT",
"id": "customs-bcc687bd5d10",
"mapId": "customs"
},
{
"x": 0.3282686414708887,
"y": 0.22570480928689884,
"category": "transit",
"label": "FACTORY TRANSIT",
"source": "OVERLAYS/Overlay/Overlay_Captions/Transit/FACTORY TRANSIT",
"id": "customs-d9217df987d4",
"mapId": "customs"
},
{
"x": 0.9765066394279878,
"y": 0.19502487562189055,
"category": "transit",
"label": "INTERCHANGE TRANSIT",
"source": "OVERLAYS/Overlay/Overlay_Captions/Transit/INTERCHANGE TRANSIT",
"id": "customs-de8d60eb3e38",
"mapId": "customs"
}
]
}
File diff suppressed because it is too large. Load diff
+555
View File
@@ -0,0 +1,555 @@
{
"version": 2,
"mapId": "lighthouse",
"markers": [
{
"x": 0.7151592202445817,
"y": 0.530952380952381,
"category": "boss",
"label": "Boss area",
"source": "NewOverlay/Goons/Goons",
"id": "lighthouse-795b5dcaa087",
"mapId": "lighthouse"
},
{
"x": 0.7151592202445817,
"y": 0.16547619047619047,
"category": "boss",
"label": "Boss area",
"source": "NewOverlay/Goons/Goons",
"id": "lighthouse-8af3e5b39c00",
"mapId": "lighthouse"
},
{
"x": 0.6241070347499698,
"y": 0.2306878306878307,
"category": "boss",
"label": "Boss area",
"source": "NewOverlay/Goons/Goons",
"id": "lighthouse-fd2a7675dbef",
"mapId": "lighthouse"
},
{
"x": 0.7709771158735924,
"y": 0.8235449735449736,
"category": "cache",
"label": "Cache",
"source": "NewOverlay/Caches/Cache",
"id": "lighthouse-1d93fecefebe",
"mapId": "lighthouse"
},
{
"x": 0.9379464826250151,
"y": 0.4332010582010582,
"category": "cache",
"label": "Cache",
"source": "NewOverlay/Caches/Cache",
"id": "lighthouse-26bd27068ca6",
"mapId": "lighthouse"
},
{
"x": 0.7449449085845744,
"y": 0.12433862433862433,
"category": "cache",
"label": "Cache",
"source": "NewOverlay/Caches/Cache",
"id": "lighthouse-2b76c5d61236",
"mapId": "lighthouse"
},
{
"x": 0.9318924809298946,
"y": 0.358994708994709,
"category": "cache",
"label": "Cache",
"source": "NewOverlay/Caches/Cache",
"id": "lighthouse-363bbfb9395c",
"mapId": "lighthouse"
},
{
"x": 0.7910764015013925,
"y": 0.22473544973544973,
"category": "cache",
"label": "Cache",
"source": "NewOverlay/Caches/Cache",
"id": "lighthouse-5c07c4386df6",
"mapId": "lighthouse"
},
{
"x": 0.6666061266497154,
"y": 0.9014550264550265,
"category": "cache",
"label": "Cache",
"source": "NewOverlay/Caches/Cache",
"id": "lighthouse-5c88a1398547",
"mapId": "lighthouse"
},
{
"x": 0.8528272187916213,
"y": 0.2261904761904762,
"category": "cache",
"label": "Cache",
"source": "NewOverlay/Caches/Cache",
"id": "lighthouse-5cbd3d9e55f5",
"mapId": "lighthouse"
},
{
"x": 0.7203656617023853,
"y": 0.039285714285714285,
"category": "cache",
"label": "Cache",
"source": "NewOverlay/Caches/Cache",
"id": "lighthouse-67bb41dac714",
"mapId": "lighthouse"
},
{
"x": 0.5701053396294951,
"y": 0.2771164021164021,
"category": "cache",
"label": "Cache",
"source": "NewOverlay/Caches/Cache",
"id": "lighthouse-6b429f288153",
"mapId": "lighthouse"
},
{
"x": 0.578944182104371,
"y": 0.7330687830687831,
"category": "cache",
"label": "Cache",
"source": "NewOverlay/Caches/Cache",
"id": "lighthouse-6e1f29637762",
"mapId": "lighthouse"
},
{
"x": 0.5699842595955927,
"y": 0.192989417989418,
"category": "cache",
"label": "Cache",
"source": "NewOverlay/Caches/Cache",
"id": "lighthouse-7c63cbd6cc4b",
"mapId": "lighthouse"
},
{
"x": 0.6162368325463131,
"y": 0.7888888888888889,
"category": "cache",
"label": "Cache",
"source": "NewOverlay/Caches/Cache",
"id": "lighthouse-8c0e60199a54",
"mapId": "lighthouse"
},
{
"x": 0.5849981837994914,
"y": 0.11177248677248677,
"category": "cache",
"label": "Cache",
"source": "NewOverlay/Caches/Cache",
"id": "lighthouse-90ef9b9da8c3",
"mapId": "lighthouse"
},
{
"x": 0.7266618234653106,
"y": 0.7792328042328043,
"category": "cache",
"label": "Cache",
"source": "NewOverlay/Caches/Cache",
"id": "lighthouse-a6e623639cba",
"mapId": "lighthouse"
},
{
"x": 0.6302821164789926,
"y": 0.41243386243386243,
"category": "cache",
"label": "Cache",
"source": "NewOverlay/Caches/Cache",
"id": "lighthouse-af20bbb151f6",
"mapId": "lighthouse"
},
{
"x": 0.6296767163094805,
"y": 0.8771164021164021,
"category": "cache",
"label": "Cache",
"source": "NewOverlay/Caches/Cache",
"id": "lighthouse-c5cbe65e6582",
"mapId": "lighthouse"
},
{
"x": 0.7577793921782298,
"y": 0.6604497354497354,
"category": "cache",
"label": "Cache",
"source": "NewOverlay/Caches/Cache",
"id": "lighthouse-d6fdc579f9f2",
"mapId": "lighthouse"
},
{
"x": 0.6258021552246035,
"y": 0.6453703703703704,
"category": "cache",
"label": "Cache",
"source": "NewOverlay/Caches/Cache",
"id": "lighthouse-da414c8b0a14",
"mapId": "lighthouse"
},
{
"x": 0.7145538200750696,
"y": 0.717989417989418,
"category": "cache",
"label": "Cache",
"source": "NewOverlay/Caches/Cache",
"id": "lighthouse-dfc6ad771122",
"mapId": "lighthouse"
},
{
"x": 0.8358760140452839,
"y": 0.26706349206349206,
"category": "cache",
"label": "Cache",
"source": "NewOverlay/Caches/Cache",
"id": "lighthouse-e8927d5b80e5",
"mapId": "lighthouse"
},
{
"x": 0.9114299552003875,
"y": 0.2562830687830688,
"category": "extract-hidden",
"label": "PASSAGE BY THE LAKE",
"source": "ExtractNames/Neutral/PASSAGE BY THE LAKE",
"id": "lighthouse-5c45ba80961f",
"mapId": "lighthouse"
},
{
"x": 0.7221213221939702,
"y": 0.7558201058201058,
"category": "extract-neutral",
"label": "SIDE TUNNEL",
"source": "ExtractNames/Neutral/SIDE TUNNEL",
"id": "lighthouse-1dbc2b60eb8a",
"mapId": "lighthouse"
},
{
"x": 0.6486257416152077,
"y": 0.10357142857142858,
"category": "extract-neutral",
"label": "ARMORED TRAIN",
"source": "ExtractNames/Neutral/ARMORED TRAIN",
"id": "lighthouse-3e26943bc70f",
"mapId": "lighthouse"
},
{
"x": 0.8763772853856399,
"y": 0.5,
"category": "extract-neutral",
"label": "PATH TO SHORELINE",
"source": "ExtractNames/Neutral/PATH TO SHORELINE",
"id": "lighthouse-c01649a1b232",
"mapId": "lighthouse"
},
{
"x": 0.8218912701295557,
"y": 0.8124338624338624,
"category": "extract-pmc",
"label": "SOUTHERN ROAD",
"source": "ExtractNames/PMC/SOUTHERN ROAD",
"id": "lighthouse-0b05f091922e",
"mapId": "lighthouse"
},
{
"x": 0.7509383702627437,
"y": 0.5452380952380952,
"category": "extract-pmc",
"label": "MOUNTAIN PASS",
"source": "ExtractNames/PMC/MOUNTAIN PASS",
"id": "lighthouse-21b971e3df9a",
"mapId": "lighthouse"
},
{
"x": 0.5757355612059571,
"y": 0.04775132275132275,
"category": "extract-pmc",
"label": "NORTHERN CHECKPOINT",
"source": "ExtractNames/PMC/NORTHERN CHECKPOINT",
"id": "lighthouse-2beab5ec57a9",
"mapId": "lighthouse"
},
{
"x": 0.8653590023005207,
"y": 0.13994708994708996,
"category": "extract-pmc",
"label": "ROAD TO MILITARY BASE V-EX",
"source": "ExtractNames/PMC/ROAD TO MILITARY BASE V-EX",
"id": "lighthouse-8a66e9466467",
"mapId": "lighthouse"
},
{
"x": 0.5254873471364572,
"y": 0.30846560846560844,
"category": "extract-scav",
"label": "SCAV HIDEOUT AT THE GROTTO",
"source": "ExtractNames/Scav/SCAV HIDEOUT AT THE GROTTO",
"id": "lighthouse-4d943d2cc9c8",
"mapId": "lighthouse"
},
{
"x": 0.5757355612059571,
"y": 0.7326719576719577,
"category": "extract-scav",
"label": "HIDEOUT UNDER LANDING STAGE",
"source": "ExtractNames/Scav/HIDEOUT UNDER LANDING STAGE",
"id": "lighthouse-5e50efd6c093",
"mapId": "lighthouse"
},
{
"x": 0.8366630342656496,
"y": 0.8123015873015873,
"category": "extract-scav",
"label": "SOUTH ROAD LANDSLIDE",
"source": "ExtractNames/Scav/SOUTH ROAD LANDSLIDE",
"id": "lighthouse-dc42df91c82e",
"mapId": "lighthouse"
},
{
"x": 0.7528756508051823,
"y": 0.13333333333333333,
"category": "extract-scav",
"label": "INDUSTRIAL ZONE GATES",
"source": "ExtractNames/Scav/INDUSTRIAL ZONE GATES",
"id": "lighthouse-f5b5e1c54e40",
"mapId": "lighthouse"
},
{
"x": 0.5908705654437584,
"y": 0.7389550264550264,
"category": "scav",
"label": "Scav area",
"source": "NewOverlay/AIScavs/AI Scavs",
"id": "lighthouse-0efb358d3949",
"mapId": "lighthouse"
},
{
"x": 0.4886790168301247,
"y": 0.7482804232804233,
"category": "scav",
"label": "Hbox",
"source": "Overlay/Boxes and Letters/Scav boxes/Hbox",
"id": "lighthouse-127d5904a942",
"mapId": "lighthouse"
},
{
"x": 0.7353190458893328,
"y": 0.6089285714285714,
"category": "scav",
"label": "Scav area",
"source": "NewOverlay/AIScavs/AI Scavs",
"id": "lighthouse-3802c245ce07",
"mapId": "lighthouse"
},
{
"x": 0.6405133793437462,
"y": 0.12043650793650794,
"category": "scav",
"label": "Scav area",
"source": "NewOverlay/AIScavs/AI Scavs",
"id": "lighthouse-51e1455e9816",
"mapId": "lighthouse"
},
{
"x": 0.8115994672478508,
"y": 0.3823412698412698,
"category": "scav",
"label": "Scav area",
"source": "NewOverlay/AIScavs/AI Scavs",
"id": "lighthouse-544c4c101c80",
"mapId": "lighthouse"
},
{
"x": 0.6514105823949631,
"y": 0.44966931216931216,
"category": "scav",
"label": "Scav area",
"source": "NewOverlay/AIScavs/AI Scavs",
"id": "lighthouse-684b69d0fec1",
"mapId": "lighthouse"
},
{
"x": 0.4091294345562417,
"y": 0.8439814814814814,
"category": "scav",
"label": "Scav area",
"source": "NewOverlay/AIScavs/AI Scavs",
"id": "lighthouse-960efccccb67",
"mapId": "lighthouse"
},
{
"x": 0.4886790168301247,
"y": 0.3104497354497355,
"category": "scav",
"label": "Gbox",
"source": "Overlay/Boxes and Letters/Scav boxes/Gbox",
"id": "lighthouse-b3332be6ae81",
"mapId": "lighthouse"
},
{
"x": 0.703717157040804,
"y": 0.5163359788359788,
"category": "scav",
"label": "Scav area",
"source": "NewOverlay/AIScavs/AI Scavs",
"id": "lighthouse-c5a36dfd6ba0",
"mapId": "lighthouse"
},
{
"x": 0.7654679743310329,
"y": 0.44583333333333336,
"category": "scav",
"label": "Scav area",
"source": "NewOverlay/AIScavs/AI Scavs",
"id": "lighthouse-fb0738dfb2c5",
"mapId": "lighthouse"
},
{
"x": 0.8619687613512532,
"y": 0.9314814814814815,
"category": "scav",
"label": "Lbox",
"source": "Overlay/Boxes and Letters/Scav boxes/Lbox",
"id": "lighthouse-ff4a0454e9c5",
"mapId": "lighthouse"
},
{
"x": 0.9065867538442911,
"y": 0.34120370370370373,
"category": "spawn",
"label": "PMC spawn",
"source": "NewOverlay/PMCSpawn/PMCSpawn",
"id": "lighthouse-21eed6b96f3f",
"mapId": "lighthouse"
},
{
"x": 0.5756750211890059,
"y": 0.6146164021164021,
"category": "spawn",
"label": "PMC spawn",
"source": "NewOverlay/PMCSpawn/PMCSpawn",
"id": "lighthouse-2d13c3aae28a",
"mapId": "lighthouse"
},
{
"x": 0.5923840658675384,
"y": 0.8253306878306879,
"category": "spawn",
"label": "PMC spawn",
"source": "NewOverlay/PMCSpawn/PMCSpawn",
"id": "lighthouse-3a827ea03227",
"mapId": "lighthouse"
},
{
"x": 0.6930015740404407,
"y": 0.759457671957672,
"category": "spawn",
"label": "PMC spawn",
"source": "NewOverlay/PMCSpawn/PMCSpawn",
"id": "lighthouse-412bfa7b8667",
"mapId": "lighthouse"
},
{
"x": 0.6541348831577672,
"y": 0.5240079365079365,
"category": "spawn",
"label": "PMC spawn",
"source": "NewOverlay/PMCSpawn/PMCSpawn",
"id": "lighthouse-4b2f953a9c61",
"mapId": "lighthouse"
},
{
"x": 0.6185373531904589,
"y": 0.7316798941798942,
"category": "spawn",
"label": "PMC spawn",
"source": "NewOverlay/PMCSpawn/PMCSpawn",
"id": "lighthouse-55f492be4cb2",
"mapId": "lighthouse"
},
{
"x": 0.8910885095047827,
"y": 0.27374338624338623,
"category": "spawn",
"label": "PMC spawn",
"source": "NewOverlay/PMCSpawn/PMCSpawn",
"id": "lighthouse-901a205f200b",
"mapId": "lighthouse"
},
{
"x": 0.7381644266860394,
"y": 0.8595899470899471,
"category": "spawn",
"label": "PMC spawn",
"source": "NewOverlay/PMCSpawn/PMCSpawn",
"id": "lighthouse-9c3b077c0e0e",
"mapId": "lighthouse"
},
{
"x": 0.5761593413246155,
"y": 0.48697089947089944,
"category": "spawn",
"label": "PMC spawn",
"source": "NewOverlay/PMCSpawn/PMCSpawn",
"id": "lighthouse-bd3f647417f9",
"mapId": "lighthouse"
},
{
"x": 0.7977358033660249,
"y": 0.46355820105820106,
"category": "spawn",
"label": "PMC spawn",
"source": "NewOverlay/PMCSpawn/PMCSpawn",
"id": "lighthouse-c8c33f69faa6",
"mapId": "lighthouse"
},
{
"x": 0.7614117931953021,
"y": 0.4904100529100529,
"category": "spawn",
"label": "PMC spawn",
"source": "NewOverlay/PMCSpawn/PMCSpawn",
"id": "lighthouse-ee9a1fa70a49",
"mapId": "lighthouse"
},
{
"x": 0.7506356701779876,
"y": 0.6987433862433863,
"category": "spawn",
"label": "PMC spawn",
"source": "NewOverlay/PMCSpawn/PMCSpawn",
"id": "lighthouse-f2bc8383037c",
"mapId": "lighthouse"
},
{
"x": 0.8377527545707713,
"y": 0.12301587301587301,
"category": "transit",
"label": "TRANSIT TO RESERVE",
"source": "ExtractNames/Transit/TRANSIT TO RESERVE",
"id": "lighthouse-482123395a57",
"mapId": "lighthouse"
},
{
"x": 0.5371110303910885,
"y": 0.05992063492063492,
"category": "transit",
"label": "TRANSIT TO WOODS",
"source": "ExtractNames/Transit/TRANSIT TO WOODS",
"id": "lighthouse-5e60d5ddfb70",
"mapId": "lighthouse"
},
{
"x": 0.9137910158614845,
"y": 0.4808201058201058,
"category": "transit",
"label": "TRANSIT TO SHORELINE",
"source": "ExtractNames/Transit/TRANSIT TO SHORELINE",
"id": "lighthouse-7c85b5739ab8",
"mapId": "lighthouse"
}
]
}
+411
View File
@@ -0,0 +1,411 @@
{
"version": 2,
"mapId": "reserve",
"markers": [
{
"x": 0.36323784722222224,
"y": 0.3064043209876543,
"category": "boss",
"label": "Boss area",
"source": "New_ONMAP/Icons/BOSS/BOSS",
"id": "reserve-06b86149b79a",
"mapId": "reserve"
},
{
"x": 0.7746527777777777,
"y": 0.8270061728395062,
"category": "boss",
"label": "Boss area",
"source": "New_ONMAP/Icons/BOSS/BOSS",
"id": "reserve-0df1bde4dcff",
"mapId": "reserve"
},
{
"x": 0.41024305555555557,
"y": 0.17916666666666667,
"category": "boss",
"label": "Boss area",
"source": "New_ONMAP/Icons/BOSS/BOSS",
"id": "reserve-2c3ce627f529",
"mapId": "reserve"
},
{
"x": 0.7954861111111111,
"y": 0.3476851851851852,
"category": "boss",
"label": "Boss area",
"source": "New_ONMAP/Icons/BOSS/BOSS",
"id": "reserve-38ea1f2ec76c",
"mapId": "reserve"
},
{
"x": 0.7237847222222222,
"y": 0.2631172839506173,
"category": "boss",
"label": "Boss area",
"source": "New_ONMAP/Icons/BOSS/BOSS",
"id": "reserve-acb49fa0662d",
"mapId": "reserve"
},
{
"x": 0.38515625,
"y": 0.05324074074074074,
"category": "extract-hidden",
"label": "EXIT TO WOODS",
"source": "New_ONMAP/ExfilNames/Hidden/EXIT TO WOODS",
"id": "reserve-e58d239cf4b2",
"mapId": "reserve"
},
{
"x": 0.2654947916666667,
"y": 0.21736111111111112,
"category": "extract-neutral",
"label": "ARMORED TRAIN",
"source": "New_ONMAP/ExfilNames/Transits/ARMORED TRAIN",
"id": "reserve-773006408d0c",
"mapId": "reserve"
},
{
"x": 0.6537326388888889,
"y": 0.05933641975308642,
"category": "extract-neutral",
"label": "SCAV LANDS",
"source": "New_ONMAP/ExfilNames/Transits/SCAV LANDS",
"id": "reserve-954e2a583a7f",
"mapId": "reserve"
},
{
"x": 0.3747829861111111,
"y": 0.14429012345679013,
"category": "extract-neutral",
"label": "BUNKER HERMETIC DOOR",
"source": "New_ONMAP/ExfilNames/Transits/BUNKER HERMETIC DOOR",
"id": "reserve-a66c1d393995",
"mapId": "reserve"
},
{
"x": 0.5835069444444444,
"y": 0.729783950617284,
"category": "extract-pmc",
"label": "CLIFF DESCENT",
"source": "New_ONMAP/ExfilNames/PMC/CLIFF DESCENT",
"id": "reserve-8e0c9d8b065b",
"mapId": "reserve"
},
{
"x": 0.4375,
"y": 0.48811728395061726,
"category": "extract-pmc",
"label": "SEWER MANHOLE",
"source": "New_ONMAP/ExfilNames/Transits/SEWER MANHOLE",
"id": "reserve-9382c4d894c8",
"mapId": "reserve"
},
{
"x": 0.48272569444444446,
"y": 0.027083333333333334,
"category": "extract-scav",
"label": "HEATING PIPE",
"source": "New_ONMAP/ExfilNames/SCAV/HEATING PIPE",
"id": "reserve-402e826c5832",
"mapId": "reserve"
},
{
"x": 0.715625,
"y": 0.8433641975308642,
"category": "extract-scav",
"label": "DEPOT HERMETIC DOOR",
"source": "New_ONMAP/ExfilNames/SCAV/DEPOT HERMETIC DOOR",
"id": "reserve-5c1fd13270a2",
"mapId": "reserve"
},
{
"x": 0.2655815972222222,
"y": 0.3053240740740741,
"category": "extract-scav",
"label": "DEPOT HERMETIC DOOR (UNDERGROUND)",
"source": "New_ONMAP/ExfilNames/SCAV/DEPOT HERMETIC DOOR (UNDERGROUND)",
"id": "reserve-79cd5266a8b8",
"mapId": "reserve"
},
{
"x": 0.9802951388888889,
"y": 0.3090277777777778,
"category": "extract-scav",
"label": "HOLE IN THE WALL BY THE MOUNTAINS",
"source": "New_ONMAP/ExfilNames/SCAV/HOLE IN THE WALL BY THE MOUNTAINS",
"id": "reserve-c9352592a1fa",
"mapId": "reserve"
},
{
"x": 0.5033854166666667,
"y": 0.6575617283950618,
"category": "extract-scav",
"label": "CHECKPOINT FENCE",
"source": "New_ONMAP/ExfilNames/SCAV/CHECKPOINT FENCE",
"id": "reserve-cd5925657f72",
"mapId": "reserve"
},
{
"x": 0.7163194444444444,
"y": 0.35,
"category": "scav",
"label": "Scav area",
"source": "New_ONMAP/Icons/AIScav/AI SCAV",
"id": "reserve-01e025b63ed8",
"mapId": "reserve"
},
{
"x": 0.2126736111111111,
"y": 0.3984567901234568,
"category": "scav",
"label": "Scav area",
"source": "New_ONMAP/Icons/AIScav/AI SCAV",
"id": "reserve-0ef59a76af05",
"mapId": "reserve"
},
{
"x": 0.4348958333333333,
"y": 0.33425925925925926,
"category": "scav",
"label": "Scav area",
"source": "New_ONMAP/Icons/AIScav/AI SCAV",
"id": "reserve-38eb9bd3b1f3",
"mapId": "reserve"
},
{
"x": 0.6055555555555555,
"y": 0.3197530864197531,
"category": "scav",
"label": "Scav area",
"source": "New_ONMAP/Icons/AIScav/AI SCAV",
"id": "reserve-44140b18cd81",
"mapId": "reserve"
},
{
"x": 0.7953125,
"y": 0.3743827160493827,
"category": "scav",
"label": "Scav area",
"source": "New_ONMAP/Icons/AIScav/AI SCAV",
"id": "reserve-4e5cbc81ee68",
"mapId": "reserve"
},
{
"x": 0.31840277777777776,
"y": 0.07716049382716049,
"category": "scav",
"label": "Scav area",
"source": "New_ONMAP/Icons/AIScav/AI SCAV",
"id": "reserve-60c71cbb81ba",
"mapId": "reserve"
},
{
"x": 0.42413194444444446,
"y": 0.1787037037037037,
"category": "scav",
"label": "Scav area",
"source": "New_ONMAP/Icons/AIScav/AI SCAV",
"id": "reserve-725a34ba3b34",
"mapId": "reserve"
},
{
"x": 0.9135416666666667,
"y": 0.6839506172839506,
"category": "scav",
"label": "Scav area",
"source": "New_ONMAP/Icons/AIScav/AI SCAV",
"id": "reserve-799e92ecdefc",
"mapId": "reserve"
},
{
"x": 0.6083333333333333,
"y": 0.24537037037037038,
"category": "scav",
"label": "Scav area",
"source": "New_ONMAP/Icons/AIScav/AI SCAV",
"id": "reserve-911583aed3b7",
"mapId": "reserve"
},
{
"x": 0.15416666666666667,
"y": 0.1515432098765432,
"category": "scav",
"label": "Scav area",
"source": "New_ONMAP/Icons/AIScav/AI SCAV",
"id": "reserve-c7ce956e120e",
"mapId": "reserve"
},
{
"x": 0.7305555555555555,
"y": 0.4623456790123457,
"category": "scav",
"label": "Scav area",
"source": "New_ONMAP/Icons/AIScav/AI SCAV",
"id": "reserve-f18115e3f62e",
"mapId": "reserve"
},
{
"x": 0.4818576388888889,
"y": 0.36450617283950615,
"category": "spawn",
"label": "PMC spawn",
"source": "New_ONMAP/Icons/PMCSpawn/PMC SPAWN",
"id": "reserve-4f69ce8ef41b",
"mapId": "reserve"
},
{
"x": 0.4908854166666667,
"y": 0.08425925925925926,
"category": "spawn",
"label": "PMC spawn",
"source": "New_ONMAP/Icons/PMCSpawn/PMC SPAWN",
"id": "reserve-5a7335e725ca",
"mapId": "reserve"
},
{
"x": 0.35147569444444443,
"y": 0.3030864197530864,
"category": "spawn",
"label": "PMC spawn",
"source": "New_ONMAP/Icons/PMCSpawn/PMC SPAWN",
"id": "reserve-65f8b6cef233",
"mapId": "reserve"
},
{
"x": 0.43602430555555555,
"y": 0.49907407407407406,
"category": "spawn",
"label": "PMC spawn",
"source": "New_ONMAP/Icons/PMCSpawn/PMC SPAWN",
"id": "reserve-874ed0892d69",
"mapId": "reserve"
},
{
"x": 0.7509548611111111,
"y": 0.6314814814814815,
"category": "spawn",
"label": "PMC spawn",
"source": "New_ONMAP/Icons/PMCSpawn/PMC SPAWN",
"id": "reserve-a9366a0672a1",
"mapId": "reserve"
},
{
"x": 0.19036458333333334,
"y": 0.05277777777777778,
"category": "spawn",
"label": "PMC spawn",
"source": "New_ONMAP/Icons/PMCSpawn/PMC SPAWN",
"id": "reserve-b7c49fa8d321",
"mapId": "reserve"
},
{
"x": 0.6860243055555556,
"y": 0.24290123456790125,
"category": "spawn",
"label": "PMC spawn",
"source": "New_ONMAP/Icons/PMCSpawn/PMC SPAWN",
"id": "reserve-c50f7ccf4dfe",
"mapId": "reserve"
},
{
"x": 0.2837673611111111,
"y": 0.462037037037037,
"category": "spawn",
"label": "PMC spawn",
"source": "New_ONMAP/Icons/PMCSpawn/PMC SPAWN",
"id": "reserve-ce22c020488f",
"mapId": "reserve"
},
{
"x": 0.5846354166666666,
"y": 0.36728395061728397,
"category": "spawn",
"label": "PMC spawn",
"source": "New_ONMAP/Icons/PMCSpawn/PMC SPAWN",
"id": "reserve-d028dbbf7821",
"mapId": "reserve"
},
{
"x": 0.3412326388888889,
"y": 0.09166666666666666,
"category": "spawn",
"label": "PMC spawn",
"source": "New_ONMAP/Icons/PMCSpawn/PMC SPAWN",
"id": "reserve-d2387b098962",
"mapId": "reserve"
},
{
"x": 0.17977430555555557,
"y": 0.26481481481481484,
"category": "spawn",
"label": "PMC spawn",
"source": "New_ONMAP/Icons/PMCSpawn/PMC SPAWN",
"id": "reserve-d931552d8f14",
"mapId": "reserve"
},
{
"x": 0.6587673611111111,
"y": 0.09104938271604938,
"category": "spawn",
"label": "PMC spawn",
"source": "New_ONMAP/Icons/PMCSpawn/PMC SPAWN",
"id": "reserve-de17cffe2eac",
"mapId": "reserve"
},
{
"x": 0.19296875,
"y": 0.1814814814814815,
"category": "spawn",
"label": "PMC spawn",
"source": "New_ONMAP/Icons/PMCSpawn/PMC SPAWN",
"id": "reserve-e3b4452492ca",
"mapId": "reserve"
},
{
"x": 0.8141493055555555,
"y": 0.345679012345679,
"category": "spawn",
"label": "PMC spawn",
"source": "New_ONMAP/Icons/PMCSpawn/PMC SPAWN",
"id": "reserve-ef46a85a58d3",
"mapId": "reserve"
},
{
"x": 0.9497395833333333,
"y": 0.754320987654321,
"category": "spawn",
"label": "PMC spawn",
"source": "New_ONMAP/Icons/PMCSpawn/PMC SPAWN",
"id": "reserve-f512e6f317ec",
"mapId": "reserve"
},
{
"x": 0.09652777777777778,
"y": 0.2763888888888889,
"category": "transit",
"label": "LIGHTHOUSE",
"source": "New_ONMAP/ExfilNames/Transits/LIGHTHOUSE",
"id": "reserve-0ebad53ef82e",
"mapId": "reserve"
},
{
"x": 0.7447916666666666,
"y": 0.052006172839506176,
"category": "transit",
"label": "CUSTOMS",
"source": "New_ONMAP/ExfilNames/Transits/CUSTOMS",
"id": "reserve-1a462000b86e",
"mapId": "reserve"
},
{
"x": 0.12239583333333333,
"y": 0.14737654320987653,
"category": "transit",
"label": "WOODS",
"source": "New_ONMAP/ExfilNames/Transits/WOODS",
"id": "reserve-b3f1d35145a4",
"mapId": "reserve"
}
]
}
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+10
View File
@@ -0,0 +1,10 @@
{
"version": 1,
"overrides": {
"woods-dde51526a468": {
"x": 0.57379,
"y": 0.857226
}
},
"added": []
}
+27
View File
@@ -17,10 +17,15 @@
<section id="placement-tools">
<div class="layer-actions">
<button id="toggle-markers" type="button" aria-pressed="true">Markers</button>
<details id="marker-settings">
<summary>Marker categories</summary>
<div id="marker-categories"></div>
</details>
</div>
<div class="editor-mode-actions">
<button id="edit-placement" type="button" disabled>Placement</button>
<button id="edit-trim" type="button" disabled>Trim area</button>
<button id="edit-markers" type="button" disabled>Marker edit</button>
</div>
<div id="placement-editor" hidden>
<strong id="placement-name"></strong>
@@ -56,6 +61,28 @@
<button id="trim-save" type="button">Save trim</button>
<output id="trim-status" role="status"></output>
</div>
<div id="marker-editor" hidden>
<strong id="marker-editor-name"></strong>
<p>Click a marker to edit it, or drag it to save a new position.</p>
<button id="marker-drop" type="button" aria-pressed="false">Drop new marker</button>
<div id="marker-fields" hidden>
<label class="marker-field">
Name
<input id="marker-label" type="text" maxlength="160" autocomplete="off">
</label>
<label class="marker-field">
Category
<select id="marker-category"></select>
</label>
<output id="marker-map-name"></output>
<div class="placement-actions">
<button id="marker-delete" type="button">Delete</button>
<button id="marker-cancel" type="button">Cancel</button>
<button id="marker-save" type="button">Save marker</button>
</div>
</div>
<output id="marker-edit-status" role="status"></output>
</div>
</section>
</details>
+135 -23
View File
@@ -123,15 +123,64 @@ html, body {
.layer-actions button { width: 100%; min-height: 38px; }
.layer-actions button[aria-pressed="true"] { border-color: #57806a; color: var(--accent); }
.layer-actions button[aria-pressed="false"] { opacity: .65; }
#marker-settings {
margin-top: 7px;
border: 1px solid var(--line);
border-radius: 5px;
background: #171b20;
}
#marker-settings > summary {
padding: 8px 10px;
color: var(--muted);
cursor: pointer;
font-size: 12px;
}
#marker-categories {
max-height: 32vh;
padding: 0 9px 8px;
overflow-y: auto;
}
#marker-categories fieldset { margin: 7px 0 0; padding: 3px 0 0; border: 0; }
#marker-categories legend {
color: var(--muted);
font-size: 10px;
font-weight: 700;
letter-spacing: .06em;
text-transform: uppercase;
}
#marker-categories label {
display: grid;
grid-template-columns: 18px 22px 1fr;
align-items: center;
gap: 5px;
min-height: 29px;
color: #d5d9df;
font-size: 11px;
cursor: pointer;
}
#marker-categories input { accent-color: var(--accent); }
.marker-category-swatch {
display: grid;
width: 19px;
height: 19px;
place-items: center;
border: 1px solid #fff9;
border-radius: 50%;
color: white;
font-size: 10px;
line-height: 1;
}
.editor-mode-actions { display: flex; gap: 7px; }
.editor-mode-actions button { flex: 1; }
.editor-mode-actions button:disabled { cursor: default; opacity: .45; }
.editor-mode-actions button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
#placement-editor,
#trim-editor { padding-top: 10px; }
#trim-editor,
#marker-editor { padding-top: 10px; }
#placement-editor p,
#trim-editor p { margin: 5px 0 9px; color: var(--muted); font-size: 12px; }
#trim-editor p,
#marker-editor p { margin: 5px 0 9px; color: var(--muted); font-size: 12px; }
.coordinate-fields,
.placement-actions {
@@ -193,6 +242,49 @@ html, body {
cursor: pointer;
}
#marker-drop {
width: 100%;
min-height: 38px;
border: 1px solid var(--line);
border-radius: 5px;
background: #2a3038;
color: var(--text);
cursor: pointer;
}
#marker-drop[aria-pressed="true"] { border-color: #ffcf4a; color: #ffcf4a; }
#marker-fields { margin-top: 9px; }
.marker-field {
display: block;
margin-top: 7px;
color: var(--muted);
font-size: 11px;
}
.marker-field input,
.marker-field select {
display: block;
width: 100%;
margin-top: 3px;
padding: 7px;
border: 1px solid var(--line);
border-radius: 4px;
background: #14171c;
color: var(--text);
}
#marker-map-name,
#marker-edit-status {
display: block;
min-height: 17px;
margin-top: 7px;
color: var(--muted);
font-size: 11px;
}
#marker-edit-status[data-error="true"] { color: #ff9b94; }
#marker-delete { background: #57292c; border-color: #8b4348; color: #ffd8d5; }
#marker-save { background: #27513a; border-color: #3f7957; }
#map.marker-editing .poi-icon { cursor: grab; }
#map.marker-editing .poi-icon:active { cursor: grabbing; }
#map.marker-dropping { cursor: crosshair; }
/* --- semantic marker layer ----------------------------------------- */
.leaflet-marker-icon.poi-icon {
@@ -203,21 +295,35 @@ html, body {
.poi-content { position: absolute; inset: 0; }
.poi-leader {
position: absolute;
z-index: 1;
display: none;
height: 2px;
border-radius: 2px;
background: #eef3f6e6;
box-shadow: 0 0 0 1px #10161dcc, 0 1px 3px #000b;
pointer-events: none;
transform-origin: 0 50%;
}
.poi-dot {
position: absolute;
z-index: 3;
inset: 0;
display: grid;
place-items: center;
border: 2px solid #f5f7f8;
border-radius: 50%;
background: #3d78a8;
background: var(--marker-color, #3d78a8);
color: white;
font: 700 10px/1 system-ui, sans-serif;
font: 700 clamp(8px, calc(var(--marker-size, 18px) * .55), 15px)/1 system-ui, sans-serif;
box-shadow: 0 1px 4px #000c;
}
.poi-label {
position: absolute;
z-index: 2;
left: 21px;
top: 50%;
width: max-content;
@@ -234,26 +340,32 @@ html, body {
white-space: nowrap;
}
.poi-label-hidden { display: none !important; }
#map:not(.marker-labels-visible) .poi-label { display: none; }
#map.marker-overview .poi-icon { opacity: .7; }
#map.marker-overview .poi-dot { inset: 3px; font-size: 0; border-width: 1px; }
.marker-extract-pmc .poi-dot { background: #39946a; }
.marker-extract-scav .poi-dot { background: #d18a32; }
.marker-extract-neutral .poi-dot { background: #4a9fa5; }
.marker-extract-hidden .poi-dot { background: #7957a6; }
.marker-transit .poi-dot { background: #406fbd; }
.marker-spawn .poi-dot { background: #4f8ac7; }
.marker-scav .poi-dot { background: #c28135; }
.marker-boss .poi-dot { background: #bd3f45; }
.marker-cultist .poi-dot { background: #7552a0; }
.marker-sniper .poi-dot,
.marker-hazard .poi-dot { background: #b43c3c; }
.marker-cache .poi-dot,
.marker-loot .poi-dot { background: #8a7140; }
.marker-key .poi-dot,
.marker-quest .poi-dot { background: #9a7830; }
.marker-location .poi-dot,
.marker-poi .poi-dot { background: #5d6876; }
#map.marker-extract-labels-visible .marker-extract .poi-label { display: block; }
#map.marker-overview .poi-icon:not(.marker-extract) { opacity: .7; }
#map.marker-overview .poi-icon:not(.marker-extract) .poi-dot {
inset: 3px;
font-size: 0;
border-width: 1px;
}
.marker-extract .poi-dot {
border-width: 3px;
box-shadow: 0 0 0 2px #10161cd9, 0 2px 8px #000e;
}
.marker-extract .poi-label { font-size: 12px; font-weight: 750; }
.poi-tooltip {
padding: 6px 8px;
border: 1px solid #5a6470;
background: #12171deF;
color: var(--text);
box-shadow: 0 3px 10px #000a;
}
.poi-tooltip::before { border-top-color: #5a6470 !important; }
.poi-tooltip strong { display: block; font-size: 12px; }
.poi-tooltip span { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.trim-vertex {
width: 14px !important;