Tile Layer page throws exception when opening the page a second time

If I open the TyleLayerPage a second time it throws this exception:

Image_3998_1731082660800

The other tabs work fine the second time. Is that something you can help with? I didn't find anything in the documentation that can point me in the right direction. I'm attaching a very simple test project. Thanks 


Attachment: TileMapNavigationTest_d9821e4d.zip

2 Replies

VO Vishal Omprasad Syncfusion Team November 13, 2024 11:03 AM UTC

Hi George,

We have found and fixed the reported scenario “Tile Layer page throws exception when opening the page a second time” on the .NET MAUI SfMaps control from our end. Currently, the issue fix is in the testing phase. Once the automation is ensured, we will include the issue fix in our upcoming weekly NuGet release update, on November 19, 2024. We will let you know once the NuGet release is rolled-out and appreciate your patience until then.

Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.

Regards,
Vishal O.



VO Vishal Omprasad Syncfusion Team November 22, 2024 05:18 AM UTC

Hi George,

We have fixed the reported scenario “Tile Layer page throws exception when opening the page a second time” in the .NET MAUI SfMaps control from our end and included the fix in the latest weekly NuGet release update version 27.2.3 which is available for download in nuget.org.

Root-cause: As the Stream source of downloaded tile is set to a local variable, the stream is closed (disposed) after the image uses it.

We thank you for your support and appreciate your patience in waiting for this update. Please feel free to reach out to us if you would require any further assistance.

Regards,
Vishal O.


Loader.
Up arrow icon