<?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 Exception when requesting Legend Information - iOS xamarin sdk in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/exception-when-requesting-legend-information-ios/m-p/172594#M1976</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the Latest version of Ersi Runtime version 100.4.0 on Xamarin iOS sdk, and am trying to query and display feature layers from a feature Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an issue when trying to fetch the Legend Info from a feature server,&amp;nbsp; Although the layers are plotted fine on the map. I still receive an Exception with a 400 Error code on Every execution of the following piece of code. (while iterating through features)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Menlo;"&gt; &lt;SPAN style="color: #222222;"&gt;baseLayer&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #009695;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #3363a4;"&gt;ArcGISMapImageLayer&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #009695;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #3363a4;"&gt;Uri&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;FeatureUrl&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;));&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Menlo;"&gt;&lt;SPAN style="color: #009695;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;layerLegends&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #009695;"&gt;await&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt; &lt;SPAN&gt;baseLayer&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;GetLegendInfosAsync&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;();&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same code returns the legend image and other information correctly&amp;nbsp;while querying Feature layers on&amp;nbsp;another Map Server.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find attached the Exception Log as well as the json object for the feature Layer in question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Apr 2019 07:34:58 GMT</pubDate>
    <dc:creator>YashvitNaik</dc:creator>
    <dc:date>2019-04-09T07:34:58Z</dc:date>
    <item>
      <title>Exception when requesting Legend Information - iOS xamarin sdk</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/exception-when-requesting-legend-information-ios/m-p/172594#M1976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the Latest version of Ersi Runtime version 100.4.0 on Xamarin iOS sdk, and am trying to query and display feature layers from a feature Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an issue when trying to fetch the Legend Info from a feature server,&amp;nbsp; Although the layers are plotted fine on the map. I still receive an Exception with a 400 Error code on Every execution of the following piece of code. (while iterating through features)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Menlo;"&gt; &lt;SPAN style="color: #222222;"&gt;baseLayer&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #009695;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #3363a4;"&gt;ArcGISMapImageLayer&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #009695;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #3363a4;"&gt;Uri&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;FeatureUrl&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;));&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Menlo;"&gt;&lt;SPAN style="color: #009695;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;layerLegends&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #009695;"&gt;await&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt; &lt;SPAN&gt;baseLayer&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;GetLegendInfosAsync&lt;/SPAN&gt;&lt;SPAN style="color: #222222;"&gt;();&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same code returns the legend image and other information correctly&amp;nbsp;while querying Feature layers on&amp;nbsp;another Map Server.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find attached the Exception Log as well as the json object for the feature Layer in question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2019 07:34:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/exception-when-requesting-legend-information-ios/m-p/172594#M1976</guid>
      <dc:creator>YashvitNaik</dc:creator>
      <dc:date>2019-04-09T07:34:58Z</dc:date>
    </item>
  </channel>
</rss>

