Change hover text over esri logo?

850
5
Jump to solution
03-29-2017 11:45 AM
JasonStanton__GISP
Occasional Contributor

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

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

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";
      },

View solution in original post

5 Replies
RobertScheitlin__GISP
MVP Emeritus

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";
      },
JasonStanton__GISP
Occasional Contributor

Robert, THANK YOU for the 422nd time!!

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Don't forget to mark this question as answered by clicking on the "Correct Answer" link on the reply that answered your question.

0 Kudos
AbrahamCoiman
New Contributor

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?

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Sounds like you have cause a syntax error in your code then.

0 Kudos