Panache
Panache

Reputation: 987

Real time Traffic on Map View in Android

I am developing an app with Map View. I had implemented Overlays for Map view referencing from http://developer.android.com/resources/tutorials/views/hello-mapview.html which works perfectly. Now, I want to show Real-Time Traffic as Google shows. I had also set the map view property mapView.setTraffic(true); My App is showing like below,

enter image description here

Is it all that to be done or is it possible to show like below

enter image description here

I am looking for some sample, links or tutorials on this. please guide me for the same.

Thanks in advance...

Panache

Upvotes: 0

Views: 1456

Answers (1)

Morrison Chang
Morrison Chang

Reputation: 12121

The second image is what is called a 'street view'. Google does have an API for this but you're limited to 1000 per viewer Google's quota and its just an image so wouldn't be in a Android Map View.

See here: https://developers.google.com/maps/documentation/streetview/ for more details.

Upvotes: 1

Related Questions