Native Swift interop bindings for the Mappedin indoor mapping library
Install
| Product | Versions |
|---|---|
| .NET |
README
SwiftBindings.Mappedin
Native Swift interop bindings for Mappedin, the indoor mapping and wayfinding SDK. These are not Objective-C proxy wrappers — they use .NET 10's native Swift interop for direct, high-performance calls into Swift APIs from C#.
Installation
dotnet add package SwiftBindings.Mappedin
Requirements
- .NET 10.0+
- iOS 15.0+
- macOS host for development
- A Mappedin developer account and API credentials for live data
Usage
Position and coordinates
using Mappedin;
var coords = new MPICoordinates(
latitude: 43.6532,
longitude: -79.3832,
accuracy: 10.0,
floorLevel: 2);
var position = new MPIPosition(
timestamp: 1000.0,
coords: coords,
type: "gps",
annotation: "user",
bearing: 90.0);
Map view
var frame = new CoreGraphics.CGRect(0, 0, 375, 667);
var mapView = new MPIMapView(frame);
// Authorization headers when loading map data
var auth = new MPIHeader("Authorization", "Bearer your_token_here");
See Mappedin's iOS documentation for venue loading, navigation, search, and event handling.
Documentation
Caveats
The Mappedin xcframework is licensed by Mappedin and not open source — it must be provisioned out-of-band. The NuGet package ships the binding metadata; consumers must obtain the Mappedin SDK directly from Mappedin and follow their licensing terms.
How It Works
These bindings are auto-generated by Swift Dotnet Bindings using .NET 10's native Swift interop via the SwiftBindings SDK.
License
The bindings are MIT licensed. The Mappedin SDK itself is licensed by Mappedin — see Mappedin's terms.
Changes from Previous Version
Adoption Assessment
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.