Select to view content in your preferred language

Javascript 4.11 API LayerList Icons

862
2
Jump to solution
03-27-2019 03:19 PM
roemhildtg
Frequent Contributor

Anyone know what causes this? I'm setting the panel content to some html and am getting funky looking square boxes instead of the normal menu icon.

Upon inspecting the html for the layer list item it looks like:

<span class="esri-icon-default-action"></span>

This particular layer list is rendering a layer list for one map image layer.

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Greg,

  Just add this css rule to your app then:

    .esri-icon-default-action:before {
      content: "\e601";
      color: inherit;
    }

View solution in original post

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus

Greg,

  Just add this css rule to your app then:

    .esri-icon-default-action:before {
      content: "\e601";
      color: inherit;
    }
0 Kudos
roemhildtg
Frequent Contributor

Nice! That did it

0 Kudos