MapHeatmapSource
What a heatmap is made from: loaded points, or a vector tile source layer of points.
This is a type alias exported by @mapcairn/core, checked against version 0.2.0.
Signature
import type { MapHeatmapSource } from "@mapcairn/core";
type MapHeatmapSource = {
readonly kind: "points";
readonly points: readonly {
readonly position: LatLng;
readonly weight?: number;
}[];
} | {
readonly kind: "vector";
readonly source: MapVectorSource;
readonly sourceLayer: string;
readonly weightField?: string;
readonly minzoom?: number;
readonly maxzoom?: number;
};