Hi All,
I am trying to set language attribute to some value other than
"en" [say "ko"] inside a div tag. The content string that i create in
this way is being used to set the InfoWindow's setContent(). But
unfortunately, i continue to see the text in English rather than the
lang value i have set it to.
Here's the relevant pieces of code:
content_string = '<div style="width: 210px; padding-right: 10px"
lang="ko" xml:lang="ko">' + biz_name_html + '<br>' + biz_addr + '<br>'
+ biz_url_html + '<br>' + biz_phone + '<br>' + biz_description + '</
div>';
marker = new google.maps.Marker({
position: latlng,
map: map,
title: biz_name,
html: content_string,
icon: new google.maps.MarkerImage(marker_icon_url)
});
google.maps.event.addListener(marker, 'click', function() {
info_window.setContent(this.html);
info_window.open(map, this);
});
Please help.
Thanks.
--
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.