Hello.

I'm trying to add a link to the info bubble on my map.
Just can't seem to get it working correctly though.

When the link is clicked I would like the page to redirect to the google 
maps site - the get directions section.
Almost got it working, but the end address field is not behaving. 

If I add say, London, England as the finish address it works fine. But it's 
for a Japanese address. 
I've tried using just the LatLng(36.24501,139.41998) in various ways with no 
luck, and if I use 大泉いちご園 it just gets garbled, although I can type that 
into the search box on google maps and it works just fine...just not from my 
link.


Any help much appreciated.


Link to the map: http://www.ok-hybrid.com/googletest.html


This is the <a> link code:

var content = 
'<div id="mytext" ><a 
href="http://www.google.co.jp/maps?saddr={start_address}&daddr={大泉いちご園 
@36.24237,139.424057}">Linky</a></div>';

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

Reply via email to