On May 7, 8:30 am, Vicky Dhas <[email protected]> wrote:
>
> Is there any possible way as currently i need to place a marker at
> every distance and copy the co-ordinates manually from map which is
> very tedious when i need to do this from 100KM + ,
>
> Any help provided is truely appreciated.

If you use Firebug (in Firefox) you can see the response to the
request to the service and get an encoded polyline for the entire
route. An encoded polyline is less likely to break the url-length
limit and can be used directly without needing center and zoom
parameters. 
http://code.google.com/apis/maps/documentation/staticmaps/#EncodedPolylines

Note that strictly speaking this method may be held to break the Terms
-- but if you use Javascript to generate the GDirections and then use
the encoded string on a Google Map, it's unlikely you will be held to
account. You need to determine for yourself whether the suggestion
complies with the Terms.

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