<?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 Problems with AGSGraphicsLayer in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problems-with-agsgraphicslayer/m-p/262161#M2443</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am having trouble adding and populating an AGSGraphicsLayer.&amp;nbsp; Through my log I know there are features in the Graphics Layer and that there is a symbol attached to each graphic. My problem is that the Graphics Layer doesn't display.&amp;nbsp; I have attached my code for both creating and populating the Graphics Layer.&amp;nbsp; Any help would be fantastic, I can't figure out what I am doing wrong&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Creating&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
-(void) didOpenWebMap:(AGSWebMap *)webMap intoMapView:(AGSMapView *)mapView
{
// Add Graphic Layer
self.NonRelatedPermitsLayer = [AGSGraphicsLayergraphicsLayer];
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [self.mapViewaddMapLayer:self.NonRelatedPermitsLayerwithName:@"Non Related Permit Sketch"];
}
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;Populating&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
-(void) PrintintOrientationChange
{
//Create the AGSSimpleFillSymbol used for the fill
&amp;nbsp;&amp;nbsp; AGSSimpleFillSymbol* myFillSymbol = [AGSSimpleFillSymbolsimpleFillSymbol];
&amp;nbsp;&amp;nbsp;&amp;nbsp; myFillSymbol.color = [UIColor colorWithRed:0.7 green:0.1 blue:0.1 alpha:0.5];

//Create the AGSSimpleLineSymbol used for the outline
&amp;nbsp;&amp;nbsp; AGSSimpleLineSymbol* myOutlineSymbol = [AGSSimpleLineSymbolsimpleLineSymbol];
&amp;nbsp;&amp;nbsp;&amp;nbsp; myOutlineSymbol.color = [UIColor redColor];
&amp;nbsp;&amp;nbsp;&amp;nbsp; myOutlineSymbol.width = 50;

//set the outline property to myOutlineSymbol
&amp;nbsp;&amp;nbsp;&amp;nbsp; myFillSymbol.outline = myOutlineSymbol;


for (AGSGraphic *graphic inAppDelagate.NonRelatedFeatureSet.features)
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //set the graphics???s symbol to fillSymbol
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; graphic.symbol = myFillSymbol;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //add the graphic to the layer
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [self.NonRelatedPermitsLayer addGraphic:graphic];
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
}


&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Sep 2013 16:40:44 GMT</pubDate>
    <dc:creator>JeffGiesler</dc:creator>
    <dc:date>2013-09-25T16:40:44Z</dc:date>
    <item>
      <title>Problems with AGSGraphicsLayer</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problems-with-agsgraphicslayer/m-p/262161#M2443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am having trouble adding and populating an AGSGraphicsLayer.&amp;nbsp; Through my log I know there are features in the Graphics Layer and that there is a symbol attached to each graphic. My problem is that the Graphics Layer doesn't display.&amp;nbsp; I have attached my code for both creating and populating the Graphics Layer.&amp;nbsp; Any help would be fantastic, I can't figure out what I am doing wrong&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Creating&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
-(void) didOpenWebMap:(AGSWebMap *)webMap intoMapView:(AGSMapView *)mapView
{
// Add Graphic Layer
self.NonRelatedPermitsLayer = [AGSGraphicsLayergraphicsLayer];
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [self.mapViewaddMapLayer:self.NonRelatedPermitsLayerwithName:@"Non Related Permit Sketch"];
}
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;Populating&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
-(void) PrintintOrientationChange
{
//Create the AGSSimpleFillSymbol used for the fill
&amp;nbsp;&amp;nbsp; AGSSimpleFillSymbol* myFillSymbol = [AGSSimpleFillSymbolsimpleFillSymbol];
&amp;nbsp;&amp;nbsp;&amp;nbsp; myFillSymbol.color = [UIColor colorWithRed:0.7 green:0.1 blue:0.1 alpha:0.5];

//Create the AGSSimpleLineSymbol used for the outline
&amp;nbsp;&amp;nbsp; AGSSimpleLineSymbol* myOutlineSymbol = [AGSSimpleLineSymbolsimpleLineSymbol];
&amp;nbsp;&amp;nbsp;&amp;nbsp; myOutlineSymbol.color = [UIColor redColor];
&amp;nbsp;&amp;nbsp;&amp;nbsp; myOutlineSymbol.width = 50;

//set the outline property to myOutlineSymbol
&amp;nbsp;&amp;nbsp;&amp;nbsp; myFillSymbol.outline = myOutlineSymbol;


for (AGSGraphic *graphic inAppDelagate.NonRelatedFeatureSet.features)
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //set the graphics???s symbol to fillSymbol
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; graphic.symbol = myFillSymbol;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //add the graphic to the layer
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [self.NonRelatedPermitsLayer addGraphic:graphic];
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
}


&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 16:40:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problems-with-agsgraphicslayer/m-p/262161#M2443</guid>
      <dc:creator>JeffGiesler</dc:creator>
      <dc:date>2013-09-25T16:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with AGSGraphicsLayer</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problems-with-agsgraphicslayer/m-p/262162#M2444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Figured it out.&amp;nbsp; Wasn't a GraphicLayer problem but a projection problem.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 14:02:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/problems-with-agsgraphicslayer/m-p/262162#M2444</guid>
      <dc:creator>JeffGiesler</dc:creator>
      <dc:date>2013-09-27T14:02:54Z</dc:date>
    </item>
  </channel>
</rss>

