# ee-max-value-heatmap

> This heatmap decides color based on max value of nearest point.This heatmap is developed on the top of deck gl.

Latest version **1.0.3** (published 2019-12-30) · ISC license · 0 weekly downloads

## Install

```sh
npm install ee-max-value-heatmap
pnpm add ee-max-value-heatmap
yarn add ee-max-value-heatmap
bun add ee-max-value-heatmap
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2019-12-30 |
| First published | 2019-12-30 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 7.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Energy Exemplar |
| Maintainers | uttamrahane |

## Links

- npm: https://www.npmjs.com/package/ee-max-value-heatmap
- npm.io page: https://npm.io/package/ee-max-value-heatmap

## Recent versions

- 1.0.3 (latest) — 2019-12-30
- 1.0.2 — 2019-12-30
- 1.0.0 — 2019-12-30

## README

# Heatmap based on max value

This is the heatmap library on top of deck .gl. It decides color based on max value of nearest points.

## Installation

Using npm.

```bash
npm install ee-max-value-heatmap
```

## Usage

```Javascript
import MaxValueHeatmap from 'ee-max-value-heatmap';
import { Deck } from '@deck.gl/core';

let deck = new Deck({
                canvas: 'deck-canvas',
                width: '100%',
                height: '100%',
                initialViewState: INITIAL_VIEW_STATE,
                controller: true
});
const HEATMAP_LAYER = new MaxValueHeatmap({
                id: 'heatmap',
                data,
                opacity: 0.9,
                getPosition: d => d.geometry.coordinates,
                getWeight: d => d.properties.value
            });
deck.setProps({
                layers: [HEATMAP_LAYER]
            });

```

## License
[ISC](https://energyexemplar.com)

---
_Source: https://npm.io/package/ee-max-value-heatmap · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
