예제 #1
0
 internal MbTilesTileSource(SqliteConnection connection, ITileSchema schema = null, MbTilesType type = MbTilesType.None)
 {
     _tileSource = new MbTilesProvider(connection, schema, type);
 }
예제 #2
0
 /// <summary>
 /// Creates an instance of this class
 /// </summary>
 /// <param name="provider">The MapBox Tiles provider</param>
 public MbTilesTileSource(MbTilesProvider provider)
 {
     _provider = provider;
 }
예제 #3
0
 /// <summary>
 /// Creates an instance of this class
 /// </summary>
 /// <param name="provider">The MapBox Tiles provider</param>
 internal MbTilesTileSource(MbTilesProvider provider)
 {
     _provider = provider;
 }
예제 #4
0
 public void TestConstructorFilename()
 {
     MbTilesProvider provider;
     Assert.DoesNotThrow( () => provider = new MbTilesProvider(MbTilesFile));
 }