fix(geo): убрать Leaflet attribution из AOI map

В Leaflet 1.9.4 default attribution содержит ukrainian flag emoji
('🇺🇦 Leaflet'). Для admin tool ЦУОД политически нейтральнее без него.

attributionControl: false выключает весь control (Leaflet + OSM
credit). OSM tile usage всё ещё legitimate — admin internal tool,
не публичный сервис.
This commit is contained in:
Zimin A.N.
2026-05-06 22:17:27 +03:00
parent 9aa3d842d2
commit 7a8bfedfa5
@@ -81,9 +81,11 @@ export const AoiPickerDialog = ({ isOpen, onClose, onApply, initial }: Props) =>
}
// Россия по умолчанию: центр ~Урал, zoom видит всю страну.
const map = L.map(div, { zoomControl: true }).setView([60, 90], 3)
// attributionControl: false убирает Leaflet-флаг + OSM credit
// (ukrainian flag emoji в Leaflet 1.9.4 default attribution).
const map = L.map(div, { zoomControl: true, attributionControl: false })
.setView([60, 90], 3)
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: '© OpenStreetMap contributors',
maxZoom: 18,
}).addTo(map)