<?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: Feature layers are missing visualization attributes when stored and loaded from a geodatabase in Flutter Maps SDK Questions</title>
    <link>https://community.esri.com/t5/flutter-maps-sdk-questions/feature-layers-are-missing-visualization/m-p/1614600#M110</link>
    <description>&lt;P&gt;When using the &lt;EM&gt;GeodatabaseSyncTask&lt;/EM&gt; to download and sync feature layers from ArcGIS Online, it's important to understand that &lt;STRONG&gt;visualization settings (like symbology, renderers, and labeling) are not included&lt;/STRONG&gt; in the geodatabase itself. The geodatabase stores the data, but not the map-specific styling that you see in the web map or feature service.&lt;/P&gt;&lt;P&gt;&lt;FONT size="5"&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Recommended Solution&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;first-class approach&lt;/STRONG&gt; for preserving both data and visualization is to use the &lt;STRONG&gt;Offline Map Task&lt;/STRONG&gt; (e.g., via &lt;EM&gt;OfflineMapTask&lt;/EM&gt; or by downloading a Mobile Map Package - MMPK). This method ensures that:&lt;/P&gt;&lt;P&gt;- All layer styling (colors, symbols, labels)&lt;BR /&gt;- Map configuration (basemaps, operational layers)&lt;BR /&gt;- And even pop-ups and bookmarks&lt;/P&gt;&lt;P&gt;...are preserved exactly as they appear online.&lt;/P&gt;&lt;P&gt;&lt;FONT size="5"&gt;&lt;span class="lia-unicode-emoji" title=":backhand_index_pointing_right:"&gt;👉&lt;/span&gt;&amp;nbsp;Why Geodatabase Alone Doesn’t Work&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;When you generate a geodatabase (via &lt;EM&gt;GenerateGeodatabaseParameters&lt;/EM&gt; or the REST &lt;EM&gt;createReplica&lt;/EM&gt; endpoint), it only includes the raw feature data. It does &lt;STRONG&gt;not&lt;/STRONG&gt; include:&lt;/P&gt;&lt;P&gt;- Renderers&lt;BR /&gt;- Label definitions&lt;BR /&gt;- Pop-up configurations&lt;/P&gt;&lt;P&gt;This is why, when loading layers from the geodatabase offline, you see default symbology (like the default blue symbols).&lt;/P&gt;&lt;P&gt;&lt;FONT size="5"&gt;&lt;span class="lia-unicode-emoji" title=":hammer_and_wrench:"&gt;🛠&lt;/span&gt; Workaround (Advanced)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;If switching to MMPKs or Offline Maps isn't feasible, a workaround is to:&lt;/P&gt;&lt;P&gt;1. &lt;STRONG&gt;Capture the renderer JSON&lt;/STRONG&gt; from the feature layer while online.&lt;BR /&gt;2. &lt;STRONG&gt;Store it locally&lt;/STRONG&gt;.&lt;BR /&gt;3. When offline, &lt;STRONG&gt;deserialize the JSON into a Renderer&lt;/STRONG&gt; and apply it manually to the feature layer.&lt;/P&gt;&lt;P&gt;This approach works, but it requires extra handling and may not support all styling nuances (e.g., complex label expressions or Arcade-based renderers).&lt;/P&gt;&lt;P&gt;&lt;FONT size="5"&gt;Summary&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;- &lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Use &lt;STRONG&gt;OfflineMapTask&lt;/STRONG&gt; or &lt;STRONG&gt;MMPKs&lt;/STRONG&gt; for full fidelity offline maps.&lt;BR /&gt;-&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":backhand_index_pointing_right:"&gt;👉&lt;/span&gt; Geodatabases alone do not carry styling.&lt;BR /&gt;- &lt;span class="lia-unicode-emoji" title=":hammer_and_wrench:"&gt;🛠&lt;/span&gt; Renderer JSON workaround is possible but limited.&lt;/P&gt;</description>
    <pubDate>Wed, 14 May 2025 15:44:02 GMT</pubDate>
    <dc:creator>HarishK</dc:creator>
    <dc:date>2025-05-14T15:44:02Z</dc:date>
    <item>
      <title>Feature layers are missing visualization attributes when stored and loaded from a geodatabase</title>
      <link>https://community.esri.com/t5/flutter-maps-sdk-questions/feature-layers-are-missing-visualization/m-p/1612088#M101</link>
      <description>&lt;P class=""&gt;We are using Geodatabase and GeodatabaseSyncTask classes from the SDK to download and synchronize feature layers. In the ArcGIS Online portal, we have defined the visualization of the feature layers we use (color, for instance). When the app is started with no internet connectivity, we load the feature layers from the geodatabase and add them onto a map, as operational layers. When creating an instance of GenerateGeodatabaseParameters, we set syncContingentValues, syncDimensions, syncAttributeRules and syncAnnotations to true.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;Problem: Visualization settings are ignored if we load the map from the geodatabase file. No color settings at all. The default blue color is used to render the feature layers on the map.&lt;BR /&gt;&lt;BR /&gt;Is it possible to load visualization attributes altogether with feature layer data when using the geodatabase? If not, what would be an alternative to achieve it?&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2025 18:18:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/flutter-maps-sdk-questions/feature-layers-are-missing-visualization/m-p/1612088#M101</guid>
      <dc:creator>MilanRancic</dc:creator>
      <dc:date>2025-05-06T18:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Feature layers are missing visualization attributes when stored and loaded from a geodatabase</title>
      <link>https://community.esri.com/t5/flutter-maps-sdk-questions/feature-layers-are-missing-visualization/m-p/1614600#M110</link>
      <description>&lt;P&gt;When using the &lt;EM&gt;GeodatabaseSyncTask&lt;/EM&gt; to download and sync feature layers from ArcGIS Online, it's important to understand that &lt;STRONG&gt;visualization settings (like symbology, renderers, and labeling) are not included&lt;/STRONG&gt; in the geodatabase itself. The geodatabase stores the data, but not the map-specific styling that you see in the web map or feature service.&lt;/P&gt;&lt;P&gt;&lt;FONT size="5"&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Recommended Solution&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;first-class approach&lt;/STRONG&gt; for preserving both data and visualization is to use the &lt;STRONG&gt;Offline Map Task&lt;/STRONG&gt; (e.g., via &lt;EM&gt;OfflineMapTask&lt;/EM&gt; or by downloading a Mobile Map Package - MMPK). This method ensures that:&lt;/P&gt;&lt;P&gt;- All layer styling (colors, symbols, labels)&lt;BR /&gt;- Map configuration (basemaps, operational layers)&lt;BR /&gt;- And even pop-ups and bookmarks&lt;/P&gt;&lt;P&gt;...are preserved exactly as they appear online.&lt;/P&gt;&lt;P&gt;&lt;FONT size="5"&gt;&lt;span class="lia-unicode-emoji" title=":backhand_index_pointing_right:"&gt;👉&lt;/span&gt;&amp;nbsp;Why Geodatabase Alone Doesn’t Work&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;When you generate a geodatabase (via &lt;EM&gt;GenerateGeodatabaseParameters&lt;/EM&gt; or the REST &lt;EM&gt;createReplica&lt;/EM&gt; endpoint), it only includes the raw feature data. It does &lt;STRONG&gt;not&lt;/STRONG&gt; include:&lt;/P&gt;&lt;P&gt;- Renderers&lt;BR /&gt;- Label definitions&lt;BR /&gt;- Pop-up configurations&lt;/P&gt;&lt;P&gt;This is why, when loading layers from the geodatabase offline, you see default symbology (like the default blue symbols).&lt;/P&gt;&lt;P&gt;&lt;FONT size="5"&gt;&lt;span class="lia-unicode-emoji" title=":hammer_and_wrench:"&gt;🛠&lt;/span&gt; Workaround (Advanced)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;If switching to MMPKs or Offline Maps isn't feasible, a workaround is to:&lt;/P&gt;&lt;P&gt;1. &lt;STRONG&gt;Capture the renderer JSON&lt;/STRONG&gt; from the feature layer while online.&lt;BR /&gt;2. &lt;STRONG&gt;Store it locally&lt;/STRONG&gt;.&lt;BR /&gt;3. When offline, &lt;STRONG&gt;deserialize the JSON into a Renderer&lt;/STRONG&gt; and apply it manually to the feature layer.&lt;/P&gt;&lt;P&gt;This approach works, but it requires extra handling and may not support all styling nuances (e.g., complex label expressions or Arcade-based renderers).&lt;/P&gt;&lt;P&gt;&lt;FONT size="5"&gt;Summary&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;- &lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Use &lt;STRONG&gt;OfflineMapTask&lt;/STRONG&gt; or &lt;STRONG&gt;MMPKs&lt;/STRONG&gt; for full fidelity offline maps.&lt;BR /&gt;-&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":backhand_index_pointing_right:"&gt;👉&lt;/span&gt; Geodatabases alone do not carry styling.&lt;BR /&gt;- &lt;span class="lia-unicode-emoji" title=":hammer_and_wrench:"&gt;🛠&lt;/span&gt; Renderer JSON workaround is possible but limited.&lt;/P&gt;</description>
      <pubDate>Wed, 14 May 2025 15:44:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/flutter-maps-sdk-questions/feature-layers-are-missing-visualization/m-p/1614600#M110</guid>
      <dc:creator>HarishK</dc:creator>
      <dc:date>2025-05-14T15:44:02Z</dc:date>
    </item>
  </channel>
</rss>

