<?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: Custom symbology issue when generating Offline Feature Layers in Swift Maps SDK Questions</title>
    <link>https://community.esri.com/t5/swift-maps-sdk-questions/custom-symbology-issue-when-generating-offline/m-p/1615050#M527</link>
    <description>&lt;P&gt;Hi Cristhian,&amp;nbsp;&lt;SPAN&gt;when using the&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;GeodatabaseSyncTask&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;to download and sync feature layers from ArcGIS Online, &lt;/SPAN&gt;visualization settings (like symbology, renderers, and labeling)&lt;STRONG&gt; are not included&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;in the geodatabase itself. Using&amp;nbsp;&lt;EM&gt;OfflineMapTask&amp;nbsp;&lt;/EM&gt;would be the way to take symbology offline.&amp;nbsp;The &lt;EM&gt;GeodatbaseSyncTask&lt;/EM&gt; only accounts for the underlying data and the&amp;nbsp;&lt;STRONG&gt;default&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;symbology&lt;/STRONG&gt;&amp;nbsp;defined in the feature service because it&amp;nbsp;doesn’t&amp;nbsp;know anything about the webmap or the layer’s portal item.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;See &lt;A href="https://community.esri.com/t5/flutter-maps-sdk-questions/feature-layers-are-missing-visualization/m-p/1612088#M101" target="_self"&gt;this&lt;/A&gt; answer for a similar question we recently received.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 15 May 2025 15:58:11 GMT</pubDate>
    <dc:creator>Ting</dc:creator>
    <dc:date>2025-05-15T15:58:11Z</dc:date>
    <item>
      <title>Custom symbology issue when generating Offline Feature Layers</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/custom-symbology-issue-when-generating-offline/m-p/1614802#M526</link>
      <description>&lt;P&gt;Hello, we are using the GeodatabaseSyncTask class to generate offline feature service layers from a feature server, we have noticed that some of the symbology is not displayed properly in some of the layers. When verifying these feature layers in the ArcGIS Online web application the symbology is correct, we wonder if this is expected?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Correct symbology (left side, ArcGIS Online web viewer)&lt;BR /&gt;Missing symbology (right side, iOS app using Swift SDK)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/132283iBD9BB0043645FDD9/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 21:59:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/custom-symbology-issue-when-generating-offline/m-p/1614802#M526</guid>
      <dc:creator>CristhianSanchez</dc:creator>
      <dc:date>2025-05-14T21:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Custom symbology issue when generating Offline Feature Layers</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/custom-symbology-issue-when-generating-offline/m-p/1615050#M527</link>
      <description>&lt;P&gt;Hi Cristhian,&amp;nbsp;&lt;SPAN&gt;when using the&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;GeodatabaseSyncTask&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;to download and sync feature layers from ArcGIS Online, &lt;/SPAN&gt;visualization settings (like symbology, renderers, and labeling)&lt;STRONG&gt; are not included&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;in the geodatabase itself. Using&amp;nbsp;&lt;EM&gt;OfflineMapTask&amp;nbsp;&lt;/EM&gt;would be the way to take symbology offline.&amp;nbsp;The &lt;EM&gt;GeodatbaseSyncTask&lt;/EM&gt; only accounts for the underlying data and the&amp;nbsp;&lt;STRONG&gt;default&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;symbology&lt;/STRONG&gt;&amp;nbsp;defined in the feature service because it&amp;nbsp;doesn’t&amp;nbsp;know anything about the webmap or the layer’s portal item.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;See &lt;A href="https://community.esri.com/t5/flutter-maps-sdk-questions/feature-layers-are-missing-visualization/m-p/1612088#M101" target="_self"&gt;this&lt;/A&gt; answer for a similar question we recently received.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 15:58:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/custom-symbology-issue-when-generating-offline/m-p/1615050#M527</guid>
      <dc:creator>Ting</dc:creator>
      <dc:date>2025-05-15T15:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Custom symbology issue when generating Offline Feature Layers</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/custom-symbology-issue-when-generating-offline/m-p/1645877#M576</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/440371"&gt;@Ting&lt;/a&gt;&amp;nbsp;thank you for your reply, We tried and tested your proposed solution, but we encountered the following questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In our case, we need to download individual layers with their custom symbology. With the solution you suggested, using OfflineMapTask, we obtain the entire Web Map. We would like to know if there is a way to download only a single layer with its respective custom symbology.&lt;/LI&gt;&lt;LI&gt;Currently, we do not use a Web Map in our app; instead, we use a map based on basemap styles. Would this type of map work with the OfflineMapTask implementation, or is it necessary to switch to a Web Map?&lt;/LI&gt;&lt;LI&gt;What file extension is generated by an OfflineMapTask job?&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 26 Aug 2025 22:25:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/custom-symbology-issue-when-generating-offline/m-p/1645877#M576</guid>
      <dc:creator>julianrua</dc:creator>
      <dc:date>2025-08-26T22:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: Custom symbology issue when generating Offline Feature Layers</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/custom-symbology-issue-when-generating-offline/m-p/1645916#M577</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;P&gt;In our case, we need to download individual layers with their custom symbology. With the solution you suggested, using OfflineMapTask, we obtain the entire Web Map. We would like to know if there is a way to download only a single layer with its respective custom symbology.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This is a fair question. ArcGIS does have a file format to support sharing a single layer with its symbology and data - that is the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/sharing/overview/layer-package.htm" target="_self"&gt;Layer Package&lt;/A&gt;. However, Maps SDK doesn't support this feature yet. That is, Maps SDK can neither read the layer package (.lpkx) created by ArcGIS Pro, nor export a layer package. If you'd like to have this feature, please share your use case on our &lt;A href="https://community.esri.com/t5/arcgis-maps-sdks-native-ideas/idb-p/arcgis-runtime-sdks-ideas" target="_self"&gt;ideas board&lt;/A&gt;&amp;nbsp;so we can triage this request.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Currently, we do not use a Web Map in our app; instead, we use a map based on basemap styles. Would this type of map work with the OfflineMapTask implementation, or is it necessary to switch to a Web Map?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;EM&gt;OfflineMapTask&lt;/EM&gt; only works with web maps.&lt;/P&gt;&lt;P&gt;Specific to your usecase, to have everything display offline, you would probably need these pieces and assemble them together:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;A &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/projects/styles.htm#ESRI_SECTION2_3CF8F3F6EF3A412B9C4ED16D3D69DB15" target="_blank" rel="noopener"&gt;mobile style file&lt;/A&gt;&amp;nbsp;(.stylx) to use with the&amp;nbsp;&lt;EM&gt;&lt;A href="https://developers.arcgis.com/swift/api-reference/documentation/arcgis/dictionarysymbolstyle" target="_blank" rel="noopener"&gt;DictionarySymbolStyle&lt;/A&gt;&lt;/EM&gt;&amp;nbsp;in the app for symbols. You can get an idea of how it looks like in the&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-maps-sdk-swift-samples/tree/main/Shared/Samples/Style%20features%20with%20custom%20dictionary" target="_blank" rel="noopener"&gt;Style features with custom dictionary&lt;/A&gt; code sample&lt;/LI&gt;&lt;LI&gt;The geodatabase as the data backing the layer, presumably from a&amp;nbsp;&lt;EM&gt;GeodatabaseSyncTask&lt;/EM&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;The basemap. Since you are not using a web map but a map created from a basemap style, its offline equivalent would be the vector tile cache from an &lt;EM&gt;&lt;A href="https://developers.arcgis.com/swift/api-reference/documentation/arcgis/exportvectortilestask/" target="_blank" rel="noopener"&gt;ExportVectorTilesTask&lt;/A&gt;&lt;/EM&gt;. See the&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-maps-sdk-swift-samples/tree/main/Shared/Samples/Download%20vector%20tiles%20to%20local%20cache" target="_blank" rel="noopener"&gt;Download vector tiles to local cache&lt;/A&gt; code sample&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;As you may tell, without using a webmap and &lt;EM&gt;OfflineMapTask&lt;/EM&gt;, it quickly becomes a less tight-knit user story with various pieces floating around. Again, please share your use case on our ideas board if you like to see more support in that regard.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;What file extension is generated by an OfflineMapTask job?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;EM&gt;OfflineMapTask&lt;/EM&gt; and the subsequent&amp;nbsp;&lt;SPAN&gt;&lt;EM&gt;GenerateOfflineMapJob&lt;/EM&gt; produces what we internally referred to as an "exploded mobile map package", that is a series of files (NOT a single file) that make a web map work offline. We don't talk about its structure, and it has many implications (edit-ability, locators, network dataset, etc.) that aren't&amp;nbsp;relevant to the end user. So think it as a black box.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Or put it simply: ArcGIS Pro produces .mmpk "Mobile Map Package" as a single file;&amp;nbsp;&lt;EM&gt;OfflineMapTask&amp;nbsp;&lt;/EM&gt;in ArcGIS Maps SDK produces a black box "Offline Map" that contains multiple files to support how it works offline on a mobile device.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2025 00:20:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/custom-symbology-issue-when-generating-offline/m-p/1645916#M577</guid>
      <dc:creator>Ting</dc:creator>
      <dc:date>2025-08-27T00:20:54Z</dc:date>
    </item>
  </channel>
</rss>

