<?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 Snapping bug in 2.4 version in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/snapping-bug-in-2-4-version/m-p/139383#M3238</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have found a bug in snapping functionality with the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TypeError: Error #1009: Cannot access a property or method of a null object reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.ags.tools::DrawTool/checkForSnapping()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.ags.tools::DrawTool/map_mouseMoveFirstHandler()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, the version of ArcGIS API for Flex is 2.4.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This problem occurs if there is any Graphic object with null geometry in any GraphicsLayer in the Map. If this happens, the snapping does not work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can reproduce this problem using MXML attached.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Matej Vrtich&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Aug 2011 07:29:50 GMT</pubDate>
    <dc:creator>MatejVrtich1</dc:creator>
    <dc:date>2011-08-10T07:29:50Z</dc:date>
    <item>
      <title>Snapping bug in 2.4 version</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/snapping-bug-in-2-4-version/m-p/139383#M3238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have found a bug in snapping functionality with the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TypeError: Error #1009: Cannot access a property or method of a null object reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.ags.tools::DrawTool/checkForSnapping()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.ags.tools::DrawTool/map_mouseMoveFirstHandler()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, the version of ArcGIS API for Flex is 2.4.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This problem occurs if there is any Graphic object with null geometry in any GraphicsLayer in the Map. If this happens, the snapping does not work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can reproduce this problem using MXML attached.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Matej Vrtich&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 07:29:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/snapping-bug-in-2-4-version/m-p/139383#M3238</guid>
      <dc:creator>MatejVrtich1</dc:creator>
      <dc:date>2011-08-10T07:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Snapping bug in 2.4 version</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/snapping-bug-in-2-4-version/m-p/139384#M3239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Matej,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for reporting this. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In general, we don't have to check for geometry being null on a graphic as it is not rendered. Snapping is one case where we might 'interact' with a graphic and hence makes sense to check for the geometry always(at least not throw an error).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Will put in a fix for this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 22:07:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/snapping-bug-in-2-4-version/m-p/139384#M3239</guid>
      <dc:creator>SarthakDatt</dc:creator>
      <dc:date>2011-08-10T22:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Snapping bug in 2.4 version</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/snapping-bug-in-2-4-version/m-p/139385#M3240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sarthak,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea when we will get a fix for this? This is also an issue for us. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Snapping is a core part of my projects UI work-flow and to be honest it is missing many capabilities (at least from what i have found). Its great but we need support for:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Snapping to line \ polygon edges, not just nodes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Specifying exactly which layers the user can snap to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Forcing the user to only draw(create) geometries that snap those 'snappable layers' and;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Enabling snapping to be on by default without the user having to hit CTRL. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any thing like this in the pipeline? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2011 02:59:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/snapping-bug-in-2-4-version/m-p/139385#M3240</guid>
      <dc:creator>DanielBaternik</dc:creator>
      <dc:date>2011-08-26T02:59:00Z</dc:date>
    </item>
  </channel>
</rss>

