<?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 What's the best way to draw a graphic that snaps to and traces a feature using the Javascript API? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-s-the-best-way-to-draw-a-graphic-that-snaps/m-p/23280#M2036</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I'm trying to put together a tool that will allow us to trace road features, painting a graphic on top of the features that will be used as a query envelope in subsequent analysis. Does anyone know a good way to set up a tracing tool that would both allow for snapping (I'm thinking of using the geometry engine "nearest vertex") and also override the provided&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-2d-draw-Draw.html"&gt;drawing gestures&lt;/A&gt;&amp;nbsp;so that the line would be rendered as the mouse is moved instead of requiring a series of clicks?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I totally off base?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Mar 2019 21:24:37 GMT</pubDate>
    <dc:creator>BrianVan_Nostrand</dc:creator>
    <dc:date>2019-03-12T21:24:37Z</dc:date>
    <item>
      <title>What's the best way to draw a graphic that snaps to and traces a feature using the Javascript API?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-s-the-best-way-to-draw-a-graphic-that-snaps/m-p/23280#M2036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I'm trying to put together a tool that will allow us to trace road features, painting a graphic on top of the features that will be used as a query envelope in subsequent analysis. Does anyone know a good way to set up a tracing tool that would both allow for snapping (I'm thinking of using the geometry engine "nearest vertex") and also override the provided&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-2d-draw-Draw.html"&gt;drawing gestures&lt;/A&gt;&amp;nbsp;so that the line would be rendered as the mouse is moved instead of requiring a series of clicks?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I totally off base?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2019 21:24:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-s-the-best-way-to-draw-a-graphic-that-snaps/m-p/23280#M2036</guid>
      <dc:creator>BrianVan_Nostrand</dc:creator>
      <dc:date>2019-03-12T21:24:37Z</dc:date>
    </item>
  </channel>
</rss>

