On Sep 20, 11:54 am, Rahul Mehta <[email protected]> wrote:

> something;to show that the congestion has decreased.
> so what are the ways it can be done?
> how can we display roads in different colors and how can we
> dynamically change road colors?
>
> do we have to maintain a DB for storing lat and lang of roads for
> drawing polylines?
> or is there a simpler way?

Is this related to your earlier post?
http://groups.google.com/group/google-maps-api/browse_thread/thread/c738673df8a6ff36#

You might look at getting directions between the change points, and
drawing the directions route line yourself using the line-width and
colour you need. If you draw the line yourself you are within the
Terms, although you will need to be careful of the number and rate of
requests you make. I have an example here of getting multiple
directions: http://www.acleach.me.uk/gmaps/multi-distance.htm (that
starts from a central point, but demonstrates the rate-limiting).

As well as the risk of running into limits, using directions also runs
the risk that if your change-points are not close enough together,
Google's route between them may not be what you expect.

The best method is to maintain your own database and create custom
tiles you can overlay on the map.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to