开发者

Google Map Navigation and Direction in iPhone app

开发者 https://www.devze.com 2023-03-23 18:53 出处:网络
I 开发者_运维技巧wan to use google map navigation and direction functionality in my iPhone App.

I 开发者_运维技巧wan to use google map navigation and direction functionality in my iPhone App. Is there any sample app or documents which should I refer? Is this paid functionality?

Thanks,


If you want to use Google Maps the google provides a really good API.

Google Code

For the direction it depends what you need. For the direction you head up to you can use the compass. If you want to track the direction of your movement you can do that with GPS.

If you don't want to use google maps you can use the Route Me example (Open source iPhone-native slippy map), which already includes functions like tracking and many more.


If you're trying to find directions between two GPS coordinates or two addresses, you can use Google Directions API.

http://code.google.com/apis/maps/documentation/directions/

You can have it read out xml or JSON and from there, parse it and do with it whatever you want.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号