<?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 Changing the default units of the measurement widget? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-default-units-of-the-measurement/m-p/477310#M44334</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a measurement widget within my application.&amp;nbsp; When measuring, the default is set as Miles.&amp;nbsp; Can I change the default units to Feet?&amp;nbsp; Also, the default for measuring areas is set to Acres. . I need to default to Sq Feet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Oct 2013 20:03:23 GMT</pubDate>
    <dc:creator>IanPeebles</dc:creator>
    <dc:date>2013-10-29T20:03:23Z</dc:date>
    <item>
      <title>Changing the default units of the measurement widget?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-default-units-of-the-measurement/m-p/477310#M44334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a measurement widget within my application.&amp;nbsp; When measuring, the default is set as Miles.&amp;nbsp; Can I change the default units to Feet?&amp;nbsp; Also, the default for measuring areas is set to Acres. . I need to default to Sq Feet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 20:03:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-default-units-of-the-measurement/m-p/477310#M44334</guid>
      <dc:creator>IanPeebles</dc:creator>
      <dc:date>2013-10-29T20:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the default units of the measurement widget?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-default-units-of-the-measurement/m-p/477311#M44335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set the defaultLengthUnit to esriFeet and the defaultAreaUnit to esriSquareFeet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; measurement = new Measurement({&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map: map, defaultLengthUnit: "esriFeet", defaultAreaUnit: "esriSquareFeet"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }, dom.byId('measurementDiv'));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; measurement.startup();&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 18:27:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-default-units-of-the-measurement/m-p/477311#M44335</guid>
      <dc:creator>JoshVan_Kylen</dc:creator>
      <dc:date>2015-05-20T18:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the default units of the measurement widget?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-default-units-of-the-measurement/m-p/477312#M44336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look here for more documentation: &lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/measurement-amd.html" title="https://developers.arcgis.com/javascript/jsapi/measurement-amd.html"&gt;Measurement | API Reference | ArcGIS API for JavaScript&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 18:48:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-default-units-of-the-measurement/m-p/477312#M44336</guid>
      <dc:creator>RickeyFight</dc:creator>
      <dc:date>2015-05-20T18:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the default units of the measurement widget?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-default-units-of-the-measurement/m-p/477313#M44337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I found unclear about this &lt;A class="jive-link-external-small" href="https://developers.arcgis.com/javascript/jsapi/measurement-amd.html" rel="nofollow" style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #287433;" target="_blank"&gt;Measurement | API Reference | ArcGIS API for JavaScript&lt;/A&gt; documentation is that it references this &lt;SPAN style="text-decoration: underline;"&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/units-amd.html"&gt;Object: Units&lt;/A&gt;&lt;/SPAN&gt; page, but when I used just "FEET" &amp;amp; "SQUARE_FEET" in the Measurement's parameters I get errors.&amp;nbsp; Hunting around I found the reference to set the parameter values to &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;esriFeet &amp;amp; &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;esriSquareFeet in the &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;A href="https://developers.arcgis.com/web-appbuilder/api-reference/measurement.htm"&gt;Web AppBuilder's API reference for the Measurement widget&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 17:03:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-default-units-of-the-measurement/m-p/477313#M44337</guid>
      <dc:creator>JoshVan_Kylen</dc:creator>
      <dc:date>2015-05-28T17:03:35Z</dc:date>
    </item>
  </channel>
</rss>

