本文介绍了离线使用Google地图(Js Api)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图制作一个NodeJs应用程序,其中,在我使用Google地图的网页上,出于某些原因,我选择了 Google地图,并且我想坚持使用它。我的问题是,无论如何,我可以将地图图块存储或缓存为离线地图,然后根据需要随时使用它[请注意:不是在寻找任何破解或非法方式,我已经知道存在很多这样的方式]。

我试过并看到很多选项,例如GEE(Google地球企业版)的便携式,但我想他们很快就会关闭它,也就是到2017年。

p>

基本上我在这里尝试的是最小化渲染地图图块上的数据使用情况,或者,如果没有办法让Google地图工作在离线状态下进行任何建议或建议最大限度地减少数据使用情况。赞助。

解决方案

目前通过Maps JavaScript API的离线访问不可用。在公共问题跟踪器中有一项功能请求:





请出示此功能请求以表达您的兴趣并从Google获得更多更新。

I'm trying to make an NodeJs App in which, on web page I'm using Maps, For some reasons I've chosen Google Maps and I want to stick to it. My question is, Is there anyway where I can either store or cache map tiles offline and later on use it as needed [Note: Not looking for any hack or Illegal way for it, I already know there are many such ways].

I tried and saw many options like GEE (Google Earth Enterprise) portable but I guess they are shutting it down very soon i.e by 2017.

Basically what I'm trying here is to minimize the data usage on rendering map tiles, so alternatively, if there ain't a way to make google map work offline any suggestion or advice for minimizing data usage is appreciated.

解决方案

The offline access via Maps JavaScript API is not available at the moment. There is a feature request in the public issue tracker:

https://issuetracker.google.com/issues/35827808

Please star this feature request to express your interest and receive further updates from Google.

这篇关于离线使用Google地图(Js Api)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-11 15:00