<?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: CoordinateMenu Widget in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/coordinatemenu-widget/m-p/351898#M9962</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you.&amp;nbsp; I tried to make the changes to projector.as and got it to compile without errors or warnings, but was getting no response in the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Must have made a type somewhere, as it is working fine now using your projector file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At least, the GUI is.&amp;nbsp; Do you have the context menu option functioning as well?&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;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jun 2012 22:28:49 GMT</pubDate>
    <dc:creator>RhettZufelt</dc:creator>
    <dc:date>2012-06-28T22:28:49Z</dc:date>
    <item>
      <title>CoordinateMenu Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/coordinatemenu-widget/m-p/351893#M9957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Trying to recompile &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.arcgis.com/home/item.html?id=edd4a2b7c722493a8b08f53eaa131e1e" rel="nofollow" target="_blank"&gt;this widget&lt;/A&gt;&lt;SPAN&gt; for FV 3.0, not getting any errors but the widget hangs when you try to project a point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here;s my attempt to change the code in the Projector.as&amp;nbsp;&amp;nbsp;&amp;nbsp; ...can anyone see why this wouldn't work?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;public function projectPoint(mapPoint:MapPoint, toWKID:Number, callbackFunction:Function, errorFunction:Function = null):void &amp;nbsp; { &amp;nbsp;&amp;nbsp; this.geometryService = new GeometryService(this.geometryServiceURL); &amp;nbsp;&amp;nbsp; this.geometryService.addEventListener(GeometryServiceEvent.PROJECT_COMPLETE, callbackFunction); &amp;nbsp;&amp;nbsp; if (errorFunction != null) &amp;nbsp;&amp;nbsp; { &amp;nbsp;&amp;nbsp;&amp;nbsp; this.geometryService.addEventListener(FaultEvent.FAULT, errorFunction); &amp;nbsp;&amp;nbsp; } &amp;nbsp;&amp;nbsp; else &amp;nbsp;&amp;nbsp; { &amp;nbsp;&amp;nbsp;&amp;nbsp; this.geometryService.addEventListener(FaultEvent.FAULT, function():void &amp;nbsp;&amp;nbsp;&amp;nbsp; { &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alert.show("Error projecting coordinates.","Error"); &amp;nbsp;&amp;nbsp;&amp;nbsp; }); &amp;nbsp;&amp;nbsp; } &amp;nbsp;&amp;nbsp; var projParams:ProjectParameters = new ProjectParameters(); &amp;nbsp;&amp;nbsp; projParams.geometries = [MapPoint as Geometry]; &amp;nbsp;&amp;nbsp; projParams.outSpatialReference = new SpatialReference(toWKID); &amp;nbsp;&amp;nbsp; // Note: GeometryService takes in geometries instead of graphics as input &amp;nbsp;&amp;nbsp; geometryService.project(projParams);&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 13:06:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/coordinatemenu-widget/m-p/351893#M9957</guid>
      <dc:creator>philippschnetzer</dc:creator>
      <dc:date>2012-06-28T13:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: CoordinateMenu Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/coordinatemenu-widget/m-p/351894#M9958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not a programmer but wouldn't you need to convert mapPoint and not MapPoit to a geometry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var projParams:ProjectParameters = new ProjectParameters;
&amp;nbsp;&amp;nbsp; projParams.geometries = [mapPoint as Geometry];
&amp;nbsp;&amp;nbsp; projParams.outSpatialReference = new SpatialReference(toWKID);
&amp;nbsp;&amp;nbsp; // Note: GeometryService takes in geometries instead of graphics as input
&amp;nbsp;&amp;nbsp; geometryService.project(projParams);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This seems to be working for me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:22:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/coordinatemenu-widget/m-p/351894#M9958</guid>
      <dc:creator>PatrickMullen1</dc:creator>
      <dc:date>2021-12-12T16:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: CoordinateMenu Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/coordinatemenu-widget/m-p/351895#M9959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That was it! *Facepalm&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 18:06:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/coordinatemenu-widget/m-p/351895#M9959</guid>
      <dc:creator>philippschnetzer</dc:creator>
      <dc:date>2012-06-28T18:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: CoordinateMenu Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/coordinatemenu-widget/m-p/351896#M9960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Was wondering if you got this working, and if so, if you would be kind enough to share the "modified" source?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 21:37:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/coordinatemenu-widget/m-p/351896#M9960</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2012-06-28T21:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: CoordinateMenu Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/coordinatemenu-widget/m-p/351897#M9961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Was wondering if you got this working, and if so, if you would be kind enough to share the "modified" source?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;R_&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The only file that needed to be changed for the widget was the Projector.as&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 22:00:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/coordinatemenu-widget/m-p/351897#M9961</guid>
      <dc:creator>PatrickMullen1</dc:creator>
      <dc:date>2012-06-28T22:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: CoordinateMenu Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/coordinatemenu-widget/m-p/351898#M9962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you.&amp;nbsp; I tried to make the changes to projector.as and got it to compile without errors or warnings, but was getting no response in the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Must have made a type somewhere, as it is working fine now using your projector file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At least, the GUI is.&amp;nbsp; Do you have the context menu option functioning as well?&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;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 22:28:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/coordinatemenu-widget/m-p/351898#M9962</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2012-06-28T22:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: CoordinateMenu Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/coordinatemenu-widget/m-p/351899#M9963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It appears to be working. I don't use this portion of the widget but I turned it on real quick to check. Remember to at the widget in the UI elements.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the source code for everything. Let me know how it goes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Patrick&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 23:00:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/coordinatemenu-widget/m-p/351899#M9963</guid>
      <dc:creator>PatrickMullen1</dc:creator>
      <dc:date>2012-06-28T23:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: CoordinateMenu Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/coordinatemenu-widget/m-p/351900#M9964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Got it.&amp;nbsp; Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Turns out that I "disabled" it by following this thread:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/18142-remove-items-from-map-context-menu"&gt;http://forums.arcgis.com/threads/18142-remove-items-from-map-context-menu&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Removed more than expected from the contect menu.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 23:19:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/coordinatemenu-widget/m-p/351900#M9964</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2012-06-28T23:19:40Z</dc:date>
    </item>
  </channel>
</rss>

