diff --git a/frontend-js/src/main/js/map/CustomMap.js b/frontend-js/src/main/js/map/CustomMap.js index 76e1d044971de7bb22b3ca8963e2d33dd0e069af..949488ace5075ce9bf517502ee6214bda41a3629 100644 --- a/frontend-js/src/main/js/map/CustomMap.js +++ b/frontend-js/src/main/js/map/CustomMap.js @@ -8,6 +8,7 @@ var Functions = require('../Functions'); var AbstractCustomMap = require('./AbstractCustomMap'); var Alias = require('./data/Alias'); var CommentDialog = require('../gui/CommentDialog'); +var ConfigurationType = require('../ConfigurationType'); var ControlType = require('./ControlType'); var CustomMapOptions = require('./CustomMapOptions'); var GuiConnector = require('../GuiConnector'); @@ -99,7 +100,7 @@ CustomMap.prototype.init = function () { // noinspection SpellCheckingInspection self.getMapCanvas().triggerListeners('maptypeid_changed'), self.getMapCanvas().triggerListeners('projection_changed') - ]).then(function() { + ]).then(function () { // center map and zoom in to fit into browser window if there is no // information about coordinates in the session @@ -139,6 +140,8 @@ CustomMap.prototype.init = function () { url = GuiConnector.getImgPrefix() + url; } logo2.src = url; + logo2.setAttribute('title', self.getConfiguration().getOption(ConfigurationType.LOGO_TEXT).getValue()); + logo2.setAttribute('alt', self.getConfiguration().getOption(ConfigurationType.LOGO_TEXT).getValue()); }); };