Skip to main content

heatmapOpacity

A layer's opacity from its opacity control, or DEFAULT_HEATMAP_OPACITY.

This is a function exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import { heatmapOpacity } from "@mapcairn/core";

function heatmapOpacity(definition: LayerDefinition, controls: ControlValues): number;

Parameters​

  • definition (LayerDefinition)
  • controls (ControlValues)

Returns​

number

See also​

Source: packages/core/src/layers/heatmap.ts:39