在Windows Phone 8中使用Google地图 [英] Using Google maps in Windows Phone 8

查看:138
本文介绍了在Windows Phone 8中使用Google地图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有可能在Windows Phone 8中使用Google地图吗?这个问题可能看起来很奇怪,因为互联网是一个关于它的帖子。但在实践中,我遇到了真正的问题。



我知道使用Google地图(使用MapTileLayer.TileSources)的唯一方法在本文。但是,您无法替换WP 8中新地图控件中的贴图。当然,我们可以使用旧地图控件插入相应的库。这是我开始遇到问题的地方。

WP8中的Bing Map控件存在内存泄漏,并且无法使用它们。也许更准确,但随着时间的推移将是一个巨大的内存消耗。我不知道如何解决它。我写了此处 Microsoft Connect 。最后,我没有看到在自己的WP8应用中使用Google地图的方法。如果有人在WP8应用程序中成功使用谷歌地图,请帮助我。



感谢您提前致谢。

解决方案

即使您可以在控件中使用Google地图切片,您也不会授权这样做。

Google地图使用条款指定您不能将访问磁贴或其他资源导出官方控制。

从技术上讲,这是可能的,但在法律上是不可以的。因此,根据使用条款,您可以使用Google地图控件(JavaScript API)或使用其他移动控件(与WP8不兼容)。


It's possible using Google maps in Windows Phone 8? The question may seem strange, since the internet is very much a post about it. But in practice, I was faced with real problems.

The only way I know to use Google maps (with MapTileLayer.TileSources) is described in this article. But you can not replace the tiles in the new map control in WP 8. Of course we can use the old map contol plugging the appropriate library. This is where I have problems begin.

The old Bing Map control in WP8 has a memory leak, and using them is not possible. Perhaps more accurately, but over time will be a huge memory consumption. I do not know how to fix it. I wrote about it here and Microsoft Connect. In the end, I do not see a way to use the Google maps in own WP8 app. If someone successfully use Google maps in WP8 application, please help me.

Thanks in advance.

解决方案

Even if you can use Google Maps tiles inside the control, you won't be authorize to do so.

Google Maps terms of use specify that you cannot direct access tiles or other resources out of the official control.

So technically it's possible but legally you cannot. So based on the terms of use, you can use the Google Maps control (JavaScript API) or use another mobile control (which won't be compatible with WP8).

这篇关于在Windows Phone 8中使用Google地图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆