简体   繁体   中英

Show Google maps offline via service worker.

Is there a way to show google maps via the service worker while offline.

I've built a progressive web app that stores all the content and data in the cache via the service worker so it can be accessed offline after use but for the life of me i cant cache google maps then display it.

Refer this solution . Depending on what license you have to use Google Mapts API, you may have to make sure you are not violating the terms of use by caching the tiles that are not visited(bulk cache of an area without users visiting them)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM