   null
 
 module.exports = class TileSource
-  config:
-    persistDownloadedTiles: true
-
   cache: {}
   modes:
     MBTiles: 1


  init: (@source) ->
    if @source.startsWith "http"
      @_initPersistence() if @config.persistDownloadedTiles

      @mode = @modes.HTTP


fs = require 'fs'

Tile = require './Tile'
config = require './config'

# https://github.com/mapbox/node-mbtiles has native build dependencies (sqlite3)
# To maximize mapscii's compatibility, MBTiles support must be manually added via
