UNPKG

@yaga/indexed-db-tile-cache

Version:

Spatial tile cache that saves its data into the IndexedDB of your browser

29 lines (28 loc) 760 B
/** * The default database name */ export declare const DEFAULT_DATABASE_NAME: string; /** * The default object store name of the database */ export declare const DEFAULT_OBJECT_STORE_NAME: string; /** * The default tile url (the one from OpenStreetMap) */ export declare const DEFAULT_TILE_URL: string; /** * The default sub domains */ export declare const DEFAULT_TILE_URL_SUB_DOMAINS: string[]; /** * The fallback version of your IndexedDB database */ export declare const DEFAULT_DATABASE_VERSION: number; /** * The default delay between downloads during the seeding process */ export declare const DEFAULT_CRAWL_DELAY: number; /** * The default maximum age of a cached tile (equals one week) */ export declare const DEFAULT_MAX_AGE: number;