On Mar 12, 4:12 pm, Jon Grubb <[email protected]> wrote: > Hi folks. I hope I'm at the right place. Is there a way to get an > encoded path for directions between two places from within PHP?
No. The directions service is only available in Javascript. You could get directions in Javascript and pass the path to PHP, but make sure to read the Terms of Service to make sure your intended use is allowed. > I > would then attach the encoded path to the tail end of a static map > request to get a display that included the route. Also, is there a > limit on how long the static map HTTP request string can be? Yes, but this is not a group for Static Maps. This one is: http://groups.google.com/group/Google-Maps-API > Could I > attach several encoded routes to the static map request? Static map is > currently zoom 4 (entire US) and would display routes all over. Static Maps API group: http://groups.google.com/group/Google-Maps-API > > Also, I'm having problems with static map not listening to my sizing > instructions. Height seems to be the only variable used in sizing. > Width appears to always be 640 (in zoom 4) regardless of width > requested. Static Maps API group: http://groups.google.com/group/Google-Maps-API -- Marcelo - http://maps.forum.nu -- >Would like sizing to work with zoom in static as nicely as > in V3 API. > > This is good stuff. Thanks for all your help. -- 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.
