Type Alias SkySpecification
type SkySpecification = {
"atmosphere-blend"?: PropertyValueSpecification<number>;
"atmosphere-blend-transition"?: TransitionSpecification;
"fog-color"?: PropertyValueSpecification<ColorSpecification>;
"fog-color-transition"?: TransitionSpecification;
"fog-ground-blend"?: PropertyValueSpecification<number>;
"fog-ground-blend-transition"?: TransitionSpecification;
"horizon-color"?: PropertyValueSpecification<ColorSpecification>;
"horizon-color-transition"?: TransitionSpecification;
"horizon-fog-blend"?: PropertyValueSpecification<number>;
"horizon-fog-blend-transition"?: TransitionSpecification;
"sky-color"?: PropertyValueSpecification<ColorSpecification>;
"sky-color-transition"?: TransitionSpecification;
"sky-horizon-blend"?: PropertyValueSpecification<number>;
"sky-horizon-blend-transition"?: TransitionSpecification;
}
"atmosphere-blend"?: PropertyValueSpecification<number>;
"atmosphere-blend-transition"?: TransitionSpecification;
"fog-color"?: PropertyValueSpecification<ColorSpecification>;
"fog-color-transition"?: TransitionSpecification;
"fog-ground-blend"?: PropertyValueSpecification<number>;
"fog-ground-blend-transition"?: TransitionSpecification;
"horizon-color"?: PropertyValueSpecification<ColorSpecification>;
"horizon-color-transition"?: TransitionSpecification;
"horizon-fog-blend"?: PropertyValueSpecification<number>;
"horizon-fog-blend-transition"?: TransitionSpecification;
"sky-color"?: PropertyValueSpecification<ColorSpecification>;
"sky-color-transition"?: TransitionSpecification;
"sky-horizon-blend"?: PropertyValueSpecification<number>;
"sky-horizon-blend-transition"?: TransitionSpecification;
}
Index
Properties
Properties
Optionalatmosphere-blend
Optionalatmosphere-blend-transition
Optionalfog-color
The base color for the fog. Requires 3D terrain.
Optionalfog-color-transition
Optionalfog-ground-blend
How to blend the fog over the 3D terrain. Where 0 is the map center and 1 is the horizon.
Optionalfog-ground-blend-transition
Optionalhorizon-color
The base color at the horizon.
Optionalhorizon-color-transition
Optionalhorizon-fog-blend
How to blend the fog color and the horizon color. Where 0 is using the horizon color only and 1 is using the fog color only.
Optionalhorizon-fog-blend-transition
Optionalsky-color
The base color for the sky.
Optionalsky-color-transition
Optionalsky-horizon-blend
How to blend the sky color and the horizon color. Where 1 is blending the color at the middle of the sky and 0 is not blending at all and using the sky color only.
Optionalsky-horizon-blend-transition
Was this helpful?
How to blend the atmosphere. Where 1 is visible atmosphere and 0 is hidden. It is best to interpolate this expression when using globe projection.