Table of Contents

Class MbTilesLayer

Namespace
ThinkGeo.Core
Assembly
ThinkGeo.Core.dll
public class MbTilesLayer : LayerAsync
Inheritance
MbTilesLayer
Inherited Members

Constructors

MbTilesLayer()

public MbTilesLayer()

MbTilesLayer(string, Stream)

public MbTilesLayer(string filePath, Stream styleJsonStream)

Parameters

filePath string
styleJsonStream Stream

MbTilesLayer(string, string)

public MbTilesLayer(string filePath, string styleJsonFilePath)

Parameters

filePath string
styleJsonFilePath string

Properties

BackgroundColor

public GeoColor BackgroundColor { get; set; }

Property Value

GeoColor

FilePath

public string FilePath { get; set; }

Property Value

string

HasBoundingBox

public override bool HasBoundingBox { get; }

Property Value

bool

StyleJsonStream

public Stream StyleJsonStream { get; set; }

Property Value

Stream

ZoomLevelSet

public ZoomLevelSet ZoomLevelSet { get; set; }

Property Value

ZoomLevelSet

Methods

CloseAsyncCore(CancellationToken)

protected override Task CloseAsyncCore(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Returns

Task

DrawAsyncCore(GeoCanvas, Collection<SimpleCandidate>)

protected override Task DrawAsyncCore(GeoCanvas canvas, Collection<SimpleCandidate> labelsInAllLayers)

Parameters

canvas GeoCanvas
labelsInAllLayers Collection<SimpleCandidate>

Returns

Task

GetBoundingBoxCore()

protected override RectangleShape GetBoundingBoxCore()

Returns

RectangleShape

OpenAsyncCore(CancellationToken)

protected override Task OpenAsyncCore(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Returns

Task