<?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: Navigation Tool Decoupled from the Flex Viewer and DrawTool in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigation-tool-decoupled-from-the-flex-viewer-and/m-p/491356#M11275</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I believe so. I am attaching the code, do you think you can take a look to make sure I am doing this right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Aug 2012 14:33:40 GMT</pubDate>
    <dc:creator>ionarawilson1</dc:creator>
    <dc:date>2012-08-07T14:33:40Z</dc:date>
    <item>
      <title>Navigation Tool Decoupled from the Flex Viewer and DrawTool</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigation-tool-decoupled-from-the-flex-viewer-and/m-p/491349#M11268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I downloaded the navigation tool decoupled from the flex viewer by Rober Sheitlin and it looks great on my application. However I have a draw tool and when I draw a polygon after I click on the zoom in button it creates a red boundary around the polygon and zooms in usually to another area. How can I deactivate the navigation toolbar (especially the zoom in, zoom out tools) when I am using a drawing tool? I have tried everything I could and nothing works. Please help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the link to the thread I downloaded the file (I used the version for the 2.3 API)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/24250-Something-I-m-still-a-little-confused-about"&gt;http://forums.arcgis.com/threads/24250-Something-I-m-still-a-little-confused-about&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2012 20:18:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigation-tool-decoupled-from-the-flex-viewer-and/m-p/491349#M11268</guid>
      <dc:creator>ionarawilson1</dc:creator>
      <dc:date>2012-08-06T20:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Navigation Tool Decoupled from the Flex Viewer and DrawTool</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigation-tool-decoupled-from-the-flex-viewer-and/m-p/491350#M11269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ionara,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I have not play with that in a very long time but it should be as simple as you setting the NavigationWidget map attribute to null when you activate your drawtool and back to the map on your tools draw finish.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2012 20:39:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigation-tool-decoupled-from-the-flex-viewer-and/m-p/491350#M11269</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-08-06T20:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: Navigation Tool Decoupled from the Flex Viewer and DrawTool</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigation-tool-decoupled-from-the-flex-viewer-and/m-p/491351#M11270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert, I tried that and it did not work&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is how my navigation widget is defined in my main app:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;navigation:NavigationWidget&amp;nbsp; left="12" top="20"&amp;nbsp; id="navigationwidget"&amp;nbsp;&amp;nbsp; /&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So everytime I activate the drawtool I had&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;navigationwidget.map = "";&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and when I deactivated the drawtool I had&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;navigationwidget.map = myMap;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I got this run-time error:&lt;/SPAN&gt;&lt;BR /&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.Navigation::Navigation/changeNavigation()&lt;S&gt;&lt;/S&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.Navigation::Navigation/doNavAction()&lt;S&gt;&lt;/S&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.Navigation::Navigation/buttonbar1_valueCommitHandler()&lt;S&gt;&lt;/S&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.Navigation::Navigation/__btnBar_valueCommit()&lt;S&gt;&lt;/S&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEventFunction()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEvent()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.core::UIComponent/dispatchEvent()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at spark.components.supportClasses::ListBase/commitSelection()&lt;E&gt;&lt;/E&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at spark.components.supportClasses::ListBase/commitProperties()&lt;E&gt;&lt;/E&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at spark.components.supportClasses::ButtonBarBase/commitProperties()&lt;E&gt;&lt;/E&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.core::UIComponent/validateProperties()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.managers::LayoutManager/validateProperties()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.managers::LayoutManager/doPhasedInstantiation()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.managers::LayoutManager/doPhasedInstantiationCallback()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help you can provide!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 13:15:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigation-tool-decoupled-from-the-flex-viewer-and/m-p/491351#M11270</guid>
      <dc:creator>ionarawilson1</dc:creator>
      <dc:date>2012-08-07T13:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Navigation Tool Decoupled from the Flex Viewer and DrawTool</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigation-tool-decoupled-from-the-flex-viewer-and/m-p/491352#M11271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Now I added the myMap to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;navigation:NavigationWidget&amp;nbsp; left="12" top="20"&amp;nbsp; id="navigationwidget" map="{myMap}"&amp;nbsp; /&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And I get this error when I click on the buttons for the draw tools:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TypeError: Error #1034: Type Coercion failed: cannot convert " " to com.esri.ags.Map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at one_searchonequery_plusgraphicsearch_onlyfreehand/ClickHandler()&lt;S&gt;&lt;/S&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at one_searchonequery_plusgraphicsearch_onlyfreehand/__freehandbutton_click()&lt;S&gt;&lt;/S&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 13:25:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigation-tool-decoupled-from-the-flex-viewer-and/m-p/491352#M11271</guid>
      <dc:creator>ionarawilson1</dc:creator>
      <dc:date>2012-08-07T13:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Navigation Tool Decoupled from the Flex Viewer and DrawTool</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigation-tool-decoupled-from-the-flex-viewer-and/m-p/491353#M11272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ironara,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; That is because "" is a string and you can not set the map that the navigation widget is expecting to a string you need to set it to a null value...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;navigationwidget.map = null;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 13:29:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigation-tool-decoupled-from-the-flex-viewer-and/m-p/491353#M11272</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-08-07T13:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Navigation Tool Decoupled from the Flex Viewer and DrawTool</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigation-tool-decoupled-from-the-flex-viewer-and/m-p/491354#M11273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Now I get thisrun-time error when I deactivate the drawtool and mouse over the map to go use the zoom tool&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.Navigation::Navigation/map_rollOverHandler()&lt;S&gt;&lt;/S&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 14:14:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigation-tool-decoupled-from-the-flex-viewer-and/m-p/491354#M11273</guid>
      <dc:creator>ionarawilson1</dc:creator>
      <dc:date>2012-08-07T14:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Navigation Tool Decoupled from the Flex Viewer and DrawTool</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigation-tool-decoupled-from-the-flex-viewer-and/m-p/491355#M11274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ionara,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; And you are sure you set the Navigation widgets map back to an instance of the map as I mentioned in my earlier post, on draw tool deactivate?..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 14:25:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigation-tool-decoupled-from-the-flex-viewer-and/m-p/491355#M11274</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-08-07T14:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Navigation Tool Decoupled from the Flex Viewer and DrawTool</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigation-tool-decoupled-from-the-flex-viewer-and/m-p/491356#M11275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I believe so. I am attaching the code, do you think you can take a look to make sure I am doing this right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 14:33:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/navigation-tool-decoupled-from-the-flex-viewer-and/m-p/491356#M11275</guid>
      <dc:creator>ionarawilson1</dc:creator>
      <dc:date>2012-08-07T14:33:40Z</dc:date>
    </item>
  </channel>
</rss>

