Function mapOpacityWeatherText

  • Set the weather text layer opacity.

    The weather text is shown at the center left of the screen. Setting this value to zero hides the weather text layer. Setting this value to one shows the layer at full opacity.

    Parameters

    • json: {
          opacity: number;
      } = ...
      • opacity: number

        number: 0 to 1

    Returns void

    Example

    {opacity: 0.6}