<?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 Our map data vanishes when using Xamarin NavigationServices.PushAsync in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/our-map-data-vanishes-when-using-xamarin/m-p/114525#M1301</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are creating a Xamarin app that uses the ESRI library to show a map.&amp;nbsp; We are placing lines and symbols on this map.&amp;nbsp; The problem happens when we put a dialog (place a page) on top of the map.&amp;nbsp; We use the Xamarin NavigationServices.PushAsync to place a page on top of the map view.&amp;nbsp; As soon as the PushAsync() is called the map items that we placed on top of the map vanish (the lines and symbols).&amp;nbsp; The map remains there but without our lines and symbols.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The method that shows the page looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public async Task ShowProjectTabPage(ITreeviewItem treeViewItem, bool isProject)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Page p = new ProjectTabPage(treeViewItem, isProject);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; await nav?.PushAsync(p);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is this causing all our map objects to vanish?&amp;nbsp; I can provide additional code if needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Mar 2019 18:03:56 GMT</pubDate>
    <dc:creator>DavidMecteaux</dc:creator>
    <dc:date>2019-03-27T18:03:56Z</dc:date>
    <item>
      <title>Our map data vanishes when using Xamarin NavigationServices.PushAsync</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/our-map-data-vanishes-when-using-xamarin/m-p/114525#M1301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are creating a Xamarin app that uses the ESRI library to show a map.&amp;nbsp; We are placing lines and symbols on this map.&amp;nbsp; The problem happens when we put a dialog (place a page) on top of the map.&amp;nbsp; We use the Xamarin NavigationServices.PushAsync to place a page on top of the map view.&amp;nbsp; As soon as the PushAsync() is called the map items that we placed on top of the map vanish (the lines and symbols).&amp;nbsp; The map remains there but without our lines and symbols.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The method that shows the page looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public async Task ShowProjectTabPage(ITreeviewItem treeViewItem, bool isProject)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Page p = new ProjectTabPage(treeViewItem, isProject);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; await nav?.PushAsync(p);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why is this causing all our map objects to vanish?&amp;nbsp; I can provide additional code if needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 18:03:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/our-map-data-vanishes-when-using-xamarin/m-p/114525#M1301</guid>
      <dc:creator>DavidMecteaux</dc:creator>
      <dc:date>2019-03-27T18:03:56Z</dc:date>
    </item>
  </channel>
</rss>

