<?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: Combining offline and online maps in Kotlin Maps SDK Questions</title>
    <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/combining-offline-and-online-maps/m-p/1675510#M630</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;For your case, an ideal thing might be to check connectivity details using android's&amp;nbsp; &lt;A href="https://developer.android.com/reference/android/net/ConnectivityManager" target="_self"&gt;ConnectivityManager&lt;/A&gt;&amp;nbsp;, then add/remove relevant baselayer's of the basemap accordingly.&lt;BR /&gt;&lt;BR /&gt;You can add multiple baselayers to your basemap, however they need to be in same spatial reference and the draw order of the layer's is fixed.&lt;BR /&gt;&lt;BR /&gt;To check whether any specific layer has completed drawing or not, you can use the &lt;A href="https://github.com/Esri/arcgis-maps-sdk-kotlin-samples/tree/v.next/samples/monitor-changes-to-draw-status" target="_self"&gt;drawStatus&lt;/A&gt; on the Geoview to determine it.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Rama&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 31 Dec 2025 21:21:25 GMT</pubDate>
    <dc:creator>RamaChintapalli</dc:creator>
    <dc:date>2025-12-31T21:21:25Z</dc:date>
    <item>
      <title>Combining offline and online maps</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/combining-offline-and-online-maps/m-p/1666242#M627</link>
      <description>&lt;P&gt;I want to combine both offline and online mapping. Right now I'm trying to create a `Basemap` from an offline map I load from storage and including an online map on top.&lt;/P&gt;&lt;P&gt;The justification for this is so when a user initially goes to the map they immediately see a map which is of a reduced quality, but then the online map begins to load in as the data comes through.&lt;/P&gt;&lt;P&gt;One of the issues we have is customers with slow connections so we want to avoid them sitting on a checkerboard grid screen.&lt;/P&gt;&lt;P&gt;However this doesn't seem to work. This is what I've done:&lt;/P&gt;&lt;LI-CODE lang="kotlin"&gt;val onlineVectorTileLayer = ArcGISVectorTiledLayer(onlinePortalItem)
Basemap(baseLayers = listOf(getOfflineMapLayer(), vectorTileLayer))&lt;/LI-CODE&gt;&lt;P&gt;Where `getOfflineMapLayer()` constructs from a bundled VTPK.&lt;/P&gt;&lt;P&gt;It only ever shows the offline map, but I want the online data to begin populating when it can. How can I achieve this?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 13:51:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/combining-offline-and-online-maps/m-p/1666242#M627</guid>
      <dc:creator>johnms93</dc:creator>
      <dc:date>2025-11-17T13:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Combining offline and online maps</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/combining-offline-and-online-maps/m-p/1675510#M630</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;For your case, an ideal thing might be to check connectivity details using android's&amp;nbsp; &lt;A href="https://developer.android.com/reference/android/net/ConnectivityManager" target="_self"&gt;ConnectivityManager&lt;/A&gt;&amp;nbsp;, then add/remove relevant baselayer's of the basemap accordingly.&lt;BR /&gt;&lt;BR /&gt;You can add multiple baselayers to your basemap, however they need to be in same spatial reference and the draw order of the layer's is fixed.&lt;BR /&gt;&lt;BR /&gt;To check whether any specific layer has completed drawing or not, you can use the &lt;A href="https://github.com/Esri/arcgis-maps-sdk-kotlin-samples/tree/v.next/samples/monitor-changes-to-draw-status" target="_self"&gt;drawStatus&lt;/A&gt; on the Geoview to determine it.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Rama&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Dec 2025 21:21:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/combining-offline-and-online-maps/m-p/1675510#M630</guid>
      <dc:creator>RamaChintapalli</dc:creator>
      <dc:date>2025-12-31T21:21:25Z</dc:date>
    </item>
  </channel>
</rss>

