I want to generate heatmap images as overlay for Google Maps. I am searching for a PHP library which can take multiple dimensions into account when generating the image. Let's say i have 2 dimensions: density and quality. How could a heatmap be generated from this input?
Use fusionTable, refer to here for some sample PHP code.
If you want to generate heatmap layers over google maps you probably want to check out heatmap.js too, it's licensed under the MIT license. It works with the HTML5 Canvas element and JavaScript.
This is an old question, but if someone stumbles upon it you might want to check out Google's chart offerings: https://google-developers.appspot.com/chart/interactive/docs/gallery/geochart
来源:https://stackoverflow.com/questions/5441979/heatmap-generation-library-for-php