Encodes a Mapbox .mvt tile

Namespace:  EGIS.Mapbox.Vector.Tile
Assembly:  EGIS.Mapbox.Vector.Tile (in EGIS.Mapbox.Vector.Tile.dll)

Syntax

Visual Basic
Public Shared Sub Encode ( _
	layers As List(Of VectorTileLayer), _
	stream As Stream _
)
C#
public static void Encode(
	List<VectorTileLayer> layers,
	Stream stream
)
Visual C++
public:
static void Encode(
	List<VectorTileLayer^>^ layers, 
	Stream^ stream
)
JavaScript
EGIS.Mapbox.Vector.Tile.VectorTileParser.encode = function(layers, stream);

Parameters

layers
Type: System.Collections.Generic..::..List<(Of <(<'VectorTileLayer>)>)>
List of VectorTileLayers to encode. A Tile should contain at least one layer
stream
Type: System.IO..::..Stream
output .mvt tile stream

See Also