nakarte

Source code of https://map.sikmir.ru (fork)
git clone git://git.sikmir.ru/nakarte
Log | Files | Refs | LICENSE

commit 1c4d35526faf62bc588d7d1dd2baad057b785400
parent 25eb3cb578e094e79490ba3baa5703fa7841a8fb
Author: Sergey Orlov <wladimirych@gmail.com>
Date:   Tue,  4 Aug 2020 19:04:12 +0200

external maps: change hint text - external map => another map

Diffstat:
Msrc/lib/leaflet.control.external-maps/index.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/leaflet.control.external-maps/index.js b/src/lib/leaflet.control.external-maps/index.js @@ -77,12 +77,12 @@ const ExternalMaps = L.Control.extend({ onAdd: function(map) { this._map = map; - const {container, link} = makeButton(null, 'Open external map', 'icon-external-links'); + const {container, link} = makeButton(null, 'View this place on another map', 'icon-external-links'); this._container = container; L.DomEvent.on(link, 'click contextmenu', this.onClick, this); const menuItems = [ - {text: 'Open this place on external map', header: true}, + {text: 'View this place on another map', header: true}, ...this.options.externalMaps.map((it) => ({ text: it.title, callback: this.openExternalMap.bind(this, it.externalMap),