leaflet-div-heatmap

WebJar for leaflet-div-heatmap

Лицензия

Лицензия

MIT
Категории

Категории

Github Инструменты разработки Контроль версий Leaf Данные Базы данных
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

github-com-danielepiccone-leaflet-div-heatmap
Последняя версия

Последняя версия

0.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

leaflet-div-heatmap
WebJar for leaflet-div-heatmap
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/danielepiccone/leaflet-div-heatmap

Скачать github-com-danielepiccone-leaflet-div-heatmap

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/github-com-danielepiccone-leaflet-div-heatmap/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>github-com-danielepiccone-leaflet-div-heatmap</artifactId>
    <version>0.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-danielepiccone-leaflet-div-heatmap/
implementation 'org.webjars.npm:github-com-danielepiccone-leaflet-div-heatmap:0.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-danielepiccone-leaflet-div-heatmap/
implementation ("org.webjars.npm:github-com-danielepiccone-leaflet-div-heatmap:0.0.0")
'org.webjars.npm:github-com-danielepiccone-leaflet-div-heatmap:jar:0.0.0'
<dependency org="org.webjars.npm" name="github-com-danielepiccone-leaflet-div-heatmap" rev="0.0.0">
  <artifact name="github-com-danielepiccone-leaflet-div-heatmap" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='github-com-danielepiccone-leaflet-div-heatmap', version='0.0.0')
)
libraryDependencies += "org.webjars.npm" % "github-com-danielepiccone-leaflet-div-heatmap" % "0.0.0"
[org.webjars.npm/github-com-danielepiccone-leaflet-div-heatmap "0.0.0"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

Leaflet divHeatmap Layer

Lightweight implementation of an heatmap layer for leaflet using CSS3 and divIcon

Use

var divHeatmapLayer = new L.DivHeatmapLayer();

Options

{
    clickable: true or false, // divHeatmapLayer.on('click',function() {...});
    radius: 100,
    gradient: true or false, // Make solid blobs
    color: '255,0,0' or '#FF0000'
}

Methods:

.setData(data)

Loads an array of data points:

var data = [
{
    lat:10,
    lon:12,
    value:1
},
{
...
}
];

.getData()

Returns the dataset in the heatmap.

.clearData()

Clears all the data.

.morphData(data)

Load a new dataset performing a fadeOut on the old data and a fadeIn on the new data.

.fadeInData(data)

Loads an array of data points fading.

.fadeOutData()

Removes the current data making it fade out.

To Do

  • Callbacks for animations
  • Support for CSS animations

Версии библиотеки

Версия
0.0.0