Create a heat map layer using the google api v2 map for Android.

I want to make a heat map on an Android phone based on the signal strength in the area. I can get google map using android api v2 map. but I don’t understand how to draw a heat map on it. I went through using the Google Maps API to display the heat map layer , but the link to mapex didn't help here. Please, help

+5
source share
1 answer

It’s just a thought, but you thought about using the circles built into the V2 cards .. It may seem strange, but it can satisfy your needs ...

, , , , , , . , , . :

// Instantiates a new CircleOptions object and defines the center and radius
CircleOptions circleOptions = new CircleOptions()
    .center(new LatLng(37.4, -122.1))
    .radius(10)); // In meters
    .fillColor(0x1AFF0000)//90% transparent red
    .strokeColor(Color.TRANSPARENT)//dont show the border to the circle
// Get back the mutable Circle
Circle circle = myMap.addCircle(circleOptions);

, , 20, , , , , , , for . , , , -! ExampleMap

+1

All Articles