Using Google Maps V3 offline, e.g. with cache-manifest?

后端 未结 4 1824
孤街浪徒
孤街浪徒 2020-12-13 15:43

I\'m writing an HTML5 mobile application that uses Google Maps V3 with a custom layer of OpenStreetMap tiles.

The OSM tiles (from tile.openstreetmap.org

4条回答
  •  Happy的楠姐
    2020-12-13 16:16

    I have http://maps.google.com/maps/api/js?sensor=false in the CACHE section of cache.manifest, together with my application files and there isn't any problem.

    Although, I believe you also have to cache other files that the Google Maps API requests. You can take a look at the files downloaded by your app and include them.

提交回复
热议问题