<?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: Can measurement tool graphics be persisted? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-measurement-tool-graphics-be-persisted/m-p/212471#M19665</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK.&amp;nbsp; So now I'm trying to find a javascript example of how to wire up the measure-end event.&amp;nbsp; Can you point me to one?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 May 2017 22:36:40 GMT</pubDate>
    <dc:creator>DaveSouthern</dc:creator>
    <dc:date>2017-05-15T22:36:40Z</dc:date>
    <item>
      <title>Can measurement tool graphics be persisted?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-measurement-tool-graphics-be-persisted/m-p/212468#M19662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a requirement from the customer to persist measurements made by the measurement tool i.e. have multiple measurement lines on the map simultaneously and be able to save these between sessions.&amp;nbsp; I checked out the documentation links below but haven't been able to see how this could be done.&amp;nbsp; It doesn't appear that the measurement tool has a layer associated with it, but maybe I'm missing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to do what I'm thinking about - even if I have to kludge my way into it somehow?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 19:11:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-measurement-tool-graphics-be-persisted/m-p/212468#M19662</guid>
      <dc:creator>DaveSouthern</dc:creator>
      <dc:date>2017-05-12T19:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can measurement tool graphics be persisted?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-measurement-tool-graphics-be-persisted/m-p/212469#M19663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My guess would be that you can listen to the 'measure-end' event on the dijit, which will give you access to the result of the measurement and a geometry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From here, you could take that geometry and create your own graphic from it. &amp;nbsp;You&amp;nbsp;could use the measurement result (also from the measure-end event) as an attribute on that graphic. &amp;nbsp;This graphic can then be added to a feature layer (probably a polyline feature layer) in order to persist it. &amp;nbsp;You can add a label class to the feature service backing up that feature layer that looks at the attribute that represents the measurement result and applies it as a label.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 19:46:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-measurement-tool-graphics-be-persisted/m-p/212469#M19663</guid>
      <dc:creator>ThomasSolow</dc:creator>
      <dc:date>2017-05-12T19:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: Can measurement tool graphics be persisted?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-measurement-tool-graphics-be-persisted/m-p/212470#M19664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was thinking something along those lines, but wanted to make sure I wasn't overlooking something.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 20:13:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-measurement-tool-graphics-be-persisted/m-p/212470#M19664</guid>
      <dc:creator>DaveSouthern</dc:creator>
      <dc:date>2017-05-12T20:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can measurement tool graphics be persisted?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-measurement-tool-graphics-be-persisted/m-p/212471#M19665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK.&amp;nbsp; So now I'm trying to find a javascript example of how to wire up the measure-end event.&amp;nbsp; Can you point me to one?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 May 2017 22:36:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-measurement-tool-graphics-be-persisted/m-p/212471#M19665</guid>
      <dc:creator>DaveSouthern</dc:creator>
      <dc:date>2017-05-15T22:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can measurement tool graphics be persisted?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-measurement-tool-graphics-be-persisted/m-p/212472#M19666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's a jsbin showing how to tap into the event:&amp;nbsp;&lt;A class="link-titled" href="https://jsbin.com/qetexipoxe/edit?html,output" title="https://jsbin.com/qetexipoxe/edit?html,output"&gt;JS Bin - Collaborative JavaScript Debugging&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 12:48:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-measurement-tool-graphics-be-persisted/m-p/212472#M19666</guid>
      <dc:creator>ThomasSolow</dc:creator>
      <dc:date>2017-05-16T12:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Can measurement tool graphics be persisted?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-measurement-tool-graphics-be-persisted/m-p/212473#M19667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Thomas - I appreciate the help.&amp;nbsp; &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 14:46:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-measurement-tool-graphics-be-persisted/m-p/212473#M19667</guid>
      <dc:creator>DaveSouthern</dc:creator>
      <dc:date>2017-05-16T14:46:33Z</dc:date>
    </item>
  </channel>
</rss>

