I am using mapbox as my base layer and would like to implement a functionality as shown in this gif below, where if i draw a polygon , it reads from my geotiff file and display NDVI data. I would like to color code pixels appropriately ranging from red to green based on NDVI value

Can someone point me to right direction please.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.