JavaScript library for drawing the yield maps
The JavaScript library for drawing crop maps. This is modified JavaScript code by Leaflet.heat, but for displaying the map of yelds.
It's built as a Leaflet plugin.
Latest version of the library in the src
directory
<script src='http://gisfile.com/js/leaflet.crop.js'></script> ... var crop = L.cropLayer([[x,y,value], ...], {gradient:[{range:value}, ...]}).addTo(map);
The gleaflet.crop.js
file does not includes the Leaflet library.
You will have to include the Leaflet yourself.