如何降低谷歌地图的整体亮度,使引脚更显眼

How to decrease overall brightness of google map so that the pins are more visible

本文关键字:引脚 亮度 谷歌地图 何降低      更新时间:2023-09-26

我浏览了这个URL。https://developers.google.com/maps/documentation/javascript/styling

我应该换吗

stylers: [
    { lightness: 0 }
]

对于每个featureType和elementType?


有没有更好的方法来降低地图的整体吸引力,使地图上的大头针脱颖而出?

我认为你的想法是对的。亮度默认为0,所以如果你的目标是这样的话,你会想把它减少到负数。降低饱和度可能会获得更多您想要的效果,但这里是使用这些值的好地方:http://gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html