<?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: Snap to ArcGISDynamicMapServiceLayer in WAB in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/snap-to-arcgisdynamicmapservicelayer-in-wab/m-p/869076#M12591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ondrej,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Snapping requires a FeatureLayer as snapping needs the geometry to exist on the client machine. A &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;ArcGISDynamicMapServiceLayer is just an image downloaded from the server to the client so the client machine does not have the actual geometry to work with when snapping. Hope this clears this up for you.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jan 2016 16:07:33 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2016-01-28T16:07:33Z</dc:date>
    <item>
      <title>Snap to ArcGISDynamicMapServiceLayer in WAB</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/snap-to-arcgisdynamicmapservicelayer-in-wab/m-p/869075#M12590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;How do I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;enable snapping to &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;ArcGISDynamicMapServiceLayer in WAB. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;I try &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;var snapManager = this.map.enableSnapping();&lt;/P&gt;&lt;P&gt;var layerDyn = this.map.getLayer(this.map.layerIds[1]);&lt;/P&gt;&lt;P&gt;var layerInfos = [&amp;nbsp; {layer: layerDyn} ];&lt;/P&gt;&lt;P&gt;snapManager.setLayerInfos(layerInfos);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but snapping not working.&lt;/P&gt;&lt;P&gt;Please help me&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 11:05:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/snap-to-arcgisdynamicmapservicelayer-in-wab/m-p/869075#M12590</guid>
      <dc:creator>OndrejFialík</dc:creator>
      <dc:date>2016-01-28T11:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Snap to ArcGISDynamicMapServiceLayer in WAB</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/snap-to-arcgisdynamicmapservicelayer-in-wab/m-p/869076#M12591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ondrej,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Snapping requires a FeatureLayer as snapping needs the geometry to exist on the client machine. A &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;ArcGISDynamicMapServiceLayer is just an image downloaded from the server to the client so the client machine does not have the actual geometry to work with when snapping. Hope this clears this up for you.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 16:07:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/snap-to-arcgisdynamicmapservicelayer-in-wab/m-p/869076#M12591</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-01-28T16:07:33Z</dc:date>
    </item>
  </channel>
</rss>

