Tag: 谷歌地图 SDK IOS

未find<GoogleMaps / GoogleMaps.h>文件的Google Maps SDK for iOS

昨天我收到谷歌的一封电子邮件,说我可以访问ios的地图API,我从应用程序控制台生成了我的密钥,然后按照https://developers.google.com/maps/documentation/ios/start但Xcode抛出这个错误。 #import <GoogleMaps/GoogleMaps.h> //file not found 感谢您的支持。 出现Headers可执行文件而不是文件夹是正常的? 解决了!

ios Google SDK Map不能创build虚线多段线

我已经调用下面的方法来绘制标记之间的虚线折线。 当涉及到执行时,它显示只绘制实线。 您能否告诉我如何在Google Map上绘制虚线? – (void) createDashedLine:(CLLocationCoordinate2D )thisPoint:(CLLocationCoordinate2D )nextPoint: (UIColor *)colour { NSLog(@"next pt latitude %ff" , nextPoint.latitude); NSLog(@"next pt longitude %ff" , nextPoint.longitude); NSLog(@"this pt laatitude %ff" , thisPoint.latitude); NSLog(@"this pt longitude %ff" , thisPoint.longitude); double difLat = nextPoint.latitude – thisPoint.latitude; double difLng = nextPoint.longitude – thisPoint.longitude; double scale = camera.zoom * 2; double […]

iOS中没有find框架GoogleMaps sdk

我想使用谷歌地图现有的(而不是一个新的)iPhone项目。现在我使用谷歌地图ios sdk ,我成功地添加谷歌地图框架到我的项目。但我有这样的错误 ld: framework not found GoogleMaps clang: error: linker command failed with exit code 1 (use -v to see invocation) 如何解决这个问题。我使用xcode4.5和谷歌地图的iOS SDK版本是1.5。 当我用谷歌地图iOS sdk创build新项目,然后没有错误得到我。只有现有的iOS项目的错误。请帮助我。

没有CocoaPods的GoogleMaps

我想添加GoogleMaps到我的iOS项目,但我不想使用CocoaPods 。 有什么办法可以实现吗?

Google Maps iOS SDK,获取2个位置之间的路线

在使用Google Maps SDK的同时,我试图在iOS上的两个位置之间取得驾驶方向。 我知道我们可以用两种方法做到这一点: 1.)使用URL Scheme,为此,需要将Google Maps App安装在您的设备上。 2.)使用Directions API,通过请求响应,然后parsingJSON。 显示标记以显示方向。 现在,我的问题是有什么其他方式可以在iOS上做到这一点? 我需要显示从我的当前位置到具有纬度/经度的特定位置的方向。 我的意思是真的不可能简单地通过2位置作为参数和谷歌地图SDK,会给我的方向? 谢谢,

Google Maps iOS SDK,获取用户的当前位置

对于我的iOS应用程序(在iOS7中iOS7 ),我需要在应用程序加载时显示用户的当前位置。我正在使用Google Maps iOS SDK 。 我正在关注这个谷歌地图,但我无法弄清楚。 请帮助,如果你通过path。

GoogleMaps基本的iOS演示程序崩溃 – 无法识别的select器发送到实例

我试图运行基本的iOS演示SDK代码。 我已经创build了API密钥,并且可以正常加载。 虽然我已经将代码从viewDidLoad转移到loadView,但效果依然存在。 看下面的代码 -(void)loadView{ // Create a GMSCameraPosition that tells the map to display the // coordinate -33.86,151.20 at zoom level 6. GMSCameraPosition *camera = [GMSCameraPosition cameraWithLatitude:-33.86 longitude:151.20 zoom:6]; _mapView = [GMSMapView mapWithFrame:CGRectZero camera:camera]; _mapView.myLocationEnabled = YES; self.view = _mapView; // Creates a marker in the center of the map. GMSMarker *marker = [[GMSMarker […]