简体   繁体   English

无需网络浏览器即可将Google Maps加载到C#Winform

[英]Loading Google Maps to C# Winform without web browser

Is there a way to integrate Google Maps into a C# WinForms application without embedding a browser into the application? 有没有一种方法可以将Google Maps集成到C#WinForms应用程序中而不将浏览器嵌入到该应用程序中? Thanks 谢谢

Somewhere in 2016, Google declared that you must use a key to use their Google Maps API, that leaves you with 2 options. 在2016年某个地方,Google宣布您必须使用密钥才能使用其Google Maps API,这给您留下了两个选择。

  1. To open Google Maps from the internet directly by URL (using a browser) or 要直接通过URL(使用浏览器)从互联网打开Goog​​le Maps或
  2. Get a key, and run it using javascript, but you'd still need a browser to execute the javascript. 获取一个密钥,然后使用javascript运行它,但是您仍然需要一个浏览器来执行javascript。

As far as I know, there are no current option to use Google's API offline from your own application, even the offline version of Google Maps itself will only be available for 30 days, due to the daily change in infrastructure in the world. 据我所知,目前尚无从您自己的应用程序脱机使用Google API的选项,由于全球基础设施的每日变化,即使Google Maps脱机版本也只能使用30天。

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

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