Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I have done some searching on Google, but haven't come up with much as of yet. I am wanting to take a set of point data, which I had previously been using to create weighted points for a heat map through the Google API, and turn them into a contour map to overlay on the Google Maps API. I haven't seen anything in Google's code that would let me do this. Does anyone know of a good API to create such an overlay? Or is there possibly something I have overlooked that Google offers?

share|improve this question
1  
Did you check on GIS SE? –  mhoran_psprep Jul 3 '12 at 23:21
    
I hadn't- I wasn't aware it existed. I'll give it a shot though, thanks. –  Crash Jul 5 '12 at 14:02
add comment

1 Answer

Let me see if I got this straight: You have something like this or this? And you want something like this or this or this? Feel free to browse through the sample gallery and let me know if anything from there (partially) matches your requirements. Anything should be doable with Google Maps, if you're willing to spend enough time understanding how to leverage the full power of their Javascript API (and some of its undocumented features).

share|improve this answer
    
That's not QUITE what I'm looking for- I'm looking for something more like this. I am trying to avoid the way the image changes with the zoom level in a heatmap- I want it to be slightly more static than that, and having set ranges like this map would be useful as the data is a bit too granular at high zoom levels- having solid bands of color would make the map more useful in this context. –  Crash Jul 16 '12 at 19:09
    
So, basically you want to disable zooming? Here ya' go: stackoverflow.com/questions/2330197/… :) Regarding the solid bands of color, I'm 100% sure that it can be done, but you'll have to do some research yourself into the matter. Maybe the experimental Fusion Tables developers.google.com/maps/documentation/javascript/… feature can help you achieve your goal. This example looks promising: google-developers.appspot.com/maps/documentation/javascript/… –  Mihai Todor Jul 16 '12 at 19:37
    
Also, look at the Fusion Table Heatmaps example here: developers.google.com/maps/documentation/javascript/examples/… If you decide to use this feature, make sure that you read its limitations first developers.google.com/maps/documentation/javascript/… –  Mihai Todor Jul 16 '12 at 19:38
    
disabling zoom won't solve my problem, as I have been unable to find any way to predict what the data's radius of influence is- basically, I have to do trial-and-error for each individual map, and there are thousands of possible maps. I have done some research on the issue, but I haven't found much in the way of APIs that will help make the contours- only massive algorithms for creating them (you wouldn't want to use them dynamically). I haven't looked much at the Fusion Table stuff yet though- I took a quick look, but I'll go over it more closely. Thanks for the suggestions! –  Crash Jul 17 '12 at 17:44
    
Well, yeah, in that case it can get a bit hairy, but, on the other hand, I think you can get Google to do the hard part for you. You should be able to extract kml data somehow and then reuse it in Fusion Tables. Unfortunately, I can't help you any more than this, because I'm not familiar enough with such functionality. Good luck finding a solution. –  Mihai Todor Jul 17 '12 at 18:47
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.