Greetings,
In WAB 2.3, is there a way to change the text that appears when you hover over the logo in the bottom right? Any assistance would be greatly appreciated!
Jason
Solved! Go to Solution.
Jason,
In the MapManager.js find the _publishMapEvent and add the lines 19 and 20 as below:
_publishMapEvent: function(map) {
//add this property for debug purpose
window._viewerMap = map;
MapUrlParamsHandler.postProcessUrlParams(this.urlParams, map);
console.timeEnd('Load Map');
if (this.map) {
this.map = map;
this.resetInfoWindow(true);
console.log('map changed.');
topic.publish('mapChanged', this.map);
} else {
this.map = map;
this.resetInfoWindow(true);
topic.publish('mapLoaded', this.map);
}
var node = query(".logo-med")[0] || query(".logo-sm")[0];
node.title = "blah blah";
},
Jason,
In the MapManager.js find the _publishMapEvent and add the lines 19 and 20 as below:
_publishMapEvent: function(map) {
//add this property for debug purpose
window._viewerMap = map;
MapUrlParamsHandler.postProcessUrlParams(this.urlParams, map);
console.timeEnd('Load Map');
if (this.map) {
this.map = map;
this.resetInfoWindow(true);
console.log('map changed.');
topic.publish('mapChanged', this.map);
} else {
this.map = map;
this.resetInfoWindow(true);
topic.publish('mapLoaded', this.map);
}
var node = query(".logo-med")[0] || query(".logo-sm")[0];
node.title = "blah blah";
},
Robert, THANK YOU for the 422nd time!!
Don't forget to mark this question as answered by clicking on the "Correct Answer" link on the reply that answered your question.
Hi... I´ve tried out this suggestion on WEB 2.2, but it doesn't work, the loading icon spins indefinitely.
Could you help me please?
Sounds like you have cause a syntax error in your code then.