Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我用jQuery gMap创建了一个地图
我需要地图来查看标签(国家和城市)的阿拉伯语,而不是默认(英语)。知道怎么做吗?!
我找到了答案并想分享它。在包含 Google Maps API 的 Script 标记中,只需添加hl参数并将其设置为您想要的任何语言 (hl=ar)。
该脚本应如下所示:
<script type="text/javascript" src="http://maps.google.com/maps?file=api&hl=ar&v=2&key=API_KEY" ></script>