using Android Google Maps API to display a Heat Ma

2020-05-28 10:21发布

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.

2条回答
Luminary・发光体
2楼-- · 2020-05-28 11:01

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.

查看更多
虎瘦雄心在
3楼-- · 2020-05-28 11:06

mapex, for example. Or this post.

查看更多
登录 后发表回答