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).
Laurent,
Sure just add this css rule:
<SPAN class="selector token">.map .esriMapTooltip</SPAN> <SPAN class="punctuation token">{</SPAN> <SPAN class="property token">background-color</SPAN><SPAN class="punctuation token">:</SPAN> #ff0000<SPAN class="punctuation token">;</SPAN> <SPAN class="property token">color</SPAN><SPAN class="punctuation token">:</SPAN> white<SPAN class="punctuation token">;</SPAN> <SPAN class="punctuation token">}</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
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 !
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.