Integrating Mapbox with .NET MAUI

2.1k Views Asked by At

I am currently developping an native Android app using Mapbox with Visual Studio (using some Mapbox nugets). I have to do the whole dev to address iOS customers but Xamarin.Forms nuget version of Mapbox is out of date, both Android & iOS SDKs have been updated since.

As Microsoft has just released the first .NET MAUI Release Candidate RC1, i.e. the successor of Xamarin.Forms, I would like to start over a new project so I can manage one development pipeline to deploy on either Android or iOS afterwards.

So I open this thread in order to share help to embbed Mapbox in a fresh new .NET MAUI project.

How should we proceed to simply display a Mapbox map view with a .NET MAUI project? Thank you!

1

There are 1 best solutions below

0
On

The best way for now is implementing a Maui Blazor app and using a BlazorWebView to put a MapBox in your page.

See Build a .NET MAUI Blazor app documentation