<?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 How to identify unsupported WebMap? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-identify-unsupported-webmap/m-p/430501#M39613</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to make use of &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html"&gt;WebMaps&lt;/A&gt; in the new ArcGIS API for JavaScript. The API reference states that&amp;nbsp;working with WebMap is partially supported and some portal items&amp;nbsp;might be created with &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-UnknownLayer.html"&gt;unknown&lt;/A&gt;&amp;nbsp;or &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-UnsupportedLayer.html"&gt;unsupported&lt;/A&gt; layers. Is there a way to detect if&amp;nbsp;a particular WebMap is not fully supported during runtime? Which layer types are not supported and can&amp;nbsp;the metadata of an item be used&amp;nbsp;to prevent loading content which will create&amp;nbsp;these layers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I would like to be informed if the content of a WebMap like &lt;A href="http://www.arcgis.com/home/item.html?id=51c07f67478e461c984e13d5157236c4"&gt;this (51c07f67478e461c984e13d5157236c4)&lt;/A&gt;&amp;nbsp;cannot be displayed. Inserting the ID into the &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/sandbox.html?sample=webmap-basic"&gt;sandbox example&lt;/A&gt;&amp;nbsp;does not lead to any console warning or errors. However, the features of this&amp;nbsp;item are not displayed. Instead, it shows only the basemap. &lt;BR /&gt;&lt;BR /&gt;I already tried using the load status of the PortalItem, WebMap, or MapView and parsed the created layers for&amp;nbsp;information. The API reference does not contain much information about this topic. Maybe someone has similar problems or is aware of a workaround. Otherwise, should I refer to the support with this question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;BR /&gt;René&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Sep 2016 13:44:49 GMT</pubDate>
    <dc:creator>ReneUnrau</dc:creator>
    <dc:date>2016-09-22T13:44:49Z</dc:date>
    <item>
      <title>How to identify unsupported WebMap?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-identify-unsupported-webmap/m-p/430501#M39613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to make use of &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html"&gt;WebMaps&lt;/A&gt; in the new ArcGIS API for JavaScript. The API reference states that&amp;nbsp;working with WebMap is partially supported and some portal items&amp;nbsp;might be created with &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-UnknownLayer.html"&gt;unknown&lt;/A&gt;&amp;nbsp;or &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-UnsupportedLayer.html"&gt;unsupported&lt;/A&gt; layers. Is there a way to detect if&amp;nbsp;a particular WebMap is not fully supported during runtime? Which layer types are not supported and can&amp;nbsp;the metadata of an item be used&amp;nbsp;to prevent loading content which will create&amp;nbsp;these layers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I would like to be informed if the content of a WebMap like &lt;A href="http://www.arcgis.com/home/item.html?id=51c07f67478e461c984e13d5157236c4"&gt;this (51c07f67478e461c984e13d5157236c4)&lt;/A&gt;&amp;nbsp;cannot be displayed. Inserting the ID into the &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/sandbox.html?sample=webmap-basic"&gt;sandbox example&lt;/A&gt;&amp;nbsp;does not lead to any console warning or errors. However, the features of this&amp;nbsp;item are not displayed. Instead, it shows only the basemap. &lt;BR /&gt;&lt;BR /&gt;I already tried using the load status of the PortalItem, WebMap, or MapView and parsed the created layers for&amp;nbsp;information. The API reference does not contain much information about this topic. Maybe someone has similar problems or is aware of a workaround. Otherwise, should I refer to the support with this question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;BR /&gt;René&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 13:44:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-identify-unsupported-webmap/m-p/430501#M39613</guid>
      <dc:creator>ReneUnrau</dc:creator>
      <dc:date>2016-09-22T13:44:49Z</dc:date>
    </item>
  </channel>
</rss>

