我的网站上有路由规划器,并将脚本的语言改为荷兰语,如下所示:
src="http://maps.google.com/maps/api/js?sensor=false;language=nl"
地图的语言现在是荷兰语,但路线规划师的语言不是:
1. Head southeast on Aalbershof
20 m
2. Turn left to stay on Aalbershof
90 m
3. Turn right to stay on Aalbershof
38 m
4. At the roundabout, take the 1st exit onto Oosterlandenweg
1.4 km
5. Turn left onto Zwolseweg
etc.
如何更改路线规划师的语言?
答案 0 :(得分:1)
根据https://developers.google.com/maps/documentation/javascript/basics#Localization,您正确使用API。可能是,您需要将参数除以& 而不是; ?
src="http://maps.google.com/maps/api/js?sensor=false&language=nl"