Hello,

I want to display directions of several routes on one map, but all in
a different color. Is there a way to do this? I can already display 2
different routes but not with a different color. Is there an option I
can use?

This is what I have :

// Create a directions object and register a map and DIV to hold the
// resulting computed directions

var map;
var directionsPanel;
var directions;
var directions1;

function initialize() {
  map = new GMap2(document.getElementById("map_canvas"));
  map.setCenter(new GLatLng(42.351505,-71.094455), 15);
  directionsPanel = document.getElementById("route");
  directions = new GDirections(map, directionsPanel);
  directions.load("from: 50.74899, 4.28638 to: 50.86208, 4.32728 ");
  directions1 = new GDirections(map, directionsPanel);
  directions1.load("from: 50.86208, 4.32728 to: 50.862368,4.328664");


}

The upset of this map is to display the cyclingpads on the streets
with the correspond color that must reflect the state of the
cyclingpads. Is it also possible to set a route much more to the left
side of a street or not?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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