allartk / leaflet.offline

Leaflet offline layer
https://allartk.github.io/leaflet.offline/
GNU Lesser General Public License v3.0
288 stars 72 forks source link

Add client functionalities to address issue: https://github.com/allartk/leaflet.offline/issues/314 #369

Open disarticulate opened 5 days ago

disarticulate commented 5 days ago

Export openTilesDataBase function to gain access to the underlying db/store and add a createdAt index to allow clients to prune based on how old tiles are.

Does not:

allartk commented 3 days ago

Thanks for your contribution. I agree to exporting the db!

About yarn, I think it is confussing to have two package managers (and locks). Can you apply the change with npm?

disarticulate commented 3 days ago

Yes, sorry about that

On Tue, Jul 2, 2024, 07:00 allartk @.***> wrote:

Thanks for your contribution. I agree to exporting the db!

About yarn, I think it is confussing to have two package managers (and locks). Can you apply the change with npm?

— Reply to this email directly, view it on GitHub https://github.com/allartk/leaflet.offline/pull/369#issuecomment-2202982453, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEFHWPMVPIEOPJ7AY44QRSLZKKI55AVCNFSM6AAAAABKEEIIUCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBSHE4DENBVGM . You are receiving this because you authored the thread.Message ID: @.***>