SfMap in a reusable ContentView takes 30 seconds to render completely
I am trying to define a ContentView with an SfMap that I can reuse in different pages. The included test takes like 30 seconds to render. Can you help identify the issue?
Thanks
Attachment: GeorgeTestSfMapContentView_48cde610.zip
Hi George Dalessio,
We have validated the shared sample on our end, and the map loads properly without any noticeable delay. We were unable to reproduce the issue you reported. For your reference, we have also shared a demo video demonstrating the map loading behavior from our side.
To help us investigate this further, could you please provide the following details:
- A video demonstrating the issue reproduction.
- The device details on which the issue occurs (device model, OS version, etc.).
- Any additional information or steps required to reproduce the issue consistently.
These details will help us analyze the problem more effectively and assist you better.
Regards,
Baranibharathi P.
Attachment: Demo_fad6ee6c.zip
After seeing your video I looked into my Visual Studio debugging settings. I unchecked AllSettings-> Debugging -> .NET Mono Debugger -> Enable new debugger for MAUI apps and that seems to fix the issue. Still your video is slightly faster than mine and I'm not sure if I can improve that couple of seconds delay. I attached my video.
I have the latest bits of Visual Studio 2026 Community edition. Emulator is Pixel 9 API 35 (Android 15.0)
Thanks for your help
Attachment: MapView_97d2abe5.zip
Hi George Dalessio,
Thank you for sharing the details and the demo with us.
We reviewed the sample and would like to inform you that the slower loading time in Debug mode is expected behavior in .NET MAUI applications. When debugging, additional processes such as debugger attachment, diagnostic tracking, and Hot Reload support are enabled, which can increase the application's startup time. This behavior is not specific to the .NET MAUI SfMaps control.
To achieve better startup performance, we recommend running the application in Release mode without debugging. In Release mode, compiler optimizations are enabled, and the application runs without the additional overhead introduced by debugging services. As a result, control initialization and rendering, including SfMaps, can complete more quickly.
For your reference, we have shared a video demonstrating the application launch in Release mode without debugging. As shown in the video, the SfMaps application loads faster in Release mode compared to Debug mode.
Please let us know if you need any further assistance.
Regards,
Baranibharathi P.
Attachment: Demo_ceb6a857.zip
Thanks for your help.
Hi George Dalessio,
Most Welcome. Kindly get back to us if you have further queries. We are always happy to assist you.
Regards,
Baranibharathi P.
- 5 Replies
- 2 Participants
-
GD George DAlessio
- Jul 8, 2026 06:15 PM UTC
- Jul 13, 2026 04:05 AM UTC