<?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 SDK 100.1 Show the map legend in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/sdk-100-1-show-the-map-legend/m-p/547822#M3741</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First let me say that this community is awesome for us new arcgis users!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been able to pull the map in and everything is working fantastic, except that I am not able to figure out how to display the legend for a map.&amp;nbsp; This is my last item needed for my project.&amp;nbsp; I am pulling the map in via portal id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Oct 2017 16:19:33 GMT</pubDate>
    <dc:creator>DavidHoxeng</dc:creator>
    <dc:date>2017-10-25T16:19:33Z</dc:date>
    <item>
      <title>SDK 100.1 Show the map legend</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/sdk-100-1-show-the-map-legend/m-p/547822#M3741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First let me say that this community is awesome for us new arcgis users!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been able to pull the map in and everything is working fantastic, except that I am not able to figure out how to display the legend for a map.&amp;nbsp; This is my last item needed for my project.&amp;nbsp; I am pulling the map in via portal id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 16:19:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/sdk-100-1-show-the-map-legend/m-p/547822#M3741</guid>
      <dc:creator>DavidHoxeng</dc:creator>
      <dc:date>2017-10-25T16:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: SDK 100.1 Show the map legend</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/sdk-100-1-show-the-map-legend/m-p/547823#M3742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't believe that there is a Legend&amp;nbsp;view built into the API, but what you can do is for each layer in the map, call&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/layers/Layer.html#fetchLegendInfosAsync()" title="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/layers/Layer.html#fetchLegendInfosAsync()"&gt;Layer| arcgis-android&lt;/A&gt;&amp;nbsp;fetchLegendInfoAsync and when it is returned, build the legend from the information provided into any view you wish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 16:43:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/sdk-100-1-show-the-map-legend/m-p/547823#M3742</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-10-25T16:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: SDK 100.1 Show the map legend</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/sdk-100-1-show-the-map-legend/m-p/547824#M3743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the response!&amp;nbsp; So for the layers, would these be the operational layers for the map (ArcGISMap.getOperationalLayers())?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 14:36:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/sdk-100-1-show-the-map-legend/m-p/547824#M3743</guid>
      <dc:creator>DavidHoxeng</dc:creator>
      <dc:date>2017-10-26T14:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: SDK 100.1 Show the map legend</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/sdk-100-1-show-the-map-legend/m-p/547825#M3744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 15:03:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/sdk-100-1-show-the-map-legend/m-p/547825#M3744</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-10-26T15:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: SDK 100.1 Show the map legend</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/sdk-100-1-show-the-map-legend/m-p/547826#M3745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To futher Alexanders reply above, there's a great example of using this method to build a TOC in the Offline Mapbook example app. The app is described here -&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/example-apps/mapbook-android/#toc-legend-and-bookmarks" title="https://developers.arcgis.com/example-apps/mapbook-android/#toc-legend-and-bookmarks"&gt;Offline Mapbook for Android | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&amp;nbsp;- this topic also includes a link to the source code on GitHub so you can use this as a starting point if this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 10:54:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/sdk-100-1-show-the-map-legend/m-p/547826#M3745</guid>
      <dc:creator>ShellyGill1</dc:creator>
      <dc:date>2017-10-30T10:54:32Z</dc:date>
    </item>
  </channel>
</rss>

