Home

Awesome

Mapbox for MAUI

A dedicated library and starting sample for integrating Mapbox into your MAUI application.

Installation

Install-Package Mapbox.Maui --version 11.1.0-alpha01

Integrate into your project

Please check out my step-by-step blog post for more details.

How to run the examples

Prerequisites

Steps

echo "MAPBOX_DOWNLOADS_TOKEN=YOUR_MAPBOX_DOWNLOADS_TOKEN" >> ~/.gradle/gradle.properties

Files with ignored

Ported Examples

#ExamplePorted (18/66)
1AddMarkersSymbolOK
2AddOneMarkerSymbolOK
3AdvancedViewportGestures
4AnimateGeoJSONLine
5AnimateImageLayer
6AnimateLayer
7AnimatedMarkerOK
8BasicLocationPulsing
9BasicMapOK
10BuildingExtrusionsOK
11CameraAnimation
12CameraAnimators
13CircleAnnotationOK
14ColorExpression
15Custom2DPuck
16Custom3DPuck
17CustomLayer
18CustomLocationProvider
19CustomPointAnnotationOK
20CustomStyleURLOK
21DataDrivenSymbols
22DataJoin
23DebugMapOK
24DistanceExpression
25ExternalVectorSource
26FeatureState
27FeaturesAtPoint
28FrameViewAnnotations
29Globe
30GlobeFlyTo
31HeatmapLayerGlobe
32IconSizeChangeOK
33LargeGeoJSONPerformance
34LayerPosition
35LineAnnotationOK
36LineGradient
37LiveData
38Localization
39MultipleGeometriesOK
40NavigationSimulator
41OfflineManagerOK
42OfflineRegionManager
43PitchAndDistance
44PointAnnotationClusteringOK
45PointClustering
46PolygonAnnotationOK
47RasterTileSource
48ResizableImage
49RestrictCoordinateBounds
50SceneKitN/A
51ShowHideLayer
52SkyLayerOK
53SnapshotterCoreGraphics
54Snapshotter
55SpinningGlobe
56StoryboardMapViewN/A
57SwitchStyles
58SymbolClusteringOK
59TerrainOK
60TrackingMode
61ViewAnnotationAnimation
62ViewAnnotationBasic
63ViewAnnotationMarker
64ViewAnnotationWithPointAnnotation
65Viewport
66VoiceOverAccessibility

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."

Features

GestureSettings

#AndroidiOSAligned
1rotateEnabledrotateEnabledYES
2scrollEnabledpanEnabledNOPE
3scrollModepanModeNOPE
4simultaneousRotateAndPinchToZoomEnabledsimultaneousRotateAndPinchZoomEnabledNOPE
5doubleTouchToZoomOutEnableddoubleTouchToZoomOutEnabledYES
6doubleTapToZoomInEnableddoubleTapToZoomInEnabledYES
7focalPointfocalPointYES
8pitchEnabledpitchEnabledYES
9quickZoomEnabledquickZoomEnabledYES
10pinchScrollEnabledpinchScrollEnabledYES
11pinchToZoomEnabledN/ANOPE, pinchEnabled & pinchZoomEnabled
12pinchToZoomDecelerationEnabledN/ANOPE
13rotateDecelerationEnabledN/ANOPE
14scrollDecelerationEnabledN/ANOPE
15increaseRotateThresholdWhenPinchingToZoomN/ANOPE
16increasePinchToZoomThresholdWhenRotatingN/ANOPE
17zoomAnimationAmountN/ANOPE
18N/ApinchEnabledNOPE
19N/ApinchZoomEnabledNOPE
20N/ApanDecelerationFactorNOPE

NOTES

  1. Failed to delete .gradle folder Due to Java process not killed gratefully.
taskkill -F -im java.exe
  1. Xamarin.Build.Download Xamarin.Build.Download is a tool to help download artifacts from remote URL to avoid embedding the native artifacts within the NuGet package with advantages

The downloaded artifact will be located at

  1. Kill all .NET processes
taskkill -F -im dotnet.exe

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.