@texturehq/edges 2.2.1 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1161,10 +1161,17 @@ interface LayerStyle {
1161
1161
  color?: ColorValue;
1162
1162
  /** Line width in pixels */
1163
1163
  width?: NumericValue;
1164
- /** Circle radius in pixels */
1164
+ /** Circle radius in pixels. When `renderAs: "heatmap"`, maps to `heatmap-radius`. */
1165
1165
  radius?: NumericValue;
1166
- /** Overall opacity (0-1) */
1166
+ /** Overall opacity (0-1). When `renderAs: "heatmap"`, maps to `heatmap-opacity`. */
1167
1167
  opacity?: number;
1168
+ /**
1169
+ * Heatmap weight. Applies only when `renderAs: "heatmap"`.
1170
+ * A feature-property name (string, data-driven) or a constant/zoom value.
1171
+ */
1172
+ weight?: NumericValue | string;
1173
+ /** Heatmap intensity multiplier. Applies only when `renderAs: "heatmap"`. */
1174
+ intensity?: number;
1168
1175
  /** Fill opacity for polygons (0-1) */
1169
1176
  fillOpacity?: number;
1170
1177
  /** Border width for fills */
@@ -1161,10 +1161,17 @@ interface LayerStyle {
1161
1161
  color?: ColorValue;
1162
1162
  /** Line width in pixels */
1163
1163
  width?: NumericValue;
1164
- /** Circle radius in pixels */
1164
+ /** Circle radius in pixels. When `renderAs: "heatmap"`, maps to `heatmap-radius`. */
1165
1165
  radius?: NumericValue;
1166
- /** Overall opacity (0-1) */
1166
+ /** Overall opacity (0-1). When `renderAs: "heatmap"`, maps to `heatmap-opacity`. */
1167
1167
  opacity?: number;
1168
+ /**
1169
+ * Heatmap weight. Applies only when `renderAs: "heatmap"`.
1170
+ * A feature-property name (string, data-driven) or a constant/zoom value.
1171
+ */
1172
+ weight?: NumericValue | string;
1173
+ /** Heatmap intensity multiplier. Applies only when `renderAs: "heatmap"`. */
1174
+ intensity?: number;
1168
1175
  /** Fill opacity for polygons (0-1) */
1169
1176
  fillOpacity?: number;
1170
1177
  /** Border width for fills */