Mapbox.Maui 10.11.1.1

There is a newer prerelease version of this package available.
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
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Mapbox.Maui" Version="10.11.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Mapbox.Maui --version 10.11.1.1
#r "nuget: Mapbox.Maui, 10.11.1.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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 page

  • 2/ 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 in MapboxMauiQs.props file
  • 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 in MauiProgram.dev.cs file

Files with ignored

  • 5/ Run the solution

Ported Examples

# Example Ported (18/66)
1 AddMarkersSymbol OK
2 AddOneMarkerSymbol OK
3 AdvancedViewportGestures
4 AnimateGeoJSONLine
5 AnimateImageLayer
6 AnimateLayer
7 AnimatedMarker OK
8 BasicLocationPulsing
9 BasicMap OK
10 BuildingExtrusions OK
11 CameraAnimation
12 CameraAnimators
13 CircleAnnotation OK
14 ColorExpression
15 Custom2DPuck
16 Custom3DPuck
17 CustomLayer
18 CustomLocationProvider
19 CustomPointAnnotation OK
20 CustomStyleURL OK
21 DataDrivenSymbols
22 DataJoin
23 DebugMap OK
24 DistanceExpression
25 ExternalVectorSource
26 FeatureState
27 FeaturesAtPoint
28 FrameViewAnnotations
29 Globe
30 GlobeFlyTo
31 HeatmapLayerGlobe
32 IconSizeChange OK
33 LargeGeoJSONPerformance
34 LayerPosition
35 LineAnnotation OK
36 LineGradient
37 LiveData
38 Localization
39 MultipleGeometries OK
40 NavigationSimulator
41 OfflineManager OK
42 OfflineRegionManager
43 PitchAndDistance
44 PointAnnotationClustering OK
45 PointClustering
46 PolygonAnnotation OK
47 RasterTileSource
48 ResizableImage
49 RestrictCoordinateBounds
50 SceneKit N/A
51 ShowHideLayer
52 SkyLayer OK
53 SnapshotterCoreGraphics
54 Snapshotter
55 SpinningGlobe
56 StoryboardMapView N/A
57 SwitchStyles
58 SymbolClustering OK
59 Terrain OK
60 TrackingMode
61 ViewAnnotationAnimation
62 ViewAnnotationBasic
63 ViewAnnotationMarker
64 ViewAnnotationWithPointAnnotation
65 Viewport
66 VoiceOverAccessibility

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.

"Buy Me 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.1.0-alpha01 83 2/28/2024
10.11.1.1 376 7/20/2023
10.11.1 209 7/15/2023