VFog

Fog 控件。

<v-fog
  :color="color"
  :horizon-blend="horizon-blend"
  :range="range"
/>

加载雾

属性

属性必选类型描述
colorstring地平线以下大气区域的颜色,默认 #ffffff
high-colorstring地平线以上大气区域的颜色,默认 #245cdf
space-colorstring地平线以上区域的颜色,默认 ["interpolate",["linear"],["zoom"],4,"#010b19",7,"#367ab9"]
horizon-blendnumber地平线融合,0~1之间,默认 ["interpolate",["linear"],["zoom"],4,0.2,7,0.1]
rangenumber[]开始和结束距离范围,-20~20之间,默认 [0.5,10]
star-intensitynumber控制星光强度的值,0~1之间,默认 ["interpolate",["linear"],["zoom"],5,0.35,6,0]

想要更多信息请访问 mapbox 官网, 查看open in new window

插槽

名称描述
default默认
Last Updated:
Contributors: timeroute