Hi,
I want to find all cities between selected two points.
Example;
Between Denver,CO and Cheyenne,WY
There are Boulder, Longmont, Loveland, Fort Collins,etc.
Is there anyway to get this cities when i select Denver and Cheyenne?
var gdir;
var geocoder = null;
var addressMarker;
function initialize() {
if (GBrowserIsCompatible()) {
map = new GMap2(document.getElementById("map_canvas"));
gdir = new GDirections(map, document.getElementById("route"));
map.enableScrollWheelZoom();
map.addControl(new GLargeMapControl);
map.addControl(new GMapTypeControl());
setDirections("Denver,CO", "Cheyenne,WY", "en_US");
}
}
function setDirections(start,end,locale) {
gdir.load("from: " + start + " to: " + end,
{ "locale": locale });
}
Thanks for your helps..
--
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.