Yes it is, in my application I have one field where people can write
start and another one for end of route. You can put start and
destination to request
var request = {
origin:start,
destination:end,
travelMode: google.maps.DirectionsTravelMode.DRIVING
};
On Mar 10, 5:07 am, Tim <[email protected]> wrote:
> In this example the values for start and end are hardcoded. Is there a
> way to create an input form where user can define start and end?
>
> http://gmaps-samples-v3.googlecode.com/svn/trunk/draggable-directions...
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.