<?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 Lite License incompatible with certain layers in MMPK? in Swift Maps SDK Questions</title>
    <link>https://community.esri.com/t5/swift-maps-sdk-questions/lite-license-incompatible-with-certain-layers-in/m-p/1352116#M169</link>
    <description>&lt;P&gt;I have some MMPK files from a customer that I'm developing an iOS app for.&amp;nbsp; There are some geometry layers and some image layers.&amp;nbsp; When the app is in "developer" mode (i.e. no license string applied), the MMPK files load and display correctly.&amp;nbsp; When a license string is applied (Lite license), the MMPK loads without errors, but the MapView is black.&amp;nbsp; I can still enumerate the layers after the MMPK is loaded, but nothing will display.&amp;nbsp; The customer has a Publisher license and is saving the MMPK with the anonymous flag.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For debugging, I have imported one of the MMPK files into ArcGIS Pro (Trial) and systematically removed layers (re-exporting the MMPK and re-loading it into my test app as I went).&amp;nbsp; I found that the imagery layers they have supplied (satellite and hillshade) are the layers that are causing the MapView to go black.&amp;nbsp; I can replace those layers in the MMPK with the ArcGIS Pro "Imagery" basemap layer and the Esri "World Hillshade (for Export)" basemap that I downloaded from Esri, and everything works just fine (and looks very similar to their imagery); but I can't really tell our customer they have to change their maps - my job is to make an app that works with what they are supplying me.&lt;/P&gt;&lt;P&gt;Is there some setting or attribute or property that I can check/change on a map layer to debug what appears to be a licensing issue?&lt;/P&gt;</description>
    <pubDate>Tue, 21 Nov 2023 17:40:05 GMT</pubDate>
    <dc:creator>dmc76</dc:creator>
    <dc:date>2023-11-21T17:40:05Z</dc:date>
    <item>
      <title>Lite License incompatible with certain layers in MMPK?</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/lite-license-incompatible-with-certain-layers-in/m-p/1352116#M169</link>
      <description>&lt;P&gt;I have some MMPK files from a customer that I'm developing an iOS app for.&amp;nbsp; There are some geometry layers and some image layers.&amp;nbsp; When the app is in "developer" mode (i.e. no license string applied), the MMPK files load and display correctly.&amp;nbsp; When a license string is applied (Lite license), the MMPK loads without errors, but the MapView is black.&amp;nbsp; I can still enumerate the layers after the MMPK is loaded, but nothing will display.&amp;nbsp; The customer has a Publisher license and is saving the MMPK with the anonymous flag.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For debugging, I have imported one of the MMPK files into ArcGIS Pro (Trial) and systematically removed layers (re-exporting the MMPK and re-loading it into my test app as I went).&amp;nbsp; I found that the imagery layers they have supplied (satellite and hillshade) are the layers that are causing the MapView to go black.&amp;nbsp; I can replace those layers in the MMPK with the ArcGIS Pro "Imagery" basemap layer and the Esri "World Hillshade (for Export)" basemap that I downloaded from Esri, and everything works just fine (and looks very similar to their imagery); but I can't really tell our customer they have to change their maps - my job is to make an app that works with what they are supplying me.&lt;/P&gt;&lt;P&gt;Is there some setting or attribute or property that I can check/change on a map layer to debug what appears to be a licensing issue?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 17:40:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/lite-license-incompatible-with-certain-layers-in/m-p/1352116#M169</guid>
      <dc:creator>dmc76</dc:creator>
      <dc:date>2023-11-21T17:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Lite License incompatible with certain layers in MMPK?</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/lite-license-incompatible-with-certain-layers-in/m-p/1352140#M170</link>
      <description>&lt;P&gt;Follow-up:&amp;nbsp; I think I've narrowed it down to raster layers (i.e. tiff, png, etc).&amp;nbsp; Any MMPK I've tried with a raster layer (from any data source) is only showing as a black MapView/no display when using a Lite license.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 18:45:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/lite-license-incompatible-with-certain-layers-in/m-p/1352140#M170</guid>
      <dc:creator>dmc76</dc:creator>
      <dc:date>2023-11-21T18:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Lite License incompatible with certain layers in MMPK?</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/lite-license-incompatible-with-certain-layers-in/m-p/1352257#M171</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;That's correct: non-Esri proprietary layer sources such as local rasters require a Standard license. This is true whether delivered as standalone files (e.g. &lt;FONT face="andale mono,times"&gt;.geotiff&lt;/FONT&gt;), or packaged up through a format such as Mobile Map Packages or Mobile Scene Packages.&lt;/P&gt;&lt;P&gt;That information is included &lt;A href="https://developers.arcgis.com/swift/license-and-deployment/license-levels-and-capabilities/" target="_self"&gt;here&lt;/A&gt;, but I will see if we can be more explicit about that.&lt;/P&gt;&lt;P&gt;For the layers that did not display, you should be able to look at the &lt;A href="https://developers.arcgis.com/swift/api-reference/documentation/arcgis/layer/loaderror" target="_self"&gt;loadError&lt;/A&gt; on that layer to understand why.&lt;/P&gt;&lt;P&gt;Related: where a layer&amp;nbsp;&lt;EM&gt;can&lt;/EM&gt; load OK but subsequently fails to draw for some other reason (e.g. the network drops for a connected layer) then you can also check the &lt;A href="https://developers.arcgis.com/swift/api-reference/documentation/arcgis/geoviewproxy/viewstate(for:)" target="_self"&gt;viewState&lt;/A&gt;. In this case, the license check error would be on layer load though, so view state won't be useful. A reasonable rule of thumb is start by checking if a layer loaded ok first, and if so, check the view state to see why it might have stopped working.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 20:49:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/lite-license-incompatible-with-certain-layers-in/m-p/1352257#M171</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2023-11-21T20:49:56Z</dc:date>
    </item>
  </channel>
</rss>

