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-libraryを含める場合は、hl-parameterを使用します

例:クロアチア語を言語として使用するように強制する:( 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ではなくlanguageになります

于 2012-04-12T11:17:25.227 に答える