Native library binding - Mapbox #578
-
Mapbox is the best mapping library for outdoor adventure consumer-facing apps (think cycling, hiking, running). It uses vector-based tiles, that are faster to render, better for offline use cases, and have greater resolution than raster-based tiles used by Google maps. The Mapbox library is quite complex so creating bindings is a daunting task. In addition, they update their libraries often, so keeping up (dev + test) would be very time consuming. There has been one attempt at this, which stalled. Is it possible to leverage a native 3rd party UI-intensive control w/o developing and maintaining bindings? Pretty sure the answer is "no" for now, but wondering how a future version of Xamarin or .NET MAUI can solve this problem. Without this ability, the gold-standard in mapping is out of reach for Xamarin-based apps. As the author of Bicycle Route Navigator, we're at an inflection point on potentially rebuilding from Xamarin to native iOS and Android apps to leverage Mapbox. |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 49 replies
-
Any news concerning Mapbox? or even map solution regarding .NET MAUI? I saw some news about embedding a map in their roadmap (starting with Google Maps I guess) but that's was several months ago (I remember they said around december 2021 or Q1 2022)... |
Beta Was this translation helpful? Give feedback.
-
I just want to write here that you can use Even if your whole app is written in XAML, you can use Performance-wise it's probably going to be a bit slower than an optimized native solution but I can confirm it's definitely a working solution. |
Beta Was this translation helpful? Give feedback.
-
Mapbox is great - but isn't the only game in town. ESRI's ArcGIS Runtime SDK supports most major platforms including XF and they have a preview out for MAUI: We've been building with their SDK for years and they do support vector tile basemaps, offline data collection/sync, routing, etc... In the past ESRI hasn't really had a very great understanding of the commercial app dev market, but they are improving and have some competitively priced developer plans that pencil out quite competitively with MapBox's offerings |
Beta Was this translation helpful? Give feedback.
-
Hi forks, Please check out my MAUI component for Mapbox. https://www.nuget.org/packages/Mapbox.Maui Regards. |
Beta Was this translation helpful? Give feedback.
-
I am tyring to implement the solution as you did but getting this error |
Beta Was this translation helpful? Give feedback.
-
Hi @tuyen-vuduc I also facing this issue |
Beta Was this translation helpful? Give feedback.
-
Let me check again
…On Thu, 4 Jul 2024 at 4:26 PM, Tuyen VU ***@***.***> wrote:
In the post to get started for Mapbox on .NET Android
<https://tuyen-vuduc.tech/how-to-use-mapbox-for-your-dotnet-android-app#heading-1-config-your-mapboxdownloadstoken>,
you will see the detailed steps of getting a download token. Plz check it
out.
—
Reply to this email directly, view it on GitHub
<#578 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATHWNKUUDZDQ3VWQEBHOGZDZKUS5DAVCNFSM4ZVP5472U5DIOJSWCZC7NNSXTOKENFZWG5LTONUW63SDN5WW2ZLOOQ5TSOJVG44DONY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Hi forks,
Please check out my MAUI component for Mapbox.
https://www.nuget.org/packages/Mapbox.Maui
Regards.