Skip to content

Instantly share code, notes, and snippets.

View pksorensen's full-sized avatar

Poul Kjeldager Sørensen pksorensen

View GitHub Profile
@geobabbler
geobabbler / MBTilesProvider.cs
Created February 25, 2014 17:13
Simple class to access MBTiles in C#
public class MBTilesProvider
{
public GeoExtent Bounds { get; private set; }
public CoordinatePair Center { get; private set; }
public int MinZoom { get; private set; }
public int MaxZoom { get; private set; }
public string Name { get; private set; }
public string Description { get; private set; }
public string MBTilesVersion { get; private set; }
public string Path { get; private set; }
public class DependencyFilterChannel : ITelemetryChannel, ISupportConfiguration
{
private PersistenceChannel channel;
public int SampleEvery { get; set; }
public DependencyFilterChannel()
{
this.channel = new PersistenceChannel();