hello,
We have a map that prints out for a driver with numerical point
numbers on a map.
These points are custom color coded Red, Blue, Green and Yellow
numbers (1-250).
Our system allows the scheduler to put the points in a specific order
and then print them on the map. (our points are Lat/Lon)
When we hand off the lat/lon list to the directions maps it plots the
points with letters and only through "Z".
My Question: how do we plot our custom color markers for the map
points and the directions list points?
we hand the first point in the MapFrom and the rest in the MapTo
var map;
var gdir;
var geocoder = null;
var addressMarker;
function initialize() {
if (GBrowserIsCompatible()) {
map = new GMap2(document.getElementById("map_canvas"));
gdir = new GDirections(map, document.getElementById
("directions"));
GEvent.addListener(gdir, "load", onGDirectionsLoad);
GEvent.addListener(gdir, "error", handleErrors);
setDirections("<%=MyMapFrom%>", "<%=MyMapTo%>", "en_US");
}
}
function setDirections(fromAddress, toAddress, locale) {
gdir.load(fromAddress + toAddress,
{ "locale": locale });
}
Thanks
Jeff Manross
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---