VexTile.Data 2.0.0-beta.1

This is a prerelease version of VexTile.Data.
dotnet add package VexTile.Data --version 2.0.0-beta.1
                    
NuGet\Install-Package VexTile.Data -Version 2.0.0-beta.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="VexTile.Data" Version="2.0.0-beta.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="VexTile.Data" Version="2.0.0-beta.1" />
                    
Directory.Packages.props
<PackageReference Include="VexTile.Data" />
                    
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 VexTile.Data --version 2.0.0-beta.1
                    
#r "nuget: VexTile.Data, 2.0.0-beta.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.
#:package VexTile.Data@2.0.0-beta.1
                    
#: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=VexTile.Data&version=2.0.0-beta.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=VexTile.Data&version=2.0.0-beta.1&prerelease
                    
Install as a Cake Tool

<img src="images/logo.png"/>

VexTile.Renderers

VexTile is a MapBox VectorTile rendering engine suite.

This project aims to take the various renderers that are currently inaccessible to mapping engines like Mapsui and provide a drop in tile source for offline (and in the future online) maps tiles in Mapbox Vector Tile format.

The current implementation is a continuation of the AliFlux/VectorTileRenderer written by Ali Ashraf. This engine is capable of rendering tiles, but currently needs work to improve the rendering quality.

In the future we hope to look at getting other engines integrated. This is an ongoing efort and we are very hopeful that others will contribute.

Build status: Build status

A basic example of rendering a tile:

// create a canvas. SkiaSharp is currently the only renderer supported
var canvas = new SkiaCanvas();

// locate a file - this file is located in the tiles directory
string path = "zurich.mbtiles";

// create an instance of the renderer.
// it is possible to specify an existing SQLiteConnection, but for this example we will use the path
var renderer = new TileRenderer(path, VectorStyleKind.Basic);

// render a tile. {0,0} at zoom level 0 is the entire globe in a single tile, so it is a good
// first tile to use in any aituation where you want to test a renderer.
var tile = await renderer.RenderTileAsync(canvas, 0,0,0);

Tiles are generated in PNG format. It would also be trivial to provide an alternative implementaion in other formats by augmenting the class that implements ICanvas.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on VexTile.Data:

Package Downloads
VexTile.TileSource.Mvt

A Mapsui compatible Mapbox Vector Tile TileSource based on BruTile.MbTiles

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.0-beta.1 86 9/26/2025
1.0.2 733 4/5/2025