android - Heatmap Overlay with weighted sum of latlng? -


how apply heatmap overlay in android specific colors specific values. weighted sum appears same individual heatmap spot?

how apply heatmap overlay in android specific colors specific values

in android heatmap docs, can set own colors heatmap using setgradient();

here's sample of customizing heatmaps:

// create gradient. int[] colors = {     color.rgb(102, 225, 0), // green     color.rgb(255, 0, 0)    // red };  float[] startpoints = {     0.2f, 1f };  gradient gradient = new gradient(colors, startpoints);  // create tile provider. mprovider = new heatmaptileprovider.builder()      .data(mlist)      .gradient(gradient)      .build();  // add tile overlay map. moverlay = mmap.addtileoverlay(new tileoverlayoptions().tileprovider(mprovider)); 

Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

mongodb - Multiple $and with multiple $or in $match mongoose -

Teradata TPT_INFRA: TPT02640: Error: Conflicting column count -