开发者

how to add google traffic api

开发者 https://www.devze.com 2023-02-12 14:49 出处:网络
hii everyone.. I want to show local traffic conditions in my android app..like this http:开发者_如何学C//maps.google.com/maps?ie=UTF8&hl=en&layer=t&ll=38.899049,-77.017593&spn=0.26826

hii everyone.. I want to show local traffic conditions in my android app..like this

http:开发者_如何学C//maps.google.com/maps?ie=UTF8&hl=en&layer=t&ll=38.899049,-77.017593&spn=0.268261,0.6427&z=11

i tried to use mapview.setTraffic(true). but this dosen't show me anything. just showing a simple map. how can i apply this traffic api in my app..if anyone knows..please guide me..

or can i show this as an intent...

thanks in advance..


From here

Live traffic data is available in major cities in the United States, France, Britain, Australia, and Canada

Your local area happens to be india

If you are having issues with MapView refresh, call

mapView.invalidate()

how to add google traffic api

0

精彩评论

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