Near Me widget - Result List tooltip

490
2
Jump to solution
03-16-2018 01:54 PM
NataliyaLys
Occasional Contributor II

I am using near me widget in WAB. To achieve a desired formatting of the text in Result List I added a basic html formatting to the pop-up tile of the searchable layer in my web map. It worked just the way I wanted to display results, but the tool tip shows raw html text. I would like to change a text of the tool tip, or remove the tool tip all together. I looked thought the code, but I just cannot figure out how to do it. Any help would be greatly appreciated. Thank you.

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Nataliya,

   If you are using the developer version then you can comment out the code that set the tooltip.

In the widgets item-list.js file @line 644 comment out:

domAttr.set(divItemName, "title", value);

View solution in original post

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus

Nataliya,

   If you are using the developer version then you can comment out the code that set the tooltip.

In the widgets item-list.js file @line 644 comment out:

domAttr.set(divItemName, "title", value);
0 Kudos
NataliyaLys
Occasional Contributor II

Robert, 

That's exactly what I needed. Thank you.

0 Kudos