<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: it is possible to formating 3 number behind point in measurement widget? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/it-is-possible-to-formating-3-number-behind-point/m-p/1347771#M82736</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/593964"&gt;@davidchamberlain2&lt;/a&gt;,&amp;nbsp;c&lt;SPAN&gt;urrently, this is not possible with OOTB Measurement widgets. If you want more levels of precision, I would recommend using something like the&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html" target="_self" rel="nofollow noopener noreferrer"&gt;geometryEngine&lt;/A&gt;&lt;SPAN&gt;. However, we still have this in our roadmap, and I will update this post when we have something relevant to share.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Nov 2023 16:39:58 GMT</pubDate>
    <dc:creator>Noah-Sager</dc:creator>
    <dc:date>2023-11-09T16:39:58Z</dc:date>
    <item>
      <title>it is possible to formating 3 number behind point in measurement widget?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/it-is-possible-to-formating-3-number-behind-point/m-p/1034347#M71979</link>
      <description>&lt;P&gt;Hallo, i want to question, i just use measurement widget, can i change the format point in distance, in below the value distance is 1.53&amp;nbsp;i want it to 1.534&amp;nbsp;(there is have 3 number behind point)&lt;/P&gt;&lt;P&gt;is possible? thank you&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZenBahsin_0-1615273475365.png" style="width: 472px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/7914iDC654859575A76E0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ZenBahsin_0-1615273475365.png" alt="ZenBahsin_0-1615273475365.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 07:11:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/it-is-possible-to-formating-3-number-behind-point/m-p/1034347#M71979</guid>
      <dc:creator>ZenBahsin</dc:creator>
      <dc:date>2021-03-09T07:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: it is possible to formating 3 number behind point in measurement widget?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/it-is-possible-to-formating-3-number-behind-point/m-p/1034472#M71983</link>
      <description>&lt;P&gt;It &lt;EM&gt;has&lt;/EM&gt; to be possible, though it's admittedly difficult to find it. &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DistanceMeasurement2D-DistanceMeasurement2DViewModel.html#measurement" target="_self"&gt;Here on the Measurement Widget's docs&lt;/A&gt;, you can see in the example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;// After creating and adding the DistanceMeasurement2D widget
var measurementWidget = new DistanceMeasurement2D({
  view: view
});
view.ui.add(measurementWidget, "top-right");

// Raw measurements (in meters) can be accessed from this property
measurementWidget.watch("viewModel.measurement", function(measurement) {
  console.log(
    "Length: ", measurement.length,
    "Geometry: ", measurement.geometry
  );
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, you can also see in the &lt;STRONG&gt;measurementLabel&lt;/STRONG&gt; section:&lt;/P&gt;&lt;PRE&gt;Lengths are rounded to two decimal places.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it would seem that to get the raw measurement out and used in place of the label, you're going to have to do more than just change a setting, and get the &lt;EM&gt;measurement.length &lt;/EM&gt;property (an unrounded number of meters) to replace the measurementLabel text somehow.&lt;/P&gt;&lt;P&gt;I'm admittedly out of my depth on the "how" part, but if you can get that raw length number pulled out, I'm sure the rest can't be &lt;EM&gt;too&lt;/EM&gt; difficult. Best of luck!&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 15:06:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/it-is-possible-to-formating-3-number-behind-point/m-p/1034472#M71983</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-03-09T15:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: it is possible to formating 3 number behind point in measurement widget?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/it-is-possible-to-formating-3-number-behind-point/m-p/1034544#M71985</link>
      <description>&lt;P&gt;Currently, I don't think this is possible with the Measurement widgets. If you want more levels of precision, I would recommend using something like the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html" target="_self"&gt;geometryEngine&lt;/A&gt;. Given the UI for the&amp;nbsp;Measurement widgets, I don't know how much sense it makes to add more decimal places to the measurement.&lt;/P&gt;&lt;P&gt;That being said, it's certainly something we could consider if there is a good use-case. What benefit would adding a third (or more) decimal place to the Measurement widget confer that can't be better achieved with another option?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 17:16:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/it-is-possible-to-formating-3-number-behind-point/m-p/1034544#M71985</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2021-03-09T17:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: it is possible to formating 3 number behind point in measurement widget?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/it-is-possible-to-formating-3-number-behind-point/m-p/1195282#M78029</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;&amp;nbsp;, is there now a way to round the measurement to different decimal places?&lt;/P&gt;&lt;P&gt;Our users have also requested that they want to see the measurements rounded to full figures (without the decimals).&lt;/P&gt;&lt;P&gt;The use-case is they work with roads/streets so for measurements in units of metres/kilometres, they only need to see the measurement down to metres and not any more accurate that.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 02:02:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/it-is-possible-to-formating-3-number-behind-point/m-p/1195282#M78029</guid>
      <dc:creator>HenryKo2</dc:creator>
      <dc:date>2022-07-25T02:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: it is possible to formating 3 number behind point in measurement widget?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/it-is-possible-to-formating-3-number-behind-point/m-p/1196111#M78070</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/242227"&gt;@HenryKo2&lt;/a&gt;, this ability is not available yet. We have it in our roadmap, and I will update this post when we have something relevant to share.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 20:13:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/it-is-possible-to-formating-3-number-behind-point/m-p/1196111#M78070</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2022-07-26T20:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: it is possible to formating 3 number behind point in measurement widget?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/it-is-possible-to-formating-3-number-behind-point/m-p/1196143#M78075</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;&amp;nbsp;. BTW, apart from the dialog, the label on the polyline drawn on the map also needs to be rounded the same way I suppose.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 21:57:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/it-is-possible-to-formating-3-number-behind-point/m-p/1196143#M78075</guid>
      <dc:creator>HenryKo2</dc:creator>
      <dc:date>2022-07-26T21:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: it is possible to formating 3 number behind point in measurement widget?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/it-is-possible-to-formating-3-number-behind-point/m-p/1346804#M82717</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;We have this requirement, to have 3 decimal places using the measure widget. Is this now possible? If not in web appbuilder then experience builder?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 17:54:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/it-is-possible-to-formating-3-number-behind-point/m-p/1346804#M82717</guid>
      <dc:creator>davidchamberlain2</dc:creator>
      <dc:date>2023-11-07T17:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: it is possible to formating 3 number behind point in measurement widget?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/it-is-possible-to-formating-3-number-behind-point/m-p/1347771#M82736</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/593964"&gt;@davidchamberlain2&lt;/a&gt;,&amp;nbsp;c&lt;SPAN&gt;urrently, this is not possible with OOTB Measurement widgets. If you want more levels of precision, I would recommend using something like the&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html" target="_self" rel="nofollow noopener noreferrer"&gt;geometryEngine&lt;/A&gt;&lt;SPAN&gt;. However, we still have this in our roadmap, and I will update this post when we have something relevant to share.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 16:39:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/it-is-possible-to-formating-3-number-behind-point/m-p/1347771#M82736</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2023-11-09T16:39:58Z</dc:date>
    </item>
  </channel>
</rss>

