How to indicate the language in the Google Maps API?

前端 未结 4 914
隐瞒了意图╮
隐瞒了意图╮ 2021-02-05 01:44

Just like you visit maps.google.com.tw or maps.google.co.kr or maps.google.co.jp, you can see their own language shown on every country. I

4条回答
  •  情书的邮戳
    2021-02-05 02:26

    In Google Maps API v3, add "language" attribute to script tag. For example, the following will set map to display Russian in location names and navigation buttons:

     
    

    Result:

    alt text

提交回复
热议问题