获得在谷歌地图网格视图 [英] Getting grid view in google maps

查看:235
本文介绍了获得在谷歌地图网格视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

下面我写的一些应用程序,这显示了我的位置。

Here I write some application, which shows my location.

在模拟器中我得到这样的:

In the emulator I get this:

但在设备我看到这一点:

But in device I see this:

我通过WiFi进行连接,因此有一个与互联网没有任何问题,它应该已经打开地图。

I connect through wifi, hence there's no problem with internet, it should have opened the map.

这是什么原因?我怎样才能解决这个问题?

What is the reason? How can I solve this?

感谢。

我刚再生我的密钥工具API密钥。得到了相同的关键我前面了。

I just regenerated my API key with keytool. Got the same key I had before.

不过在手机相同的看法。

Still the same view in the phone.

推荐答案

它的谷歌地图API密钥问题你有使用的您正在使用导出您的apk密钥库重新生成API密钥。

Its Google map API key issue you have to re-generate the API key using the keystore which you are using to export your apk.

这里是如何产生最终版本的地图API密钥。

这篇关于获得在谷歌地图网格视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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