Hi
I need to hide the Select by Rectangle and Selectable Layers section in the Screening Widget draw tool as we don't want users to use them. Is this possible in the HTML?
Thanks
Mark
Mark,
Here is the css rule to add to hide those items:
<SPAN class="selector token">.jimu-multiple-layers-featureset-chooser, .esriCTParentDivOfChooseSymbol, .esriCTWidgetAndBufferSeparator[data-dojo-attach-point='seperatorAfterSelect']</SPAN> <SPAN class="punctuation token">{</SPAN> <SPAN class="property token">display</SPAN><SPAN class="punctuation token">:</SPAN> none<SPAN class="punctuation token">;</SPAN> <SPAN class="punctuation token">}</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
Fantastic Robert - you are a genius!
If I wanted to hide the buffer tool, would that be in the same place?
Almost! The tool I want to remove is not the one you have highlighted, but the one two to the right (with the 3 polygons and the arrow). The other bit is correct.
I may be wrong, but if I can just hide it in the html, it is less likely to cause any issues than if I remove it elsewhere!
So just remove the two items outlined in the image?
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.