例如:
OpenUrl(GoogleMaps.Location("my address here"));
会打开 Google map 并输入地址,就好像直接在 Google map 本身的搜索栏中输入地址一样。
如果它能够做类似的事情就更好了:
OpenUrl(GoogleMaps.Directions("Starting address", "End Address"));
我不希望将 Google map 嵌入到我的应用程序或任何类似的东西中。网址生成非常适合我的需求。
有什么想法吗?
请您参考如下方法:
也许您正在寻找: Google Maps API for .NET
对于 Url 生成使用: 获取静态 map url
Static Maps support allows you to get a valid url which you can use, for example, with an tag.
