<?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: Is AGSFeatureLayer.selectionSymbol completely removed from SDK 100.x? How can I create a solid selection border? in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-agsfeaturelayer-selectionsymbol-completely/m-p/605415#M5317</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your respons. What I'm looking for selection that changes the polygon completely. Most importantly a clear and solid border, not a faded one like the selectionColor and width creates now. Previous SDK version had selectionSymbol, but it seams to be gone?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/385419_Skjermbilde 2017-12-01 kl. 09.58.13.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Dec 2017 09:02:33 GMT</pubDate>
    <dc:creator>SvenAanesen</dc:creator>
    <dc:date>2017-12-01T09:02:33Z</dc:date>
    <item>
      <title>Is AGSFeatureLayer.selectionSymbol completely removed from SDK 100.x? How can I create a solid selection border?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-agsfeaturelayer-selectionsymbol-completely/m-p/605413#M5315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In 10.2.5 I was able to create a FeatureLayer with a selectionSymbol which made it possible to create a solid thick border on the selected feature. In version 100.x I'm only able to set .selectionColor and .selectionWidth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I create the selection effect I want in 100.x?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My users should be able to pick multiple existing features and create a new one based on the selected ones. While selecting it is important that the users see the selections clearly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2017 13:31:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-agsfeaturelayer-selectionsymbol-completely/m-p/605413#M5315</guid>
      <dc:creator>SvenAanesen</dc:creator>
      <dc:date>2017-11-30T13:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Is AGSFeatureLayer.selectionSymbol completely removed from SDK 100.x? How can I create a solid selection border?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-agsfeaturelayer-selectionsymbol-completely/m-p/605414#M5316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your question! &amp;nbsp;With the current API, you are able to create a thick border around a feature. &amp;nbsp;Here's the same symbol, one unselected and one selected with the selectionColor = .black and the selectionWidth = 2.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/385264_FeatureSelection.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that's not what you need, what selection effect are you looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2017 20:27:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-agsfeaturelayer-selectionsymbol-completely/m-p/605414#M5316</guid>
      <dc:creator>MarkDostal</dc:creator>
      <dc:date>2017-11-30T20:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Is AGSFeatureLayer.selectionSymbol completely removed from SDK 100.x? How can I create a solid selection border?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-agsfeaturelayer-selectionsymbol-completely/m-p/605415#M5317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your respons. What I'm looking for selection that changes the polygon completely. Most importantly a clear and solid border, not a faded one like the selectionColor and width creates now. Previous SDK version had selectionSymbol, but it seams to be gone?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/385419_Skjermbilde 2017-12-01 kl. 09.58.13.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Dec 2017 09:02:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-agsfeaturelayer-selectionsymbol-completely/m-p/605415#M5317</guid>
      <dc:creator>SvenAanesen</dc:creator>
      <dc:date>2017-12-01T09:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Is AGSFeatureLayer.selectionSymbol completely removed from SDK 100.x? How can I create a solid selection border?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-agsfeaturelayer-selectionsymbol-completely/m-p/605416#M5318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the selectionSymbol property has been removed, in favor of the selectionColor and selectionWidth. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a work around, one possibility to get the result you desire is to add a GraphicsOverlay to the map to handle the selection. &amp;nbsp;When the user selects a feature, a graphic is added to the overlay with the same geometry as the selected feature and a custom symbol. &amp;nbsp;Clearing the "selection" is just a matter of removing the graphic from the overlay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// create the overlay&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt; let selectionOverlay = AGSGraphicsOverlay()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//add the overlay to a mapView&lt;/P&gt;&lt;P style="color: #3495af; background-color: #ffffff; font-size: 13px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;mapView.graphicsOverlays.add(selectionOverlay)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//In the selection code (in my case it's the geoView.identifyLayers completion handler)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;//create your custom symbol&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt; let symbol = AGSSimpleMarkerSymbol(style: .circle, color: .red, size: 12.0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;//"unselect" all features&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt; self?.selectionOverlay.graphics.removeAllObjects()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;//loop through selected geoElements&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt; for geoElement in geoElements {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;//create the graphic with the geoElement's geometry and our selection symbol&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;let graphic = AGSGraphic(geometry: geoElement.geometry, symbol: symbol, attributes: nil)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;//add the graphic to our selection overlay&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;self?.selectionOverlay.graphics.add(graphic)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know how this works for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Dec 2017 19:45:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-agsfeaturelayer-selectionsymbol-completely/m-p/605416#M5318</guid>
      <dc:creator>MarkDostal</dc:creator>
      <dc:date>2017-12-01T19:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Is AGSFeatureLayer.selectionSymbol completely removed from SDK 100.x? How can I create a solid selection border?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-agsfeaturelayer-selectionsymbol-completely/m-p/605417#M5319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, this works. I have already implemented a similar approach. Just would wish that .selectionSymbol wasn't removed, when this would be a much simpler approach...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 08:58:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/is-agsfeaturelayer-selectionsymbol-completely/m-p/605417#M5319</guid>
      <dc:creator>SvenAanesen</dc:creator>
      <dc:date>2017-12-05T08:58:04Z</dc:date>
    </item>
  </channel>
</rss>

