MapBundle.Nauru 0.2.0

dotnet add package MapBundle.Nauru --version 0.2.0
                    
NuGet\Install-Package MapBundle.Nauru -Version 0.2.0
                    
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="MapBundle.Nauru" Version="0.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MapBundle.Nauru" Version="0.2.0" />
                    
Directory.Packages.props
<PackageReference Include="MapBundle.Nauru" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MapBundle.Nauru --version 0.2.0
                    
#r "nuget: MapBundle.Nauru, 0.2.0"
                    
#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.
#:package MapBundle.Nauru@0.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MapBundle.Nauru&version=0.2.0
                    
Install as a Cake Addin
#tool nuget:?package=MapBundle.Nauru&version=0.2.0
                    
Install as a Cake Tool

MapBundle

Bundled, offline map data for .NET apps — borders, cities, waterways and base layers — shipped as FlatGeobuf inside NuGet packages. Data is derived from OpenStreetMap under the ODbL; cities, rivers and lakes come from Natural Earth (public domain).

Packages

Package Contents
MapBundle Core runtime. Loads the bundled .fgb layers. No data of its own.
MapBundle.World The whole world (every continent merged).
MapBundle.[Region] A single continent or country (for example MapBundle.Europe or MapBundle.Monaco).

Install the core package plus the area required:

dotnet add package MapBundle.Monaco

A data package copies its FlatGeobuf files into a maps/<Region> folder beside the app at build time, and the MapBundle core reads them from there. Layers can instead be converted to another format and/or rendered to an image at build time.

Usage

<a id='snippet-usage'></a>

var map = Maps.Open().Load("Monaco");

var borders = map.Borders;        // country polygons
var cities = map.Cities;          // populated places
var states = map.StatesProvinces; // admin-1 polygons
var rivers = map.Rivers;          // rivers
// also: map.Lakes, map.Coastline, map.Land, map.Ocean

<sup><a href='/src/Tests/Snippets.cs#L7-L15' title='Snippet source file'>snippet source</a> | <a href='#snippet-usage' title='Start of snippet'>anchor</a></sup>

Layers are read on demand and returned as GeoConvert FeatureCollections (coordinates are WGS84 longitude/latitude).

Layers

🗺️ Borders · 🏛️ StatesProvinces · 🏙️ Cities · 〰️ Rivers · 💧 Lakes · 🏖️ Coastline · 🟩 Land · 🌊 Ocean

A layer is omitted from a package when the source has nothing for that region (for example Ocean and Coastline for landlocked countries). Roads, railways, buildings, land use and terrain are intentionally excluded.

More

Full documentation, the complete per-region package list, data sources and licensing details are on the project page:

https://github.com/Papyrine/MapBundle

License

The MapBundle core library is MIT. The data packages contain OpenStreetMap data and are licensed under the ODbL — © OpenStreetMap contributors.

There are no supported framework assets in this 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
0.2.0 0 6/2/2026
0.1.0 0 6/2/2026