<?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: Robert's TOCWidget: GeometryServiceSingleton, spinning wheel, 2.2, etc. in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/robert-s-tocwidget-geometryservicesingleton/m-p/369869#M8672</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Responded in Flex Viewer forum&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jul 2011 15:34:40 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2011-07-07T15:34:40Z</dc:date>
    <item>
      <title>Robert's TOCWidget: GeometryServiceSingleton, spinning wheel, 2.2, etc.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/robert-s-tocwidget-geometryservicesingleton/m-p/369868#M8671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;First, Thanks for the great widget.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using sample viewer 2.2, it has been heavily modified, so I hesitated to change to viewer 2.3.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I still need this TOCWidget.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just added it to my project, compile error is "access of undefined property GeometryServiceSingleton".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I removed the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import com.esri.ags.tasks.GeometryServiceSingleton;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if (GeometryServiceSingleton.instance.url) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// using GeometryServiceSingleton&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; geometryService.url = GeometryServiceSingleton.instance.url;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; geometryService.token = GeometryServiceSingleton.instance.token;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; geometryService.proxyURL = GeometryServiceSingleton.instance.proxyURL;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then it compiles and works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. So my first question is: what is the purpose of the geometry service here? I searched online and do not find much helpful information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. The 2nd question: when I click on the TOC icon from the top of the screen(I already made TOC pre-open), it opened another TOC window, and then mouse changes to spinning wheel, even when I close the two TOC windows. The mouse will stay as spinning wheel, but everything is functioning.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert, Can you or anyone help with this?&amp;nbsp; Thank you very much.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2011 14:41:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/robert-s-tocwidget-geometryservicesingleton/m-p/369868#M8671</guid>
      <dc:creator>cristiBJ</dc:creator>
      <dc:date>2011-07-07T14:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Robert's TOCWidget: GeometryServiceSingleton, spinning wheel, 2.2, etc.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/robert-s-tocwidget-geometryservicesingleton/m-p/369869#M8672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Responded in Flex Viewer forum&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2011 15:34:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/robert-s-tocwidget-geometryservicesingleton/m-p/369869#M8672</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-07-07T15:34:40Z</dc:date>
    </item>
  </channel>
</rss>

