Currently whenever we have more than 200 images in view we display a pre-rendered google maps tile overlay that shows a heatmap of where the images are clustered. You can see an example here:
http://placesnap.com/snapmap.asp#Geo=[url removed, login to view],-120.4595947265625&Time=All&Zoom=8
The only problem with this method is that the images are pre-rendered. I would like a dynamic heatmap that can work with Markers to display heavily filtered results. The database may end up having millions of points of data, so the heatmap does not have to take every point into account. Just enough so that it looks good.
I want to get a limit of 2000 points in the current map view. Then break up the map into a honeycomb pattern of points. Do a radius search on each point and assign a different png marker (or no marker at all) depending on how many points are within the radius. I want to be able to modify the distance between points in the honeycomb, as well as the radius to seach for data.
Here is a mockup of what the heatmap should look like.
[url removed, login to view]
I will supply the different color pngs. For right now we should space the points 30 pixels apart.
The heatmap needs to be integrated into my current map script. I will supply all the needed ftp and script information.