Hi
Can I customize the Coordinate Conversion Widget to display only BASEMAP & XY Coordinates and remove the rest from the default conversion options in 4.17
Thanks
cadgis,
Just add this css rule:
<SPAN class="selector token">.esri-coordinate-conversion__select-row option[value="dd"], [value="ddm"],[value="dms"],[value="mgrs"],[value="usng"] ,[value="utm"]</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>
How would you go about this if you were also removing XY? As I understand it, Display: None will not remove the element from the DOM, and so it will render at the first "selected" in the slot, and then only be removed when the user makes a selection.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.