Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET MAUI Bindings #3146

Open
bjtrounson opened this issue Jan 16, 2025 · 6 comments
Open

.NET MAUI Bindings #3146

bjtrounson opened this issue Jan 16, 2025 · 6 comments

Comments

@bjtrounson
Copy link

Hey everyone, I asked this in Slack a week ago and it was suggested to create an issue as well, but this might be better as a discussion right now. Feel free to convert it if so 😁

I'm wondering if there is much interest in a .NET MAUI binding for MapLibre Native. I haven't done a MAUI binding before but I'm pretty keen to dive deep into it and it would be nice if anyone here has any experience with it.

For context I have a potential project coming up that is building a navigation feature in a MAUI app and I'm wanting to use MapLibre for this and Ferrostar but there is currently no bindings for either. I'm thinking a good approach here is to do a Native Slim Binding documented here.
https://devblogs.microsoft.com/dotnet/native-library-interop-dotnet-maui/

I've been mostly looking at Android and iOS bindings to start off with but I have heard that there might be some interest for MapLibre Native on MAUI for Windows. I've also been looking around and there seems to be binding for Mapbox which might come in handy for reference. https://github.com/tuyen-vuduc/mapbox-maui

Mostly gauging interest here and if anyone has experience in MAUI or Xamarin bindings, let me know if you're interested 😁

@acalcutt
Copy link
Collaborator

I am not to familiar with .NET MAUI bindings, but I know @tdcosta100 has worked on .NET bindings for maplibre-native at https://github.com/tdcosta100/MaplibreNative.NET , so I wonder if there is any crossover between that and what you are trying to do.

@tdcosta100
Copy link
Collaborator

MAUI is somehow related to my work, except I used C++/CLI. But it's a opportunity to take a look and see if there's something useful to your project.

@etnav

This comment has been minimized.

@louwers
Copy link
Collaborator

louwers commented Jan 16, 2025

Sorry to hijack this

@etnav Please don't. Create a new Discussion or issue. Thanks!

@bjtrounson
Copy link
Author

MAUI is somehow related to my work, except I used C++/CLI. But it's a opportunity to take a look and see if there's something useful to your project.

@tdcosta100 Nice library looks interesting I should have a play around with it at some point, I think we could maybe wrap this in a MAUI view handler to provide Windows MAUI support.

I'm currently looking at Android and iOS at the moment but it would be nice to have Windows support as well for anyone else. Maybe I will figure out how the Android and iOS implementation looks with the MAUI view handlers and see if your project can be wrapped in.

@bjtrounson
Copy link
Author

Just for an update I've created a project here for a MapLibre MAUI version for now. Currently I've just got a simple android version going and all it does is create the map and display the demo tiles.

https://github.com/bjtrounson/maplibre-maui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants