API JS - Drawing tools

770
2
Jump to solution
11-15-2017 09:39 AM
LaurentDuruflé
New Contributor II

I am using this sample for drawing tools: ArcGIS API for JavaScript Sandbox 

Do you know if there is any way to modify the background color and the text color of the tool tip window (see snapshot below).

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Laurent,

   Sure just add this css rule:

      .map .esriMapTooltip {
        background-color: #ff0000;
        color: white;
      }

View solution in original post

2 Replies
RobertScheitlin__GISP
MVP Emeritus

Laurent,

   Sure just add this css rule:

      .map .esriMapTooltip {
        background-color: #ff0000;
        color: white;
      }
LaurentDuruflé
New Contributor II

Hi Robert,

Thanks.

I just tried with ESRI  API 3.19 and it does not work (seems the related css version is missing esriMapTooltip).

But it does work with API 3.22

So, thanks a lot !

0 Kudos