【发布时间】:2010-01-20 09:11:25
【问题描述】:
谷歌地图未显示,在此我也生成新的 md5 密钥,但它没有出现。而不是地图框和缩放按钮 r 出现
我正在使用这个布局:
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/frame"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<com.google.android.maps.MapView
android:id="@+id/map"
android:apiKey="0Hk8f49CqFaKR6GAiakhaQ5qAbrmcWXM4WLjV1A"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:clickable="true" />
</LinearLayout>
【问题讨论】:
-
你能发布你正在使用的布局吗?
-
您是否从 google 获得了 api-key?
-
你需要更具体。如果您看到任何代码,请向我们展示一些代码 sn-ps 和错误消息。
-
假设你做的一切都是正确的;有时您必须等待地图显示,尤其是在您的网速较慢时。
标签: android