1

How can I change language used on map buttons and terms of use ? I am using Google Maps API 2 (to be exact ASP.NET GoogleMap control v4.1) Does this depends from browser language. I can see on some sites that this text is localized and can't find any way to do that.

Here is the screenshot of text that I would like to localize:

enter image description here

4

1 回答 1

3

包含 gMap2 库时使用 hl 参数

例如:强制克罗地亚语被用作语言:(hl=hr

<script 
 src="http://maps.google.com/maps?hl=hr&file=api&amp;v=2&amp;sensor=false&amp;key=yourKey"
 type="text/javascript"></script>

使用 V3 时,参数名称将是语言而不是hl

于 2012-04-12T11:17:25.227 回答