开发者

Google Earth API for Android

开发者 https://www.devze.com 2023-01-27 07:03 出处:网络
I want to ask if Google Earth API is avaialble for developing android application. If google earth api is开发者_如何转开发 not available for android, are there any map api which can be used off networ

I want to ask if Google Earth API is avaialble for developing android application. If google earth api is开发者_如何转开发 not available for android, are there any map api which can be used off network on android?


If you just want to open a location you can use the intents for searching on Google Earth. See How to fly to a location in Google Earth from your android app for examples


No, there's no offline API on Android or Google Earth API. You can use the regular Android Google Maps package api, eventually in combination with the Google Maps web api, in case you need routing and directions as well.

Until SDK 0.9, Google had a navigation package/api included, but that has been dropped; I guess due to licensing issues. Note that real-time turn-by-turn navigation on Android is not allowed and against the ToS, while route navigation in general can be done, but only in combination with the maps web api.


You can use the open source AndNav library for offline mapping. The API is very similar to the Android Google Maps one. The code can be found here: http://code.google.com/p/andnav/

Their wiki has a lot of good information and downloads for map tile packs.

0

精彩评论

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