Mapbox.Maui
10.11.1.1
See the version list below for details.
dotnet add package Mapbox.Maui --version 10.11.1.1
NuGet\Install-Package Mapbox.Maui -Version 10.11.1.1
<PackageReference Include="Mapbox.Maui" Version="10.11.1.1" />
paket add Mapbox.Maui --version 10.11.1.1
#r "nuget: Mapbox.Maui, 10.11.1.1"
// Install Mapbox.Maui as a Cake Addin #addin nuget:?package=Mapbox.Maui&version=10.11.1.1 // Install Mapbox.Maui as a Cake Tool #tool nuget:?package=Mapbox.Maui&version=10.11.1.1
Mapbox for MAUI
A dedicated library and starting sample for integrating Mapbox into your MAUI application.
Installation
Install-Package Mapbox.Maui --version 10.11.1
Integrate into your project
Please check out my step-by-step blog post for more details.
How to run the examples
Prerequisites
- Visual Studio for Mac or Visual Studio for Windows
- .NET 7.0.306
- .NET workloads for iOS, Android, MAUI
Steps
1/ Generate/grab
MAPBOX_DOWNLOADS_TOKEN
from your Mapbox account page2/ Android: Put it into your local
~/.gradle/gradle.properties
echo "MAPBOX_DOWNLOADS_TOKEN=YOUR_MAPBOX_DOWNLOADS_TOKEN" >> ~/.gradle/gradle.properties
- 3/ Make a copy of
MapboxMauiQs.props.template
- Name it
MapboxMauiQs.props
- Replace
YOUR_MAPBOX_DOWNLOADS_TOKEN
with yours inMapboxMauiQs.props
file
- Name it
- 4/ Grab
mapbox_access_token
from your Mapbox account page- Make a copy of
MauiProgram.dev.cs.template
- Name it
MauiProgram.dev.cs
- Replace
YOUR_MAPBOX_ACCESS_TOKEN
with yours inMauiProgram.dev.cs
file
- Make a copy of
- 5/ Run the solution
Ported Examples
NOTE: A handy command to generate a new example
dotnet cake -- --name SymbolClustering --index 58 --group Annotations --title "Add Cluster Symbol Annotations" --subtitle "Show fire hydrants in Washington DC area in a cluster using a symbol layer."
Known issues
- The library is not yet able to build to run on iOS real device. Issue
Maintainer
This project is maintained by tuyen-vuduc in his spare time and/or when requested.<br>
If you find this project is helpful and benefit your work/business, please give it a star, become a sponsor of the project and/or buy him a coffee.
LICENSE
This library is release under The BSD 3-Clause License. You are freely to use and make changes. However, this license doesn't override the license from Mapbox.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-android31.0 is compatible. net6.0-ios16.1 is compatible. net7.0-android was computed. net7.0-ios was computed. net8.0-android was computed. net8.0-ios was computed. net9.0-android was computed. net9.0-ios was computed. |
-
net6.0-android31.0
- Com.Mapbox.Maps.Android (>= 10.11.1)
- GeoJSON.Text (>= 1.0.2)
- Microsoft.Extensions.Logging.Debug (>= 7.0.0)
- Square.OkHttp3 (>= 4.10.0.1)
- Xamarin.AndroidX.Annotation (>= 1.6.0.2)
- Xamarin.Build.Download (>= 0.11.4)
- Xamarin.Kotlin.StdLib (>= 1.8.21.1)
- Xamarin.Kotlin.StdLib.Jdk8 (>= 1.8.21.1)
-
net6.0-ios16.1
- GeoJSON.Text (>= 1.0.2)
- MapboxMapsObjC.iOS (>= 10.11.1.1)
- MapboxMobileEvents.iOS (>= 1.0.10.1)
- Microsoft.Extensions.Logging.Debug (>= 7.0.0)
- System.Runtime.InteropServices.NFloat.Internal (>= 6.0.1)
- Xamarin.Build.Download (>= 0.11.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
11.8.0-alpha01 | 85 | 12/3/2024 |
11.7.1-alpha02 | 97 | 10/29/2024 |
11.6.0-alpha02 | 101 | 9/18/2024 |
11.6.0-alpha01 | 114 | 9/10/2024 |
11.5.1-alpha09 | 246 | 9/4/2024 |
11.5.1-alpha08 | 86 | 8/27/2024 |
11.5.1-alpha07 | 99 | 8/26/2024 |
11.5.1-alpha06 | 93 | 8/26/2024 |
11.5.1-alpha05 | 104 | 8/21/2024 |
11.5.1-alpha04 | 111 | 8/20/2024 |
11.5.1-alpha03 | 100 | 8/15/2024 |
11.5.1-alpha02 | 108 | 8/12/2024 |
11.5.1-alpha01 | 111 | 8/9/2024 |
11.5.0-alpha03 | 92 | 8/1/2024 |
11.5.0-alpha02 | 107 | 7/19/2024 |
11.5.0-alpha01 | 89 | 7/12/2024 |
11.4.0-alpha02 | 108 | 7/9/2024 |
11.4.0-alpha01 | 161 | 6/28/2024 |
11.3.0-alpha04 | 106 | 6/27/2024 |
11.3.0-alpha03 | 95 | 6/25/2024 |
11.3.0-alpha02 | 99 | 6/25/2024 |
11.1.0-alpha01 | 174 | 2/28/2024 |
10.11.1.1 | 660 | 7/20/2023 |
10.11.1 | 296 | 7/15/2023 |