On Jan 1, 12:14 am, Hakim TAMGALT <[email protected]> wrote: > The task i want to accomplish is just get the Map centered on certain > coordinates, then draw a polyline to represent the trip of the user, > nothing fancy just a basic Google app. I know how to do all the above > just did not know once we get the map how to add it to an HTML email.
That's the problem. The API requires Javascript, which isn't likely to work in an HTML email; and Static Maps have to be displayed in a browser. I think the TOS are drafted in such a way as to deliberately exclude use in emails. You may also need to consider that some people make a positive decision to display all HTML email as plain text, so an image isn't going to be much use; and other recipients may use dialup and would prefer not to receive images at all. You could create a polyline on a static map and email the URL which displays it. And a service like tinyurl.com allows that URL to be shortened to a convenient length. [It is of course *possible* to include a Static Map image in an HTML email. But paragraph 10.8 outlaws it] Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
