Leaflet.VectorGrid icon indicating copy to clipboard operation
Leaflet.VectorGrid copied to clipboard

offline pbf example

Open petrot opened this issue 7 years ago • 4 comments

Hi Folks,

is there any working example how to use pbf files offline? I have an ionic/cordova app, I would like to use offline vector maps (load openmaptiles pbf files from the device storage).

Thanks.

petrot avatar Feb 17 '18 10:02 petrot

Hi @petrot.

You might be interested in this early proof of concept I worked on that uses Leaflet.VectorGrid. Although it's not exactly what you are looking for, you may find it useful.

https://github.com/nickpeihl/offline-maps-playground

nickpeihl avatar Mar 06 '18 22:03 nickpeihl

@nickpeihl Thanks a lot!

petrot avatar Mar 07 '18 07:03 petrot

@petrot Hi there! did you find a way to do this? I also got a pbf tile server, I would like to save those tiles on indexeddb then use them offline, did you find how to do this? thanks in advance

DanielShinken avatar Jul 27 '18 18:07 DanielShinken

@DanielShinken No, i didn't...

petrot avatar Jul 27 '18 18:07 petrot