Google Maps v3 - Map tile caching on client?

前端 未结 3 1381
时光取名叫无心
时光取名叫无心 2021-02-01 22:18

I\'m using Google Maps JS API v3 for a project. Is there a way to ask the map to cache tiles on the client\'s machine so that when they refresh the browser, the tiles don\'t hav

3条回答
  •  醉酒成梦
    2021-02-01 22:40

    By default google maps return's cached images (you can see this in the network tab of the console).

    enter image description here

    If you user's having trouble caching the images, it's probably because they disabled the cache

提交回复
热议问题