<?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 AGSSketchGraphicsLayer - line/polygon symbols not showing in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agssketchgraphicslayer-line-polygon-symbols-not/m-p/450078#M3863</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on an app that's using AGSSketchGraphicsLayer for editing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When editing starts, the vertices, midpoints, and selected vertex shows and responds. However, there are no line drawn between the vertices.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried creating my own composite symbol for the mainSymbol:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo; color: #703daa;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #4f8187;"&gt;_renderSymbols&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; = [&lt;/SPAN&gt;AGSCompositeSymbol&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;compositeSymbol&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo; color: #703daa;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;AGSSimpleLineSymbol&lt;SPAN style="color: #000000;"&gt;* lineSymbol = [[&lt;/SPAN&gt;AGSSimpleLineSymbol&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;alloc&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;] &lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;init&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; lineSymbol.&lt;SPAN style="color: #703daa;"&gt;color&lt;/SPAN&gt;= [&lt;SPAN style="color: #703daa;"&gt;UIColor&lt;/SPAN&gt; &lt;SPAN style="color: #3d1d81;"&gt;redColor&lt;/SPAN&gt;];&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; lineSymbol.&lt;SPAN style="color: #703daa;"&gt;width&lt;/SPAN&gt; = &lt;SPAN style="color: #272ad8;"&gt;2&lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo; color: #3d1d81;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; lineSymbol.&lt;/SPAN&gt;&lt;SPAN style="color: #703daa;"&gt;style&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; = &lt;/SPAN&gt;AGSSimpleLineSymbolStyleSolid&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;SPAN style="color: #4f8187;"&gt;_renderSymbols&lt;/SPAN&gt; &lt;SPAN style="color: #3d1d81;"&gt;addSymbol&lt;/SPAN&gt;:lineSymbol];&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo; color: #703daa;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;AGSSimpleFillSymbol&lt;SPAN style="color: #000000;"&gt;* fillSymbol = [[&lt;/SPAN&gt;AGSSimpleFillSymbol&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;alloc&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;] &lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;init&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fillSymbol.&lt;SPAN style="color: #703daa;"&gt;color&lt;/SPAN&gt; = [&lt;SPAN style="color: #703daa;"&gt;UIColor&lt;/SPAN&gt; &lt;SPAN style="color: #3d1d81;"&gt;colorWithRed&lt;/SPAN&gt;:&lt;SPAN style="color: #272ad8;"&gt;0.0&lt;/SPAN&gt; &lt;SPAN style="color: #3d1d81;"&gt;green&lt;/SPAN&gt;:&lt;SPAN style="color: #272ad8;"&gt;1.0&lt;/SPAN&gt; &lt;SPAN style="color: #3d1d81;"&gt;blue&lt;/SPAN&gt;:&lt;SPAN style="color: #272ad8;"&gt;0&lt;/SPAN&gt; &lt;SPAN style="color: #3d1d81;"&gt;alpha&lt;/SPAN&gt;:&lt;SPAN style="color: #272ad8;"&gt;.4&lt;/SPAN&gt;] ;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;SPAN style="color: #4f8187;"&gt;_renderSymbols&lt;/SPAN&gt; &lt;SPAN style="color: #3d1d81;"&gt;addSymbol&lt;/SPAN&gt;:fillSymbol];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo; color: #703daa;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _f&lt;/SPAN&gt;&lt;SPAN style="color: #4f8187;"&gt;eatureSketchLayer&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; = [[&lt;/SPAN&gt;AGSSketchGraphicsLayer&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;alloc&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;initWithGeometry&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #bb2ca2;"&gt;nil&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo; color: #4f8187;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _&lt;/SPAN&gt;featureSketchLayer&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #703daa;"&gt;mainSymbol&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; = &lt;/SPAN&gt;_renderSymbols&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;/SPAN&gt;&lt;SPAN style="color: #bb2ca2;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #4f8187;"&gt;mapView&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;addMapLayer&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #bb2ca2;"&gt;_&lt;/SPAN&gt;&lt;SPAN style="color: #4f8187;"&gt;featureSketchLayer&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;withName&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #d12f1b;"&gt;@"Feature sketch layer"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Still, it looks the same, with only vertices/midpoints rendered.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I am using Runtime for iOS v.10.2.4.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Dec 2014 13:42:30 GMT</pubDate>
    <dc:creator>ØyvindIdland</dc:creator>
    <dc:date>2014-12-04T13:42:30Z</dc:date>
    <item>
      <title>AGSSketchGraphicsLayer - line/polygon symbols not showing</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agssketchgraphicslayer-line-polygon-symbols-not/m-p/450078#M3863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on an app that's using AGSSketchGraphicsLayer for editing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When editing starts, the vertices, midpoints, and selected vertex shows and responds. However, there are no line drawn between the vertices.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried creating my own composite symbol for the mainSymbol:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo; color: #703daa;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #4f8187;"&gt;_renderSymbols&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; = [&lt;/SPAN&gt;AGSCompositeSymbol&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;compositeSymbol&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo; color: #703daa;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;AGSSimpleLineSymbol&lt;SPAN style="color: #000000;"&gt;* lineSymbol = [[&lt;/SPAN&gt;AGSSimpleLineSymbol&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;alloc&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;] &lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;init&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; lineSymbol.&lt;SPAN style="color: #703daa;"&gt;color&lt;/SPAN&gt;= [&lt;SPAN style="color: #703daa;"&gt;UIColor&lt;/SPAN&gt; &lt;SPAN style="color: #3d1d81;"&gt;redColor&lt;/SPAN&gt;];&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; lineSymbol.&lt;SPAN style="color: #703daa;"&gt;width&lt;/SPAN&gt; = &lt;SPAN style="color: #272ad8;"&gt;2&lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo; color: #3d1d81;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; lineSymbol.&lt;/SPAN&gt;&lt;SPAN style="color: #703daa;"&gt;style&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; = &lt;/SPAN&gt;AGSSimpleLineSymbolStyleSolid&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;SPAN style="color: #4f8187;"&gt;_renderSymbols&lt;/SPAN&gt; &lt;SPAN style="color: #3d1d81;"&gt;addSymbol&lt;/SPAN&gt;:lineSymbol];&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo; color: #703daa;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;AGSSimpleFillSymbol&lt;SPAN style="color: #000000;"&gt;* fillSymbol = [[&lt;/SPAN&gt;AGSSimpleFillSymbol&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;alloc&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;] &lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;init&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fillSymbol.&lt;SPAN style="color: #703daa;"&gt;color&lt;/SPAN&gt; = [&lt;SPAN style="color: #703daa;"&gt;UIColor&lt;/SPAN&gt; &lt;SPAN style="color: #3d1d81;"&gt;colorWithRed&lt;/SPAN&gt;:&lt;SPAN style="color: #272ad8;"&gt;0.0&lt;/SPAN&gt; &lt;SPAN style="color: #3d1d81;"&gt;green&lt;/SPAN&gt;:&lt;SPAN style="color: #272ad8;"&gt;1.0&lt;/SPAN&gt; &lt;SPAN style="color: #3d1d81;"&gt;blue&lt;/SPAN&gt;:&lt;SPAN style="color: #272ad8;"&gt;0&lt;/SPAN&gt; &lt;SPAN style="color: #3d1d81;"&gt;alpha&lt;/SPAN&gt;:&lt;SPAN style="color: #272ad8;"&gt;.4&lt;/SPAN&gt;] ;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;SPAN style="color: #4f8187;"&gt;_renderSymbols&lt;/SPAN&gt; &lt;SPAN style="color: #3d1d81;"&gt;addSymbol&lt;/SPAN&gt;:fillSymbol];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo; color: #703daa;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _f&lt;/SPAN&gt;&lt;SPAN style="color: #4f8187;"&gt;eatureSketchLayer&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; = [[&lt;/SPAN&gt;AGSSketchGraphicsLayer&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;alloc&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;initWithGeometry&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #bb2ca2;"&gt;nil&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo; color: #4f8187;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _&lt;/SPAN&gt;featureSketchLayer&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #703daa;"&gt;mainSymbol&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; = &lt;/SPAN&gt;_renderSymbols&lt;SPAN style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&lt;/SPAN&gt;&lt;SPAN style="color: #bb2ca2;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #4f8187;"&gt;mapView&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;addMapLayer&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #bb2ca2;"&gt;_&lt;/SPAN&gt;&lt;SPAN style="color: #4f8187;"&gt;featureSketchLayer&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d1d81;"&gt;withName&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #d12f1b;"&gt;@"Feature sketch layer"&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Still, it looks the same, with only vertices/midpoints rendered.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I am using Runtime for iOS v.10.2.4.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2014 13:42:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agssketchgraphicslayer-line-polygon-symbols-not/m-p/450078#M3863</guid>
      <dc:creator>ØyvindIdland</dc:creator>
      <dc:date>2014-12-04T13:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: AGSSketchGraphicsLayer - line/polygon symbols not showing</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agssketchgraphicslayer-line-polygon-symbols-not/m-p/450079#M3864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you verify a few things?&lt;/P&gt;&lt;P&gt;1. Using popups to edit existing feature, can you check if &lt;EM&gt;popupsContainer:readyToEditGraphicGeometry:forPopup:&lt;/EM&gt; is implemented and has the following code&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;self.sketchLayer.geometry = geometry;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Using popups to create new feature: Implement &lt;EM&gt;popupsContainer:wantsNewMutableGeometryForPopup:&lt;/EM&gt; and return a correct geometry based on the layer to be edited and its spatial reference. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. When you load custom symbols, verify &lt;EM&gt;mainSymbol&lt;/EM&gt; is not nil during execution. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Instead of this, &lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;_featureSketchLayer = [[AGSSketchGraphicsLayer alloc]initWithGeometry:nil];&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;you may initialize the sketch layer with a geometry type of your layer, and the spatial reference of your map. The map should be loaded at this point, so &lt;EM&gt;mapViewDidLoad:&lt;/EM&gt; method is a good place to test. &lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;self.polyline = [[AGSMutablePoint alloc] initWithSpatialReference:self.mapView.spatialReference];&lt;/P&gt;&lt;P&gt;self.sketchGraphicsLayer = [[AGSSketchGraphicsLayer alloc] initWithGeometry:self.point];&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Alternatively, you can initialize the sketch layer right in the beginning, and when you start sketching assign an empty geometry (for new features), or the current feature’s geometry (for existing features). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may also check out a related sample &lt;A href="https://github.com/Esri/arcgis-runtime-samples-ios/tree/master/SketchLayerSample"&gt;here&lt;/A&gt;. If none works, can you share a simple project that reproduces the issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Suganya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2014 18:20:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agssketchgraphicslayer-line-polygon-symbols-not/m-p/450079#M3864</guid>
      <dc:creator>SuganyaBaskaran1</dc:creator>
      <dc:date>2014-12-04T18:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: AGSSketchGraphicsLayer - line/polygon symbols not showing</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agssketchgraphicslayer-line-polygon-symbols-not/m-p/450080#M3865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suganya, thanks for the suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, this is case is when creating new features (using a template). Also, the geometry do exist, and has to so since the vertices and midpoint-grips are shown correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The mainSymbol is indeed instantiated when I create the layer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo;"&gt;&lt;SPAN style="color: #6389ff;"&gt;&lt;STRONG&gt;(lldb) &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;po self.featureSketchLayer.mainSymbol.symbols&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo;"&gt;&amp;lt;__NSArrayI 0x7b180560&amp;gt;(&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo;"&gt;&amp;lt;AGSSimpleFillSymbol: 0x7ae283c0&amp;gt;,&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo;"&gt;&amp;lt;AGSSimpleLineSymbol: 0x7ae19880&amp;gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo;"&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried supplying a dummy feature with the actual geometry type + same spatial reference as in the map in initWithGeometry, with no effect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For now, I made a workaround that seems to work fairly well: I created another AGSGraphicLayer, with one Graphic. I then listen to AGSSketchGraphicsLayerGeometryDidChangeNotification, and perform the following:&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo;"&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo;"&gt;- (&lt;SPAN style="color: #bb2ca2;"&gt;void&lt;/SPAN&gt;)respondToGeomChanged: (&lt;SPAN style="color: #703daa;"&gt;NSNotification&lt;/SPAN&gt;*) notification {&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo; color: #008400;"&gt;&lt;SPAN style="line-height: 1.5; color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #bb2ca2;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #4f8187; line-height: 1.5;"&gt;drawingGraphic&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #703daa;"&gt;geometry&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #000000;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #bb2ca2;"&gt;self&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #4f8187; line-height: 1.5;"&gt;featureSketchLayer&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #703daa;"&gt;geometry&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5; color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: Menlo;"&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will probably work for now. I will try to make a small reproducible project as soon as I get time for it &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Oyvind&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 09:31:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agssketchgraphicslayer-line-polygon-symbols-not/m-p/450080#M3865</guid>
      <dc:creator>ØyvindIdland</dc:creator>
      <dc:date>2014-12-05T09:31:27Z</dc:date>
    </item>
  </channel>
</rss>

