refactor(tools): normalize ALPR text once, in the records

Every camera find_alpr_cameras returns comes from the tile source, which builds
it through normalizeAlprNode, so the tags are already one line and capped.
Drop the second pass in the tool, its duplicate test and the boundary entry,
and the function check normalizeDisplayText never sees.
This commit is contained in:
German Khokhlov committed 2026-11-10 15:37:16 +04:00
1 parent 12a5630991
commit 353eebf224
4 files changed
+6 -40

No files matched your search

-1
View File
@@ -5140,7 +5140,6 @@
"src/i18n/marker.js",
"src/tools/queries/imagery.js",
"src/tools/queries/cables.js",
"src/data/displayText.js",
"src/tools/queries/surveillance.js",
"src/tools/queries/infrastructure.js",
"src/tools/queries/events.js",