I guess you purchasing Premier then? As thats disallowed in the Free API
http://code.google.com/apis/maps/documentation/staticmaps/#Overview

But regarding your actual question, where are you executing this
javascript? The javascript API runs in a browser.

As far as I can see you would have to call the Directions API, get the
directions and convert it to a static maps URL. Encoding the polyline
etc, to get a useable map within the URL leng restrictions.


On 14 January 2011 21:16, Katyayan Agrawal <[email protected]> wrote:
> Hi,
> We have a requirement to send the driving directions through email.
> For this we need the static map image URL, which can be embed into our
> email JSP page email template to send through mail.
> I am using the ‘Maps JavaScript API’ and I have starting and end point
> addresses available to pass to API method call.
>
> Can you please guide me how can I get the static Map image URL by
> passing the start and end point address? Which API method I can use
> for it?
>
> Thanks, Katyayan
>
> --
> 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.
>
>

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

Reply via email to