Skip to content

runetvilum/leaflet-cache

Repository files navigation

leaflet-cache

L.TileLayer.addInitHook(function () {
    if (!this.options.useCache) {
        this._db = null;
        return;
    }
    this._db = idb;
});
L.Icon.addInitHook(function () {
    if (!this.options.useCache) {
        this._db = null;
        return;
    }
    this._db = idb;
});
```

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published