<?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: Selection symbol gets cut in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/selection-symbol-gets-cut/m-p/258664#M2412</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't add new graphics when I click on the map, &amp;nbsp;I select existing graphics on the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't use the touchDelegate method, bc I set the selection symbol once at the initilization of a custom AGSGraphicsLayer and expect ESRI to use it for marker's selected state when I click on the one of the multiple markers previously added&amp;nbsp;to my custom&amp;nbsp;&lt;SPAN class=""&gt;AGSGraphicsLayer. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;The marker&amp;nbsp;is AGSGraphic, all graphics are added to single custom &lt;SPAN&gt;AGSGraphicsLayer.&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Mar 2017 18:55:42 GMT</pubDate>
    <dc:creator>NikolayYekimov1</dc:creator>
    <dc:date>2017-03-20T18:55:42Z</dc:date>
    <item>
      <title>Selection symbol gets cut</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/selection-symbol-gets-cut/m-p/258662#M2410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am setting a selectionSymbol for my layer this way (iOS SDK v 10.2.5):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;if&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;/SPAN&gt;&lt;SPAN class=""&gt;let&lt;/SPAN&gt;&lt;SPAN class=""&gt; selectionSymbol = &lt;/SPAN&gt;&lt;SPAN class=""&gt;AGSPictureMarkerSymbol&lt;/SPAN&gt;&lt;SPAN class=""&gt;(image: selectionSymbolImg) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;selectionSymbol.&lt;/SPAN&gt;&lt;SPAN class=""&gt;offset&lt;/SPAN&gt;&lt;SPAN class=""&gt; = &lt;/SPAN&gt;&lt;SPAN class=""&gt;CGPoint&lt;/SPAN&gt;&lt;SPAN class=""&gt;(x: &lt;/SPAN&gt;&lt;SPAN class=""&gt;0&lt;/SPAN&gt;&lt;SPAN class=""&gt;, y: &lt;/SPAN&gt;&lt;SPAN class=""&gt;10&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;layer.&lt;/SPAN&gt;&lt;SPAN class=""&gt;selectionSymbol&lt;/SPAN&gt;&lt;SPAN class=""&gt; = selectionSymbol&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;On the first picture you can see the expected result. However sometime when I select a point on the map the selection symbol gets cut, see second picture. So what's wrong with it? Have can I avoid this behavior? And how can I bring selected point to the front?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="343219" alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/343219_var 2.png" style="height: auto;" /&gt;&lt;IMG __jive_id="343220" alt="" class="image-2 jive-image j-img-original" src="/legacyfs/online/343220_variant 1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2017 16:43:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/selection-symbol-gets-cut/m-p/258662#M2410</guid>
      <dc:creator>NikolayYekimov1</dc:creator>
      <dc:date>2017-03-20T16:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Selection symbol gets cut</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/selection-symbol-gets-cut/m-p/258663#M2411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nikolay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder did you use this method:&amp;nbsp;mapView:didClickAtPoint:mapPoint:features: under&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/ios/10-2/api-reference/protocol_a_g_s_map_view_touch_delegate-p.html#acf2fb293c5b0c42c39b3b7f8f73dc7f2" title="https://developers.arcgis.com/ios/10-2/api-reference/protocol_a_g_s_map_view_touch_delegate-p.html#acf2fb293c5b0c42c39b3b7f8f73dc7f2"&gt;10.2.5: &amp;lt;AGSMapViewTouchDelegate&amp;gt; Protocol Reference&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenever you click on the map, then make sure add the new graphicLayer on top of the featureLayer(I assume the point that you load up in map is coming from featureLayer)&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/ios/10-2/api-reference/interface_a_g_s_graphics_layer.html#a388d4a26b49080d2c3b589dac1ca430e" title="https://developers.arcgis.com/ios/10-2/api-reference/interface_a_g_s_graphics_layer.html#a388d4a26b49080d2c3b589dac1ca430e"&gt;10.2.5: AGSGraphicsLayer Class Reference&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2017 18:11:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/selection-symbol-gets-cut/m-p/258663#M2411</guid>
      <dc:creator>YueWu1</dc:creator>
      <dc:date>2017-03-20T18:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Selection symbol gets cut</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/selection-symbol-gets-cut/m-p/258664#M2412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't add new graphics when I click on the map, &amp;nbsp;I select existing graphics on the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't use the touchDelegate method, bc I set the selection symbol once at the initilization of a custom AGSGraphicsLayer and expect ESRI to use it for marker's selected state when I click on the one of the multiple markers previously added&amp;nbsp;to my custom&amp;nbsp;&lt;SPAN class=""&gt;AGSGraphicsLayer. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;The marker&amp;nbsp;is AGSGraphic, all graphics are added to single custom &lt;SPAN&gt;AGSGraphicsLayer.&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2017 18:55:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/selection-symbol-gets-cut/m-p/258664#M2412</guid>
      <dc:creator>NikolayYekimov1</dc:creator>
      <dc:date>2017-03-20T18:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Selection symbol gets cut</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/selection-symbol-gets-cut/m-p/258665#M2413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this is a bug in our static mode graphics layer rendering. We render to tiles and with a bigger symbol like that for the selection symbol, it doesn't realize that it needs to draw it in multiple tiles. Can you try dynamic graphics layer rendering mode to confirm that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 16:49:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/selection-symbol-gets-cut/m-p/258665#M2413</guid>
      <dc:creator>RyanOlson1</dc:creator>
      <dc:date>2017-03-21T16:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Selection symbol gets cut</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/selection-symbol-gets-cut/m-p/258666#M2414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! Tested for a while and seems the issue is gone with dynamic rendering mode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 19:36:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/selection-symbol-gets-cut/m-p/258666#M2414</guid>
      <dc:creator>NikolayYekimov1</dc:creator>
      <dc:date>2017-03-21T19:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Selection symbol gets cut</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/selection-symbol-gets-cut/m-p/258667#M2415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, good. The dynamic rendering mode could not handle as many graphics as the static rendering mode in 10.2.x. So make sure performance is ok for the number of graphics that you are using. If performance becomes an issue there are some other workarounds you can try:&lt;/P&gt;&lt;P&gt;- putting selected graphics in a different graphics layer&lt;/P&gt;&lt;P&gt;- smaller selection symbol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 19:41:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/selection-symbol-gets-cut/m-p/258667#M2415</guid>
      <dc:creator>RyanOlson1</dc:creator>
      <dc:date>2017-03-21T19:41:23Z</dc:date>
    </item>
  </channel>
</rss>

