Sunday, March 11, 2012

[Google Maps API v2] Re: Multiple Destinations in GMaps

Something like that, yes.  But you also have to account for the cases
where your end user doesn't give you extra addresses, or you could end
up with "from:London to:Paris to: to: to:"

I put this one:

function setDirections(fromAddress, toAddress1, toAddress2, locale) {
gdir.load("from: " + fromAddress + " to: " + toAddress1 + " to: " + toAddress2 ,
{ "locale": locale });

but there give me this error:

and the map doesn't appears (it stays all-grey).
 

--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-api/-/Vh64ltkgLyAJ.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate