I have a trouble with displaying raster data on leaflet maps.
There is an float NxM array and RGB scale. I want to add new layer with the colorful tiles. I tried just to draw rectangles, but it's incredibly slow displaying. I noticed method L.GridLayer.extend()
, but I didn't find any examples of what I want (just simple grid with text of coords on each tile).
Can somebody give an example where the raster data displayed by this or any other method?
If you look at the list of Leaflet plugins, you'll see quite a few that do per-pixel raster manipulation, including:
<canvas>
and dumping its contents into the <img>
<canvas>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With