简体   繁体   English

离线使用Google Maps

[英]Working offline with Google Maps

I have a Windows Forms application with a WebBrowser control. 我有一个带有WebBrowser控件的Windows窗体应用程序。 I am using Google Maps API v3 for displaying a map on the browser control. 我正在使用Google Maps API v3在浏览器控件上显示地图。

The map displays the path traveled using markers and polylines. 该地图使用标记和折线显示行进的路径。 The area in which the location is shown is limited (the path traveled is only in a specific area). 显示位置的区域是有限的(行进的路径仅在特定区域中)。 I know that Google caches the map tiles. 我知道Google会缓存地图图块。

Suppose the internet disconnects for a couple of minutes due to network issues, the map is visible and pan-able for the area which was traveled (and cached). 假设由于网络问题,Internet断开了几分钟,该地图对于经过(和缓存)的区域是可见的并且可以平移。 But the Google Maps API will not work to place a marker. 但是Google Maps API无法放置标记。 In such a situation, while the network is reconnected, how to place markers on the map? 在这种情况下,当网络重新连接时,如何在地图上放置标记?

You can use gmapcatcher -offline maps viewer- 您可以使用gmapcatcher-离线地图查看器-

GMapCatcher is an offline maps viewer. GMapCatcher是一个离线地图查看器。 It can display maps from many providers 它可以显示许多提供商的地图

Read this for the complete information : GMAPCATCHER 阅读此文章以获取完整信息: GMAPCATCHER

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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