iphone - Google map 无法在 iPhone 模拟器上运行

标签 iphone google-maps sdk ios-simulator google-maps-sdk-ios

我已逐步实现“获取适用于 iOS 的 Google Maps SDK”

最终模拟器运行正常,没有发现错误,但 map 除了标记之外没有任何详细信息。

如图所示:

Screnshot of simulator

底部的输出也有此消息:

2012-12-23 01:06:59.869 GogleMap[3680:c07] GMSZoomTableQuadTree lacks root zoom table for >tile type (mapType: 10) 2012-12-23 01:07:00.042 GogleMap[3680:1b03] Google Maps SDK for iOS version: 1.0.1.1154 2012-12-23 01:07:00.375 GogleMap[3680:c07] ClientParametersRequest failed, 3 attempts >remaining. Error Domain=DASHConnectionError Code=100 "The operation couldn’t be completed. (DASHConnectionError error 100.)"

请帮忙并提前致谢。

最佳答案

已解决:我认为我们都跳过了这个过程中一个小但非常重要的步骤。

To get started, enable the Google Maps SDK for iOS service in the Google APIs Console alongside other Google APIs.

enter image description here

Google APIs Console 中启用适用于 iOS 的 GoogleMap SDK 后,您的应用程序将在下次运行时正确加载图 block 。

关于iphone - Google map 无法在 iPhone 模拟器上运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14007075/

相关文章:

javascript - 谷歌地图 API : Place marker at current map location

ios - Xcode 4 不会更新模拟器上的 xib 接口(interface)

swift - AVCaptureVideoPreviewLayer 和从相机位置预览

iphone - 将NSData转换为字节数组

ios - iOS/在屏幕锁定时播放音频,但在静音模式下则不播放

ios - 在 iOS 中以圆形格式裁剪和缩放图像

google-maps - Google Maps API 雷达搜索的替代方案

ios - Apple Web App 启动图像延迟

javascript - 如何动态设置谷歌地图样式

java - 如何获取虚拟机网卡的IP?