<?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: Snapping Manager in ArcGIS API for JavaScript 4.x in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/snapping-manager-in-arcgis-api-for-javascript-4-x/m-p/1051560#M72750</link>
    <description>&lt;P&gt;With the 4.19 release in April 2021, you can now enable snapping in the Sketch widget.&lt;/P&gt;</description>
    <pubDate>Mon, 26 Apr 2021 23:11:52 GMT</pubDate>
    <dc:creator>HenryKo2</dc:creator>
    <dc:date>2021-04-26T23:11:52Z</dc:date>
    <item>
      <title>Snapping Manager in ArcGIS API for JavaScript 4.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/snapping-manager-in-arcgis-api-for-javascript-4-x/m-p/1033239#M71940</link>
      <description>&lt;P&gt;Hi, in&amp;nbsp;ArcGIS API for JavaScript version 3, there is this Snapping Manager widget. We use it extensively to snap to roads and intersections.&lt;/P&gt;&lt;P&gt;After a quick googling, I can't find a similar widget or component in&amp;nbsp;ArcGIS API for JavaScript version 4.x. Does anyone know about how to do snapping in version 4.x?&lt;/P&gt;&lt;P&gt;What we need to do is, in the JS web app, we want to snap graphics to roads and intersections (we already have these as map/feature services).&lt;/P&gt;&lt;P&gt;PS. there's the Sketch widget, but at this stage we probably won't use it due to our requirements.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 02:05:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/snapping-manager-in-arcgis-api-for-javascript-4-x/m-p/1033239#M71940</guid>
      <dc:creator>HenryKo2</dc:creator>
      <dc:date>2021-03-05T02:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Snapping Manager in ArcGIS API for JavaScript 4.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/snapping-manager-in-arcgis-api-for-javascript-4-x/m-p/1033587#M71949</link>
      <description>&lt;P&gt;In my experience its a bit of a rabbit hole to program your own snapping manager from scratch, but good news is it looks like more snapping capability is on its way:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/js-api-arcgis/announcements/whats-new-in-the-arcgis-api-for-javascript-version-4-18/" target="_blank"&gt;https://www.esri.com/arcgis-blog/products/js-api-arcgis/announcements/whats-new-in-the-arcgis-api-for-javascript-version-4-18/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Enable self snapping through the new SketchViewModel.snappingOptions property and toggle it during a draw operation. This is the first step towards enabling full feature snapping in both 2D and 3D editing workflows. &lt;STRONG&gt;This support will be expanded incrementally over subsequent releases.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 20:12:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/snapping-manager-in-arcgis-api-for-javascript-4-x/m-p/1033587#M71949</guid>
      <dc:creator>johnbrosowsky</dc:creator>
      <dc:date>2021-03-05T20:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Snapping Manager in ArcGIS API for JavaScript 4.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/snapping-manager-in-arcgis-api-for-javascript-4-x/m-p/1041884#M72268</link>
      <description>&lt;P&gt;&lt;SPAN&gt;yes all drawing networks need this feature, i think that the arcgis js api team really took a long time to develop this feature for the 4.X version.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 10:45:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/snapping-manager-in-arcgis-api-for-javascript-4-x/m-p/1041884#M72268</guid>
      <dc:creator>BoualiKamel</dc:creator>
      <dc:date>2021-03-30T10:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Snapping Manager in ArcGIS API for JavaScript 4.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/snapping-manager-in-arcgis-api-for-javascript-4-x/m-p/1042198#M72287</link>
      <description>&lt;P&gt;Update: my understanding of the requirement has changed since the original post. We are simulating "snapping" with: clicking at a map location and find the closest point on road or an intersection with a given radius/buffer, essentially finding closest/nearest. We then display the closest point as a graphic on the map to indicate "snapping".&lt;/P&gt;&lt;P&gt;Our front-end developer is using the ArcGIS JS 4.x functions&amp;nbsp;&lt;EM&gt;geometryEngine.&lt;SPAN&gt;nearestCoordinate() /&amp;nbsp;geometryEngine.nearestVertex()&lt;/SPAN&gt;&lt;/EM&gt;&amp;nbsp;for this requirement.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 22:19:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/snapping-manager-in-arcgis-api-for-javascript-4-x/m-p/1042198#M72287</guid>
      <dc:creator>HenryKo2</dc:creator>
      <dc:date>2021-03-30T22:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Snapping Manager in ArcGIS API for JavaScript 4.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/snapping-manager-in-arcgis-api-for-javascript-4-x/m-p/1051560#M72750</link>
      <description>&lt;P&gt;With the 4.19 release in April 2021, you can now enable snapping in the Sketch widget.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 23:11:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/snapping-manager-in-arcgis-api-for-javascript-4-x/m-p/1051560#M72750</guid>
      <dc:creator>HenryKo2</dc:creator>
      <dc:date>2021-04-26T23:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Snapping Manager in ArcGIS API for JavaScript 4.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/snapping-manager-in-arcgis-api-for-javascript-4-x/m-p/1612419#M87100</link>
      <description>&lt;P&gt;We have the exact same requirement.&amp;nbsp; Users click on the map and we need to snap that point to a routes feature layer.&amp;nbsp; In ArcGIS API for JS version 3.x, we simply created our own SnappingManager setting the layerInfos property to contain our route feature layer.&amp;nbsp; We have no need for the Editor or Sketch widget, so it sounds like we have to roll our own using geometryEngine functions.&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 14:15:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/snapping-manager-in-arcgis-api-for-javascript-4-x/m-p/1612419#M87100</guid>
      <dc:creator>AndyWhitaker1</dc:creator>
      <dc:date>2025-05-07T14:15:50Z</dc:date>
    </item>
  </channel>
</rss>

