MAUIverse MAUIverse

Native MapLibre on .NET MAUI Hybrid (iOS): The Missing Piece We Had to Build Ourselves

After covering native MapLibre on Android under a MAUI Hybrid BlazorWebView, Ruslan Dudchenko tackles the missing half: iOS, where no ready-to-use .NET MapLibre binding was available to plug in.

What you’ll learn

  • Official MapLibre iOS binaries — picking the dynamic .xcframework from maplibre-native releases and why it fits Hybrid builds better than a static library
  • Solution layout and csproj wiring — keeping the framework in a Library folder and selecting simulator vs device slices per Debug/Release
  • Generating bindings with Sharpie — pointing Objective Sharpie at the headers and dealing with the compile issues that follow
  • Touch routing on iOS — conditional event routing so Blazor doesn’t steal every gesture from the native map
  • Real BlazorWebView transparency — making the web layer actually transparent so the map underneath shows through

Read the full post for the binding journey, service surface, and the GitHub project with the connected bindings and demo.

View Source →

← Back to Community Feed

}