<?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 Assining featurelayer from map using C# in ArcGIS Explorer Desktop Questions</title>
    <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/assining-featurelayer-from-map-using-c/m-p/234356#M1461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have opened one Mapservices from arcgis server in arcgis explorer using c# code, but i am facing some problem when i assign servicelayer childitems or servicechildlayer item to featurelayer. after running the program it will show that null is asigned to featurelayer. If anyone have any idea pls let us know.&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;Maximus&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Dec 2010 10:05:29 GMT</pubDate>
    <dc:creator>PiyushDubey</dc:creator>
    <dc:date>2010-12-21T10:05:29Z</dc:date>
    <item>
      <title>Assining featurelayer from map using C#</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/assining-featurelayer-from-map-using-c/m-p/234356#M1461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have opened one Mapservices from arcgis server in arcgis explorer using c# code, but i am facing some problem when i assign servicelayer childitems or servicechildlayer item to featurelayer. after running the program it will show that null is asigned to featurelayer. If anyone have any idea pls let us know.&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;Maximus&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Dec 2010 10:05:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/assining-featurelayer-from-map-using-c/m-p/234356#M1461</guid>
      <dc:creator>PiyushDubey</dc:creator>
      <dc:date>2010-12-21T10:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Assining featurelayer from map using C#</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/assining-featurelayer-from-map-using-c/m-p/234357#M1462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You won't be able to do so. Can you explain what you are trying to achieve?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Dec 2010 21:52:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/assining-featurelayer-from-map-using-c/m-p/234357#M1462</guid>
      <dc:creator>AndreiIvanov</dc:creator>
      <dc:date>2010-12-21T21:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Assining featurelayer from map using C#</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/assining-featurelayer-from-map-using-c/m-p/234358#M1463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Andriy Ivanov ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Actually i want to get the symbology attached with the layer i have opened using mapservices. i have gone through with the explorer object diagram, i think it is possible if i assign the target layer from mapdisplay as a featurelayer and get its renderer property. pls let me know in this reagrd if u have ny idea.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Maximus&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Dec 2010 07:03:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/assining-featurelayer-from-map-using-c/m-p/234358#M1463</guid>
      <dc:creator>PiyushDubey</dc:creator>
      <dc:date>2010-12-22T07:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Assining featurelayer from map using C#</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/assining-featurelayer-from-map-using-c/m-p/234359#M1464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Regarding, accessing FeaureLayer through c# code in arcExplorer, I am facing problem in implementing the code snippet which has given on ESRI resources @ &lt;/SPAN&gt;&lt;A href="http://resources.esri.com/help/900/arcgisexplorer/sdk/doc/49051a25-7752-415b-8925-06e8e83c1114.htm"&gt;http://resources.esri.com/help/900/arcgisexplorer/sdk/doc/49051a25-7752-415b-8925-06e8e83c1114.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;which says:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[C#]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;//Return the feature layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FeatureLayer campsitesLayer = Application.ActiveMapDisplay.Map.FindByName(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Campsites")as FeatureLayer;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;//Return the renderer associated with the layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FeatureRenderer renderer = campsitesLayer.Renderer;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;//Assign a new symbol to the layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;renderer.SetSymbol(Symbol.Marker.Recreation.Camping);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I give like, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FeatureLayer fl = ESRI.ArcGISExplorer.Application.Application.ActiveMapDisplay.Map.FindByName(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Cities")as FeatureLayer;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;nothing is being assigned to "fl" .. and "fl" remains null.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And in the code snippet, it is written like "Application.ActiveMapDisplay.Map.FindByName(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Campsites")as FeatureLayer;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but without adding " ESRI.ArcGISExplorer.Application." in the front of the code given there, ambiguity error arises in my ArcExplorer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone help with this problem.!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Dec 2010 08:39:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/assining-featurelayer-from-map-using-c/m-p/234359#M1464</guid>
      <dc:creator>manasadevi</dc:creator>
      <dc:date>2010-12-22T08:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Assining featurelayer from map using C#</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/assining-featurelayer-from-map-using-c/m-p/234360#M1465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Andriy Ivanov ,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Actually i want to get the symbology attached with the layer i have opened using mapservices. i have gone through with the explorer object diagram, i think it is possible if i assign the target layer from mapdisplay as a featurelayer and get its renderer property. pls let me know in this reagrd if u have ny idea.&lt;BR /&gt;&lt;BR /&gt;Thanks Maximus&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You won't be able to get symbology off the mapservice via ArcGIS&amp;nbsp; Explorer SDK. To do so, you'd need access to ArcObjects, and request&amp;nbsp; symbol from ILegendClass within ILegendGroup.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Dec 2010 20:41:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/assining-featurelayer-from-map-using-c/m-p/234360#M1465</guid>
      <dc:creator>AndreiIvanov</dc:creator>
      <dc:date>2010-12-22T20:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Assining featurelayer from map using C#</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/assining-featurelayer-from-map-using-c/m-p/234361#M1466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Regarding, accessing FeaureLayer through c# code in arcExplorer, I am facing problem in implementing the code snippet which has given on ESRI resources @ &lt;A href="http://resources.esri.com/help/900/arcgisexplorer/sdk/doc/49051a25-7752-415b-8925-06e8e83c1114.htm"&gt;http://resources.esri.com/help/900/arcgisexplorer/sdk/doc/49051a25-7752-415b-8925-06e8e83c1114.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;which says:&lt;BR /&gt;[C#]&lt;BR /&gt;&lt;BR /&gt;//Return the feature layer.&lt;BR /&gt;FeatureLayer campsitesLayer = Application.ActiveMapDisplay.Map.FindByName(&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Campsites")as FeatureLayer;&lt;BR /&gt;//Return the renderer associated with the layer.&lt;BR /&gt;FeatureRenderer renderer = campsitesLayer.Renderer;&lt;BR /&gt;//Assign a new symbol to the layer.&lt;BR /&gt;renderer.SetSymbol(Symbol.Marker.Recreation.Camping);&lt;BR /&gt;&lt;BR /&gt;When I give like, &lt;BR /&gt;FeatureLayer fl = ESRI.ArcGISExplorer.Application.Application.ActiveMapDisplay.Map.FindByName(&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Cities")as FeatureLayer;&lt;BR /&gt;nothing is being assigned to "fl" .. and "fl" remains null.&lt;BR /&gt;&lt;BR /&gt;And in the code snippet, it is written like "Application.ActiveMapDisplay.Map.FindByName(&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Campsites")as FeatureLayer;"&lt;BR /&gt;but without adding " ESRI.ArcGISExplorer.Application." in the front of the code given there, ambiguity error arises in my ArcExplorer.&lt;BR /&gt;&lt;BR /&gt;Can anyone help with this problem.!!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I successfully ran that code. Make sure your layer is "&lt;/SPAN&gt;&lt;STRONG style="text-decoration: underline;"&gt;C&lt;/STRONG&gt;&lt;SPAN&gt;ities" with capital C. It is case sensitive.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Dec 2010 20:51:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/assining-featurelayer-from-map-using-c/m-p/234361#M1466</guid>
      <dc:creator>AndreiIvanov</dc:creator>
      <dc:date>2010-12-22T20:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Assining featurelayer from map using C#</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/assining-featurelayer-from-map-using-c/m-p/234362#M1467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Andriy Ivanov ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sir u mean to say that i have to access arcobjects using server side programming. i have done arcobjects programming in arcmap using vba so i have knowledge of arcobjects but if u please elaborate more in this regard it will be helpful for me.&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;Piyush&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Dec 2010 02:42:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/assining-featurelayer-from-map-using-c/m-p/234362#M1467</guid>
      <dc:creator>PiyushDubey</dc:creator>
      <dc:date>2010-12-23T02:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Assining featurelayer from map using C#</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/assining-featurelayer-from-map-using-c/m-p/234363#M1468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Piyush,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;all I am trying to say you won't be able to do it with ArcGIS Explorer. SDK does not expose symbol for ServiceChildLayer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Dec 2010 18:16:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/assining-featurelayer-from-map-using-c/m-p/234363#M1468</guid>
      <dc:creator>AndreiIvanov</dc:creator>
      <dc:date>2010-12-23T18:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Assining featurelayer from map using C#</title>
      <link>https://community.esri.com/t5/arcgis-explorer-desktop-questions/assining-featurelayer-from-map-using-c/m-p/234364#M1469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Andriy Ivanov,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for the information. ArcGIS Explorer does not expose mousemove and symbology, now in that case what options i have from ESRI so that i can do all these things in 3D. Pls let me know in this regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Piyush&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Dec 2010 02:41:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-explorer-desktop-questions/assining-featurelayer-from-map-using-c/m-p/234364#M1469</guid>
      <dc:creator>PiyushDubey</dc:creator>
      <dc:date>2010-12-24T02:41:38Z</dc:date>
    </item>
  </channel>
</rss>

