Widget samples not compiling in v4 #2549
Replies: 4 comments 4 replies
-
The samples on the website correspond to main which contains the upcoming v5 code. You have to check out the develop/4.1 branch, and find the samples in there. You could run Mapsui.Samples.Blazor to see the equivalent of the online samples. This a problem that will hit most users. I need to fix it. Step one is to publish only the v4 samples and docs to the website. Next I need to figure out of to deploy v5 alongside v4. |
Beta Was this translation helpful? Give feedback.
-
OK, thanks for your reply. |
Beta Was this translation helpful? Give feedback.
-
I resolved this today. The default website is now v4: The v5 version of everything is in a v5 folder: @inforithmics It was some trouble getting this to work. I fixed this with a lot of commits directly to main and develop/4.1. The solution is to use another deploy tool (which used the gh-pages branch, instead of artifacts) and which does not delete existing files. This way the the deployment of 4.1 does not replace the one of main or the other way around. This was an issue that had been in the back of my mind for a while because I had no plan to fix it. Happy this is now done. I used peaceiris/actions-gh-pages@v3. Thanks @peaceiris |
Beta Was this translation helpful? Give feedback.
-
Not sure if the V5 samples are a work in progress, but not all the blazor samples work particually the Info section, the map just freezes or is blank. |
Beta Was this translation helpful? Give feedback.
-
Hi, I am trying to add a Button Widget to my app. I have copied and pasted some code from the latest Mapsui samples but I cannot build as I get errors such as:-
WidgetEventArgs missing
also ButtonWidget does not contain a definition for Margin,Padding,Tapped
I have also seen that the samples have the following
but I cannot use that, only
So I am confused which is correct.
I am using the latest nugets:-
Mapsui.Maui Version=4.1.4
Mapsui.Rendering.Skia Version=4.1.4
Mapsui.Tiling Version=4.1.4
and .NET8
Thanks for any help.
Beta Was this translation helpful? Give feedback.
All reactions