It appears MauiMaps initialization needs to change to work with the latest packages to run with Windows #430
-
I had to modify MauiProgram.cs. If we use .UseMauiMaps() with Windows the app will get an exception. So the following changes are needed: #if WINDOWS |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Fixed, starting from MCT.Maps v2, you need to call UseMauiMaps for all platforms |
Beta Was this translation helpful? Give feedback.
-
I modified the previous code changes in order to work with Windows and Android. They are :
Without these changes I made Windows version will immediately generate an error indicating map control is not supported in .Net Maui 8 |
Beta Was this translation helpful? Give feedback.
Fixed, starting from MCT.Maps v2, you need to call UseMauiMaps for all platforms