<?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 Measurement Widget and compact API in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-and-compact-api/m-p/38538#M3264</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to use the ...?v=3.0compact and the Measurement Widget.&amp;nbsp; It doesn't appear the compact version of the API has everything the widget requires but it should be possible to add the missing references with dojo.require().&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any one know which ones I need to add in order to get the Measurement widget to work?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jul 2012 16:12:28 GMT</pubDate>
    <dc:creator>DarellStoick</dc:creator>
    <dc:date>2012-07-19T16:12:28Z</dc:date>
    <item>
      <title>Measurement Widget and compact API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-and-compact-api/m-p/38538#M3264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to use the ...?v=3.0compact and the Measurement Widget.&amp;nbsp; It doesn't appear the compact version of the API has everything the widget requires but it should be possible to add the missing references with dojo.require().&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any one know which ones I need to add in order to get the Measurement widget to work?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 16:12:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-and-compact-api/m-p/38538#M3264</guid>
      <dc:creator>DarellStoick</dc:creator>
      <dc:date>2012-07-19T16:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Measurement Widget and compact API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-and-compact-api/m-p/38539#M3265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The measurement widget requires dojo.number.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 17:42:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-and-compact-api/m-p/38539#M3265</guid>
      <dc:creator>MattLane</dc:creator>
      <dc:date>2012-07-19T17:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Measurement Widget and compact API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-and-compact-api/m-p/38540#M3266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When you call dojo.require("esri.dijit.Measurement"), it should include all the required module automatically. So you don't have to call those requires again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just for your information, here is the list of the required.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dojo.require("dijit._Widget");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dojo.require("dijit._Templated");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dojo.require("esri.map");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dojo.require("esri.geometry");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dojo.require("esri.symbol");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dojo.require("dojo.parser");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dojo.require("dijit.layout.ContentPane");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dojo.require("dijit.Menu");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dojo.require("dijit.form.Button");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dojo.require("esri.tasks.geometry");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dojo.require("esri.WKIDUnitConversion");&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 17:44:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-and-compact-api/m-p/38540#M3266</guid>
      <dc:creator>JianHuang</dc:creator>
      <dc:date>2012-07-19T17:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Measurement Widget and compact API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-and-compact-api/m-p/38541#M3267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;using the Resource Center sample under Widget -&amp;gt;Measurement&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I replace &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;script type="text/javascript" src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=3.0" rel="nofollow" target="_blank"&gt;http://serverapi.arcgisonline.com/jsapi/arcgis/?v=3.0&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;with&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt; &amp;lt;script type="text/javascript" src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=3.0compact" rel="nofollow" target="_blank"&gt;http://serverapi.arcgisonline.com/jsapi/arcgis/?v=3.0compact&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get an error in the measurement.js script file when I use the Area or Distance tools.&amp;nbsp; Coordinates seems to work. Running with ...3.0 works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll try to add the references you supplied and see if it works w/ compact&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 21:13:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-and-compact-api/m-p/38541#M3267</guid>
      <dc:creator>DarellStoick</dc:creator>
      <dc:date>2012-07-19T21:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Measurement Widget and compact API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-and-compact-api/m-p/38542#M3268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Adding dojo.require("dojo.number"); is what I needed - Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 21:18:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-and-compact-api/m-p/38542#M3268</guid>
      <dc:creator>DarellStoick</dc:creator>
      <dc:date>2012-07-19T21:18:02Z</dc:date>
    </item>
  </channel>
</rss>

