Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

using Android Google Maps API to display a Heat Map layer

I am doing a project in Android, where I have given a list of Geography Points (lat, lng) and each point has an associated Altitude(height) value with it.

My task is to create a Heat Map of the given map with varying colors depending on the points altitude value.

Does someone know of any existing library for doing the same. Or, it would also be very helpful to me if anyone can give pointers on how it cam be implemented. My only constraint is that it should work in Android.

Thanks in advance.

like image 867
kanap008 Avatar asked Mar 28 '12 07:03

kanap008


People also ask

Can you make a heat map with Google My Maps?

Creating a heatmap Go to a map tab, or use [+] Add map to add one. If the map configuration panel isn't showing, click Tools > Change map. Click on the Heatmap item to the left of the map.

How do I use Google heatmap?

Click on customization in the custom menu on the right side of your page. Then, click on the new report and write the title of your report, such as Heatmap. Now add the metrics you want to measure, and add the days and week names and hours in the dimensions section.

How do you represent a heat map?

A heatmap (aka heat map) depicts values for a main variable of interest across two axis variables as a grid of colored squares. The axis variables are divided into ranges like a bar chart or histogram, and each cell's color indicates the value of the main variable in the corresponding cell range.


2 Answers

mapex, for example. Or this post.

like image 133
a.ch. Avatar answered Nov 14 '22 22:11

a.ch.


The question is old but Google launched recently the new Google Maps Android API Utility Library allowing to create easily heatmaps. Take a look the BlogPost and the Google Maps V2 documentation.

Also, the source code can be found on GitHub with some sample code available.

like image 41
mlabraca Avatar answered Nov 14 '22 23:11

mlabraca