CoordinateConversion Widget

1222
2
Jump to solution
11-02-2020 10:49 PM
cadgism
Occasional Contributor

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

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

cadgis,

  Just add this css rule:

.esri-coordinate-conversion__select-row option[value="dd"],
[value="ddm"],[value="dms"],[value="mgrs"],[value="usng"]
,[value="utm"]{
  display: none;
}

View solution in original post

2 Replies
RobertScheitlin__GISP
MVP Emeritus

cadgis,

  Just add this css rule:

.esri-coordinate-conversion__select-row option[value="dd"],
[value="ddm"],[value="dms"],[value="mgrs"],[value="usng"]
,[value="utm"]{
  display: none;
}
rogenjh
New Contributor III

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. 

0 Kudos