<?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: .NET MAUI application on iOS loads offline vector package but doesn't show in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/net-maui-application-on-ios-loads-offline-vector/m-p/1498876#M12836</link>
    <description>&lt;P&gt;The error message says:&lt;/P&gt;&lt;P&gt;Invalid request response: Cannot load vtpk from '/var/mobile/Containers/Data/Application/7171FE95-8F47-43D7-AC3C-2332C3EC3670/Documents/waterways/offlinecache/************.vtpk'. Message was: IO error.&lt;/P&gt;&lt;P&gt;Package was created with ArcGIS Pro, but I don't know which version. I will send you vtpk url for testing.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jun 2024 06:15:10 GMT</pubDate>
    <dc:creator>GKmieliauskas</dc:creator>
    <dc:date>2024-06-28T06:15:10Z</dc:date>
    <item>
      <title>.NET MAUI application on iOS loads offline vector package but doesn't show</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-maui-application-on-ios-loads-offline-vector/m-p/1497500#M12819</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have application with offline content (vtpk).&amp;nbsp; We use vptk packages as basemap. It works fine on Android but on iOS doesn't (blank screen). I have tried different vector tile packages, but only with one of them I succeeded. It was in different coordinate system (WGS 1984 Web Mercator) then our application packages. Our application packages spatial reference wkid is 3346. Another one difference is that working package was created later and maybe with different software versions because we migrate application from AppStudio code to ArcGIS Maps for .NET MAUI. Code below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;ArcGISVectorTiledLayer layer = new ArcGISVectorTiledLayer(new Uri(tileCachePath));

_map = new Map(SpatialReference.Create(3346))
{
    Basemap = new Basemap(layer),
    MinScale = 8000000,
    MaxScale = 1200
};

_map.LoadStatusChanged += OnMapsLoadStatusChanged;


        private void OnMapsLoadStatusChanged(object sender, LoadStatusEventArgs e)
        {
                switch(e.Status)
                {
                    case LoadStatus.Loading:
                        Logger.Debug($"Map's load status : {e.Status}");
                        break;
                    case LoadStatus.Loaded:
                        _map.InitialViewpoint = new Viewpoint(new MapPoint(499629.435, 6124677.283, SpatialReference.Create(3346)), 7500000);
                        break;
                    case LoadStatus.FailedToLoad:
                        Logger.Error($"Map's load status : {e.Status}");
                        break;
                }
        }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Map and viewpoint spatial reference were changed depending on vtpk source.&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2024 11:11:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-maui-application-on-ios-loads-offline-vector/m-p/1497500#M12819</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2024-06-26T11:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: .NET MAUI application on iOS loads offline vector package but doesn't show</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-maui-application-on-ios-loads-offline-vector/m-p/1498017#M12822</link>
      <description>&lt;P&gt;It's bizzare it would work on Android but not on iOS.&lt;BR /&gt;What do you see on iOS when you run the app:&lt;BR /&gt;- White mapview with esri logo or&lt;BR /&gt;- Gray map with empty grid&lt;BR /&gt;- Do you see any attribution text on the bottom?&lt;BR /&gt;- What is map's loadstatus when it does not render on iOS?&lt;BR /&gt;&lt;BR /&gt;You could also try subscribing to `MapView.LayerViewStateChanged`&amp;nbsp; to get more info on layer's rendering state.&lt;BR /&gt;&lt;BR /&gt;I am happy to try if you are able to share the vtpk that does not render on iOS.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 01:52:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-maui-application-on-ios-loads-offline-vector/m-p/1498017#M12822</guid>
      <dc:creator>PreetiMaske</dc:creator>
      <dc:date>2024-06-27T01:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: .NET MAUI application on iOS loads offline vector package but doesn't show</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-maui-application-on-ios-loads-offline-vector/m-p/1498098#M12823</link>
      <description>&lt;P&gt;Thanks for helpful comments &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1217"&gt;@PreetiMaske&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;I subscribed to&amp;nbsp;&lt;SPAN&gt;`MapView.LayerViewStateChanged` and get error #7003 on vector tiled layer view state changing. Could you help me please with error code meaning?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GKmieliauskas_0-1719475468531.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/108064i05B5091575DD5953/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GKmieliauskas_0-1719475468531.png" alt="GKmieliauskas_0-1719475468531.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 08:04:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-maui-application-on-ios-loads-offline-vector/m-p/1498098#M12823</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2024-06-27T08:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: .NET MAUI application on iOS loads offline vector package but doesn't show</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-maui-application-on-ios-loads-offline-vector/m-p/1498438#M12829</link>
      <description>&lt;P&gt;&lt;SPAN&gt;If you expand further down you could see the the error message as well via `Status` property.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Anyways, for a VTPK, that indicates we could not understand something in one of the internal files. For example, we could not parse some of the style json inside the VTPK.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;It should not happen if it was directly authored from Pro.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How are the VTPKs authored for you? Did you use ArcGIS Pro ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2024 16:56:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-maui-application-on-ios-loads-offline-vector/m-p/1498438#M12829</guid>
      <dc:creator>PreetiMaske</dc:creator>
      <dc:date>2024-06-27T16:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: .NET MAUI application on iOS loads offline vector package but doesn't show</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-maui-application-on-ios-loads-offline-vector/m-p/1498876#M12836</link>
      <description>&lt;P&gt;The error message says:&lt;/P&gt;&lt;P&gt;Invalid request response: Cannot load vtpk from '/var/mobile/Containers/Data/Application/7171FE95-8F47-43D7-AC3C-2332C3EC3670/Documents/waterways/offlinecache/************.vtpk'. Message was: IO error.&lt;/P&gt;&lt;P&gt;Package was created with ArcGIS Pro, but I don't know which version. I will send you vtpk url for testing.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2024 06:15:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-maui-application-on-ios-loads-offline-vector/m-p/1498876#M12836</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2024-06-28T06:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: .NET MAUI application on iOS loads offline vector package but doesn't show</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-maui-application-on-ios-loads-offline-vector/m-p/1499460#M12843</link>
      <description>&lt;P&gt;I was able to open and render the vtpk you shared with me on an iPad.&lt;/P&gt;&lt;P&gt;What version on ArcGIS Maps SDK for .NET are you using?&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jun 2024 00:16:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-maui-application-on-ios-loads-offline-vector/m-p/1499460#M12843</guid>
      <dc:creator>PreetiMaske</dc:creator>
      <dc:date>2024-06-29T00:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: .NET MAUI application on iOS loads offline vector package but doesn't show</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-maui-application-on-ios-loads-offline-vector/m-p/1499862#M12852</link>
      <description>&lt;P&gt;I am using&amp;nbsp;&amp;nbsp;Esri.ArcGISRuntime.Maui version 200.4.0.&lt;/P&gt;&lt;P&gt;We have made new package, published it and now it works on iOS.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 14:25:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-maui-application-on-ios-loads-offline-vector/m-p/1499862#M12852</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2024-07-01T14:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: .NET MAUI application on iOS loads offline vector package but doesn't show</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-maui-application-on-ios-loads-offline-vector/m-p/1501932#M12862</link>
      <description>&lt;P&gt;Good to hear it is working for you!&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 17:05:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-maui-application-on-ios-loads-offline-vector/m-p/1501932#M12862</guid>
      <dc:creator>PreetiMaske</dc:creator>
      <dc:date>2024-07-05T17:05:57Z</dc:date>
    </item>
  </channel>
</rss>

