Select to view content in your preferred language

Distance Measurement Component - change initial tool display

38
0
4 hours ago
PeteVitt
Frequent Contributor

Hi  - is there any way to change the initial display for the Distance Measurement 2D Component to use an icon (like the default calcite measure-line icon) instead of the large button labeled 'New Measurement'?  I've tried specifying the icon in the html markup like below, but I still get the 'New Measurement' button on my map. The map on my application is fairly small so I don't have a lot of real estate for the big button

 <arcgis-distance-measurement-2d position="top-right" icon="measure-line"></arcgis-distance-measurement-2d>
 
 
 
Thanks
 
Pete

 

0 Kudos
0 Replies