Path: blob/main/docs/user_guide/plugins/heatmap_with_time.md
1603 views
HeatMapWithTime
In this example we show the basic usage of the HeatMapWithTime plugin.
Data
We generate a random set of points with lat/lon coordinates to draw on the map, and then move these points slowly in a random direction to simulate a time dimension. The points are arranged into a list of sets of data to draw.
Weights
In order to control intensity shown on the map, each data entry needs to have a weight
. Which should be between 0 and 1. Below we generate weights randomly such that intensity increases over time.
Options
Now we show that the time index can be specified, allowing a more meaningful representation of what the time steps mean. We also enable the 'auto_play' option and change the maximum opacity. See the documentation for a full list of options that can be used.