Documentation ¶
Overview ¶
Package heatmap generates heatmaps for map overlays.
Index ¶
- func Heatmap(size image.Rectangle, points []DataPoint, dotSize int, opacity uint8, ...) image.Image
- func KML(size image.Rectangle, points []DataPoint, dotSize int, opacity uint8, ...) (image.Image, error)
- func KMZ(size image.Rectangle, points []DataPoint, dotSize int, opacity uint8, ...) error
- type DataPoint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Heatmap ¶
func Heatmap(size image.Rectangle, points []DataPoint, dotSize int, opacity uint8, scheme []color.Color) image.Image
Heatmap draws a heatmap.
size is the size of the image to crate dotSize is the impact size of each point on the output opacity is the alpha value (0-255) of the impact of the image overlay scheme is the color palette to choose from the overlay
Types ¶
Directories ¶
Path | Synopsis |
---|---|
examples
|
|
Package schemes provides standard color schemes from gheat.
|
Package schemes provides standard color schemes from gheat. |
Click to show internal directories.
Click to hide internal directories.