Google maps in some region can serve traffic information showing the blocked roads and so on. I was wondering if there is any code example demonstrating how can I serve traffice information for my own region.
Google is mum on what source they use for their traffic data. You might contact them directly to see if they want to implement something for you, but my guess is that they'd simply refer you to their provider if they really wanted your data.
Keep in mind that traffic data is available for more than just the metropolitan areas, but Google isn't using it for a variety of reasons - one of the big reasons is that the entire tile set for the traffic overlay in areas with traffic tiles has to be regenerated every 15 minutes or so. It just doesn't scale.
So even if you managed to get your data in their flow, it likely won't be rendered.
"Google Maps Hacks" has a hack, "Hack 30. Stay Out of Traffic Jams", on that.
You can also find out how to get U.S. traffic info from John Resig's "Traffic Conditions Data" article.
For your own data, you'll want to implement a custom tile overlay.
I found that googl has a class called GTrafficOverlay and this is based on extending the GOverlay class. Now, it is getting clearer that I am looking for an open implementation of the GTrafficOverlay