I have a map where I want to plot a route by clicking on the map to
indicate multiple waypoints and generate a route on the fly.
Ultimately when the end user is happy with the route it will be saved
to a database.  Lots of examples of this around the web - map my
ride / run etc.

The problem is that with the 2nd click (ie after the start point then
the first way point) the route is plotted and the map resized which
makes it awkward to click for the next point (have to resize or drag
the map).

Is there any way to tell the map NOT to resize when it starts
calculating the route so that the map zoom stays at what it started
at?

Example here:
http://www.treadly.com/dev/getroute.html

Thanks.

-- 
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.

Reply via email to