offline map service
backend : It's easy to do. You only make a web service .You shuold have interface to parse the frontend’s request and return map tiles.
frontend : 1.https://unpkg.com/leaflet@1.0.3/dist/leaflet.css (You shuold download and reference them on the web page .) 2.https://unpkg.com/leaflet@1.0.3/dist/leaflet.js (https://leafletjs.com)
material : map tiles. How can we download the map tiles? http://pan.baidu.com/s/1miMF9nM (You can download the MapDownloader and download the tiles.)