1

I looked through this URL. https://developers.google.com/maps/documentation/javascript/styling

Should I change the

stylers: [
    { lightness: 0 }
]

for each featureType and elementType?

OR
Is there a better way to decrease the overall appeal of the map so that the pins on the map stand out?

4

2 回答 2

1

我认为你的想法是正确的。亮度默认为 0,因此如果这是您的目标,您需要将其减少到负数。降低饱和度可能会产生更多您想要的效果,但这里是使用这些值的好地方:http: //gmaps-samples-v3.googlecode.com/svn/trunk/styledmaps/wizard/index.html

于 2013-08-28T21:49:16.717 回答
0

例如,为什么不放置一个覆盖地图的 div,背景为 #000 和不透明度 0.2?

于 2013-08-28T22:33:06.747 回答