How to make offline maps(using leaflet OSM) , by caching?
问题 I am trying to make offline maps through caching (IndexedDB) in browser. I understand the concept is that I download and store the tiles of map first when connected to internet. Then I have to load the tiles logically offline. However, I'm not able to figure it out. How do I store them and how to load them again logically? I'm stuck here. I am using the leaflet API for maps. How can this be implemented? 回答1: See my extensive research on this at: Storing Image Data for offline web application