/// <summary> /// Creates an instance of this class /// </summary> /// <param name="provider">The MapBox Tiles provider</param> /// <param name="name">The name of the TileSource</param> internal MbTilesTileSource(MbTilesProvider provider, string name = DefaultName) { _provider = provider; Name = name; }
internal MbTilesTileSource(SqliteConnection connection, ITileSchema schema = null, MbTilesType type = MbTilesType.None) { _tileSource = new MbTilesProvider(connection, schema, type); }
/// <summary> /// Creates an instance of this class /// </summary> /// <param name="provider">The MapBox Tiles provider</param> public MbTilesTileSource(MbTilesProvider provider) { _provider = provider; }
public void TestConstructorFilename() { MbTilesProvider provider; Assert.DoesNotThrow(() => provider = new MbTilesProvider(MbTilesFile)); }
/// <summary> /// Creates an instance of this class /// </summary> /// <param name="provider">The MapBox Tiles provider</param> internal MbTilesTileSource(MbTilesProvider provider) { _provider = provider; }