如何将新的Google地图应用程序与ios应用程序集成 [英] How to integrate new Google map app with ios app
问题描述
Google地图现已在Appstore for IOS 6.我有一个应用程序,它利用MAPKIT和WebView使用Google webservices显示驾驶方向。
对于在Native Apple MAP应用中显示Route,我使用类似于此的代码。
MKMapItem * mapItem = [ [MKMapItem alloc] initWithPlacemark:place];
NSDictionary * options = @ {
MKLaunchOptionsDirectionsModeKey:MKLaunchOptionsDirectionsModeDriving
};
[mapItem openInMapsWithLaunchOptions:options];
我想在用户设备上安装的New Google MaP App中向用户显示Route,用户界面在我的应用程序中的视图。
指导我。
< Goole已经发布了用于IOS6.0和更高版本的最新API。
对于下面的步骤
- 您必须注册您的应用,并从映射IOS访问
- 请参阅以下链接了解更多详情
在iOS 6应用程序中添加Google地图的新方法
Google Map is now available in Appstore for IOS 6. I have a application which utilises MAPKIT and WebView to show Driving direction using Google webservices. For showing Route in Native Apple MAP app, i use codes similar to this..
MKMapItem *mapItem = [[MKMapItem alloc]initWithPlacemark:place];
NSDictionary *options = @{
MKLaunchOptionsDirectionsModeKey:MKLaunchOptionsDirectionsModeDriving
};
[mapItem openInMapsWithLaunchOptions:options];
I want to show Route to the user in the New Google MaP App installed on user device, embeed its UI within a View in my app.
Do guide me.
Goole have released latest API for IOS 6.0 and up.
For that follow the step below
- You have to registered your app and get the keys from Map IOS access.
- Refer the following link for further detail New way to add google maps in iOS 6 app
这篇关于如何将新的Google地图应用程序与ios应用程序集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!