我正在为 iPad 进行 Google Maps SDK 集成的 POC。我正在使用来自 Google Map Developer 门户的最新 SDK(版本:1.4.0.4450)。我正在按照地图开发者页面中的建议设置 APIKey。
它在模拟器中完美运行。但是,当我尝试将它运行到设备(iPad 3)时,它不会显示地图内容。以下是来自控制台的日志:
2013-07-26 11:08:20.081 SampleGoogleMaps[69595:907] GMSZoomTableQuadTree lacks root zoom table for tile type (mapType: 10)
2013-07-26 11:08:20.084 SampleGoogleMaps[69595:907] GMSZoomTableQuadTree lacks root zoom table for tile type (mapType: 14)
2013-07-26 11:08:20.085 SampleGoogleMaps[69595:907] GMSZoomTableQuadTree lacks root zoom table for tile type (mapType: 15)
2013-07-26 11:08:35.038 SampleGoogleMaps[69595:907] ClientParametersRequest failed, 3 attempts remaining (0 vs 5). Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo=0x1e5b9dd0 {NSErrorFailingURLStringKey=https://clients4.google.com/glm/mmap, NSErrorFailingURLKey=https://clients4.google.com/glm/mmap, NSLocalizedDescription=The request timed out., NSUnderlyingError=0x1f873c60 "The request timed out."}
2013-07-26 11:08:50.050 SampleGoogleMaps[69595:907] ClientParametersRequest failed, 2 attempts remaining (0 vs 5). Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo=0x1f8ad550 {NSErrorFailingURLStringKey=https://clients4.google.com/glm/mmap, NSErrorFailingURLKey=https://clients4.google.com/glm/mmap, NSLocalizedDescription=The request timed out., NSUnderlyingError=0x1f8ad100 "The request timed out."}
2013-07-26 11:09:09.061 SampleGoogleMaps[69595:907] ClientParametersRequest failed, 1 attempts remaining (0 vs 5). Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo=0x1e5b8f00 {NSErrorFailingURLStringKey=https://clients4.google.com/glm/mmap, NSErrorFailingURLKey=https://clients4.google.com/glm/mmap, NSLocalizedDescription=The request timed out., NSUnderlyingError=0x1e588020 "The request timed out."}
有没有人遇到过这个问题?任何人都可以建议我解决方案。我已经给出了解决方案:Google Maps SDK for iOS doesn't display map content,但没有成功!