3 ms·
How are you precomputing the images? I thought GMaps provided a way to input data and get a heatmap, but apparently I'm mistaken.
by bkrausz 16y ago
How are you precomputing the images? I thought GMaps provided a way to input data and get a heatmap, but apparently I'm mistaken.
- ericd 16y agoI couldn't find anything to that effect, so I wrote custom scripts. Basically, it creates an image pixel by pixel, with the pixel value corresponding to the crime density of that chunk of the map, blows it up, smooths it with a Gaussian kernel, and then uses some GIS tools to warp it and chop it up into tiles for different zoom levels.
- dzuc 16y agoThey do if you're using Fusion Tables: http://code.google.com/apis/maps/documentation/javascript/overlays.html#FusionTablesHeatmaps http://code.google.com/apis/maps/documentation/javascript/ov...