From 2f25b95f4a9baca3a150a1853e7854a82c5184e6 Mon Sep 17 00:00:00 2001 From: Peter Rushforth Date: Tue, 5 Apr 2022 15:26:50 -0400 Subject: [PATCH] Add Ukraine flag from Malvoz / Leaflet 1.8 to attribution control. --- src/mapml-viewer.js | 2 +- src/web-map.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mapml-viewer.js b/src/mapml-viewer.js index 965fcf066..b3151cf88 100644 --- a/src/mapml-viewer.js +++ b/src/mapml-viewer.js @@ -213,7 +213,7 @@ export class MapViewer extends HTMLElement { }); this._addToHistory(); // the attribution control is not optional - this._attributionControl = this._map.attributionControl.setPrefix('Maps4HTML | Leaflet'); + this._attributionControl = this._map.attributionControl.setPrefix('Maps4HTML | Slava Ukraini Leaflet'); this._attributionControl.getContainer().setAttribute("role","group"); this._attributionControl.getContainer().setAttribute("aria-label","Map data attribution"); diff --git a/src/web-map.js b/src/web-map.js index 0b1bb1911..1c142a325 100644 --- a/src/web-map.js +++ b/src/web-map.js @@ -228,7 +228,7 @@ export class WebMap extends HTMLMapElement { }); this._addToHistory(); // the attribution control is not optional - this._attributionControl = this._map.attributionControl.setPrefix('Maps4HTML | Leaflet'); + this._attributionControl = this._map.attributionControl.setPrefix('Maps4HTML | Slava UkrainiLeaflet'); this._attributionControl.getContainer().setAttribute("role","group"); this._attributionControl.getContainer().setAttribute("aria-label","Map data attribution");