所以我把地图看得很像我想要的样子,除了爱立信上面的 4 个出口。我无法在 googles api 网站上找到正确的参考资料来解决这个问题。我想要么完全摆脱它们,要么将它们转回正常的绿色阴影,出口编号(1,2,3 ..)为白色。 http://jsfiddle.net/DKEhf/1/
styles:[
{ featureType: "road", elementType: "labels", stylers: [ { color: "#FD5E0F" } ] },
{ featureType: "road", elementType: "labels", stylers: [ { weight: "0.5" }, { lightness: "20" } ] },
{ featureType: "landscape", elementType: "geometry.fill", stylers: [ { color: "#FF7F50" }, { lightness: "70" } ] },
{ featureType: "road.highway", elementType: "labels", stylers: [ { visibility: "off" } ] },
{ featureType: "administrative.land_parcel", stylers: [ { visibility: "off" } ] },
有任何想法吗?谢谢!