[refactor](trx-frontend-http): rename ft8MapAddLocator to mapAddLocator

The function handles FT8, FT4, and WSPR locators so the ft8 prefix
was misleading. Updated all call sites in app.js, ft8.js, ft4.js,
and wspr.js.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Stanislaw Grams <stanislawgrams@gmail.com>
This commit is contained in:
2026-03-14 18:58:57 +01:00
parent 9b8ea37a6e
commit 708c00a84c
4 changed files with 13 additions and 13 deletions
@@ -6522,7 +6522,7 @@ window.syncBookmarkMapLocators = function(bookmarks) {
applyMapFilter();
};
window.ft8MapAddLocator = function(message, grids, type = "ft8", station = null, details = null) {
window.mapAddLocator = function(message, grids, type = "ft8", station = null, details = null) {
if (!Array.isArray(grids) || grids.length === 0) return;
const markerType = type === "wspr" ? "wspr" : (type === "ft4" ? "ft4" : "ft8");
const unique = [...new Set(grids.map((g) => String(g).toUpperCase()))];